18 #ifndef itkSegmentationLevelSetImageFilter_h
19 #define itkSegmentationLevelSetImageFilter_h
143 template<
typename TInputImage,
144 typename TFeatureImage,
145 typename TOutputPixelType =
float >
148 TInputImage::ImageDimension > >
189 itkWarningMacro(
"SetMaximumIterations is deprecated. Please use SetNumberOfIterations instead.");
196 itkWarningMacro(
"GetMaximumIterations is deprecated. Please use GetNumberOfIterations instead.");
253 <<
"SetUseNegativeFeaturesOn has been deprecated. Please use ReverseExpansionDirectionOn() instead");
261 <<
"SetUseNegativeFeaturesOff has been deprecated. Please use ReverseExpansionDirectionOff() instead");
269 itkWarningMacro(<<
"SetUseNegativeFeatures has been deprecated. Please use SetReverseExpansionDirection instead");
283 itkWarningMacro(<<
"GetUseNegativeFeatures has been deprecated. Please use GetReverseExpansionDirection() instead");
302 itkSetMacro(ReverseExpansionDirection,
bool);
303 itkGetConstMacro(ReverseExpansionDirection,
bool);
304 itkBooleanMacro(ReverseExpansionDirection);
312 itkSetMacro(AutoGenerateSpeedAdvection,
bool);
313 itkGetConstMacro(AutoGenerateSpeedAdvection,
bool);
314 itkBooleanMacro(AutoGenerateSpeedAdvection);
481 #ifdef ITK_USE_CONCEPT_CHECKING
492 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
520 void operator=(const
Self &) ITK_DELETE_FUNCTION;
526 #ifndef ITK_MANUAL_INSTANTIATION
527 #include "itkSegmentationLevelSetImageFilter.hxx"
static void SetMaximumCurvatureTimeStep(double n)
virtual void ReverseExpansionDirectionOff()
SmartPointer< const Self > ConstPointer
void SetSpeedImage(ImageType *s)
void SetMaximumPropagationTimeStep(double n)
void SetUseNegativeFeaturesOn()
Light weight base class for most itk classes.
double GetMaximumCurvatureTimeStep() const
virtual void SetReverseExpansionDirection(bool _arg)
SegmentationFunctionType * m_SegmentationFunction
SegmentationFunctionType::VectorImageType VectorImageType
virtual FeatureImageType * GetFeatureImage()
virtual void SetFeatureImage(const FeatureImageType *f)
ValueType GetAdvectionScaling() const
void UseMinimalCurvatureOff()
SegmentationLevelSetImageFilter Self
Superclass::ImageType ImageType
Superclass::IndexType IndexType
static double GetMaximumCurvatureTimeStep()
bool GetUseMinimalCurvature() const
double GetMaximumPropagationTimeStep() const
void SetAdvectionImage(VectorImageType *v)
Superclass::RadiusType RadiusType
virtual void ReverseExpansionDirectionOn()
SegmentationLevelSetFunction< OutputImageType, FeatureImageType > SegmentationFunctionType
OutputImageType::ValueType ValueType
void SetUseNegativeFeatures(bool u)
This class implements a finite difference partial differential equation solver for evolving surfaces ...
bool GetUseMinimalCurvature() const
SparseFieldLevelSetImageFilter< TInputImage, OutputImageType > Superclass
Superclass::InputImageType InputImageType
bool m_AutoGenerateSpeedAdvection
SmartPointer< Self > Pointer
void SetUseMinimalCurvature(bool b)
virtual void SetInput(const InputImageType *image)
void SetMaximumIterations(unsigned int i)
static double GetMaximumPropagationTimeStep()
void SetMaximumCurvatureTimeStep(double n)
bool m_ReverseExpansionDirection
virtual void InitializeIteration()
void SetAdvectionImage(VectorImageType *s)
virtual void SetPropagationWeight(const ScalarValueType p)
void SetPropagationScaling(ValueType v)
void GenerateData() override
void SetFeatureScaling(ValueType v)
ValueType GetPropagationScaling() const
virtual ~SegmentationLevelSetImageFilter()
virtual const IdentifierType & GetNumberOfIterations() const
virtual void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateAdvectionImage()
TFeatureImage FeatureImageType
OutputImageType::IndexType IndexType
Superclass::TimeStepType TimeStepType
void UpdateProgress(float progress)
Update the progress of the process object.
virtual void SetSegmentationFunction(SegmentationFunctionType *s)
Image< TOutputPixelType, itkGetStaticConstMacro(InputImageDimension) > OutputImageType
virtual void SetNumberOfIterations(IdentifierType _arg)
virtual const SpeedImageType * GetSpeedImage() const
SegmentationFunctionType::ImageType SpeedImageType
virtual void SetDifferenceFunction(FiniteDifferenceFunctionType *_arg)
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
virtual void Modified() const
virtual SegmentationFunctionType * GetSegmentationFunction()
void SetSpeedImage(SpeedImageType *s)
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
virtual ImageType * GetSpeedImage()
Superclass::TimeStepType TimeStepType
virtual void SetFeatureImage(const FeatureImageType *f)
virtual void InitializeIteration() override
void SetAdvectionScaling(ValueType v)
Superclass::ValueType ValueType
virtual void SetInitialImage(InputImageType *f)
void GenerateSpeedImage()
Control indentation during Print() invocation.
bool GetUseNegativeFeatures() const
ScalarValueType GetAdvectionWeight() const
ValueType GetCurvatureScaling() const
unsigned int GetMaximumIterations()
virtual void Initialize(const RadiusType &r) override
void SetUseNegativeFeaturesOff()
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
TInputImage InputImageType
virtual void SetCurvatureWeight(const ScalarValueType c)
virtual void SetAdvectionWeight(const ScalarValueType a)
virtual VectorImageType * GetAdvectionImage() const
virtual const IdentifierType & GetElapsedIterations() const
ScalarValueType GetCurvatureWeight() const
#define itkConceptMacro(name, concept)
virtual const VectorImageType * GetAdvectionImage() const
static void SetMaximumPropagationTimeStep(double n)
void SetInput2(const FeatureImageType *input)
void SetUseMinimalCurvature(bool b)
A base class which defines the API for implementing a special class of image segmentation filters usi...
Templated n-dimensional image class.
ScalarValueType GetPropagationWeight() const
SegmentationLevelSetImageFilter()
void SetCurvatureScaling(ValueType v)
void UseMinimalCurvatureOn()