18 #ifndef itkShapePriorSegmentationLevelSetImageFilter_h
19 #define itkShapePriorSegmentationLevelSetImageFilter_h
72 template<
typename TInputImage,
73 typename TFeatureImage,
74 typename TOutputPixelType =
float >
82 itkStaticConstMacro(ImageDimension,
unsigned int,
83 TInputImage::ImageDimension);
96 typedef typename Superclass::ValueType
ValueType;
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 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
183 virtual void InitializeIteration() ITK_OVERRIDE;
187 void GenerateData() ITK_OVERRIDE;
190 void ExtractActiveRegion(NodeContainerType *ptr);
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "itkShapePriorSegmentationLevelSetImageFilter.hxx"
ValueType GetShapePriorScaling() const
virtual ~ShapePriorSegmentationLevelSetImageFilter() override
Superclass::ParametersType ParametersType
CostFunctionType::ParametersType ParametersType
This class is a base for the Optimization methods that optimize a single valued function.
Superclass::OutputImageType OutputImageType
Superclass::FeatureImageType FeatureImageType
ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType > ShapePriorSegmentationFunctionType
CostFunctionType::NodeType NodeType
ShapeFunctionType::Pointer ShapeFunctionPointer
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.
ShapePriorMAPCostFunctionBase< TFeatureImage, TOutputPixelType > CostFunctionType
void SetShapePriorScaling(ValueType v)
ShapePriorSegmentationLevelSetImageFilter Self
OptimizerType::Pointer OptimizerPointer
Represent a node in a level set.
SmartPointer< const Self > ConstPointer
TFeatureImage FeatureImageType
Generic representation for an optimization method.
CostFunctionType::NodeContainerType NodeContainerType
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Represents the base class of maximum aprior (MAP) cost function used ShapePriorSegmentationLevelSetIm...
Superclass::ValueType ValueType
SingleValuedNonLinearOptimizer OptimizerType
TOutputPixelType OutputPixelType
Superclass::ValueType ValueType
NodeContainerType::Pointer NodeContainerPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
virtual ShapePriorSegmentationFunctionType * GetShapePriorSegmentationFunction()
Control indentation during Print() invocation.
ShapePriorSegmentationFunctionType::ShapeFunctionType ShapeFunctionType
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass
SmartPointer< Self > Pointer
A base class which defines the API for implementing a special class of image segmentation filters usi...
Templated n-dimensional image class.
CostFunctionType::Pointer CostFunctionPointer
A base class which defines the API for implementing a level set segmentation filter with statistical ...