18 #ifndef itkShapePriorSegmentationLevelSetImageFilter_h
19 #define itkShapePriorSegmentationLevelSetImageFilter_h
72 template<
typename TInputImage,
73 typename TFeatureImage,
74 typename TOutputPixelType =
float >
83 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
154 m_ShapePriorSegmentationFunction->SetShapePriorWeight(v);
162 return m_ShapePriorSegmentationFunction->GetShapePriorWeight();
167 virtual void SetShapePriorSegmentationFunction(ShapePriorSegmentationFunctionType *s);
170 {
return m_ShapePriorSegmentationFunction; }
173 itkGetConstReferenceMacro(CurrentParameters, ParametersType);
179 void PrintSelf(std::ostream & os,
Indent indent)
const override;
183 void InitializeIteration()
override;
187 void GenerateData()
override;
190 void ExtractActiveRegion(NodeContainerType *ptr);
203 #ifndef ITK_MANUAL_INSTANTIATION
204 #include "itkShapePriorSegmentationLevelSetImageFilter.hxx"
ValueType GetShapePriorScaling() const
Light weight base class for most itk classes.
typename OptimizerType::Pointer OptimizerPointer
ShapePriorSegmentationFunctionType * m_ShapePriorSegmentationFunction
TFeatureImage FeatureImageType
ParametersType m_InitialParameters
This class is a base for the Optimization methods that optimize a single valued function.
typename Superclass::ParametersType ParametersType
ParametersType m_CurrentParameters
This function is used in ShapePriorSegmentationLevelSetFilter to segment structures in an image based...
Base class for functions which evaluates the signed distance from a shape.
void SetShapePriorScaling(ValueType v)
typename NodeContainerType::Pointer NodeContainerPointer
Represent a node in a level set.
typename CostFunctionType::NodeType NodeType
CostFunctionPointer m_CostFunction
Generic representation for an optimization method.
typename CostFunctionType::NodeContainerType NodeContainerType
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Represents the base class of maximum aprior (MAP) cost function used ShapePriorSegmentationLevelSetIm...
typename ShapeFunctionType::Pointer ShapeFunctionPointer
OptimizerPointer m_Optimizer
TOutputPixelType OutputPixelType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
virtual ShapePriorSegmentationFunctionType * GetShapePriorSegmentationFunction()
Control indentation during Print() invocation.
typename CostFunctionType::ParametersType ParametersType
typename ShapePriorSegmentationFunctionType::ShapeFunctionType ShapeFunctionType
A base class which defines the API for implementing a special class of image segmentation filters usi...
Templated n-dimensional image class.
ShapeFunctionPointer m_ShapeFunction
typename CostFunctionType::Pointer CostFunctionPointer
A base class which defines the API for implementing a level set segmentation filter with statistical ...
typename Superclass::ValueType ValueType