18 #ifndef __itkSegmentationLevelSetImageFilter_h
19 #define __itkSegmentationLevelSetImageFilter_h
142 template<
typename TInputImage,
143 typename TFeatureImage,
144 typename TOutputPixelType =
float >
147 TInputImage::ImageDimension > >
188 itkWarningMacro(
"SetMaximumIterations is deprecated. Please use SetNumberOfIterations instead.");
195 itkWarningMacro(
"GetMaximumIterations is deprecated. Please use GetNumberOfIterations instead.");
252 <<
"SetUseNegativeFeaturesOn has been deprecated. Please use ReverseExpansionDirectionOn() instead");
260 <<
"SetUseNegativeFeaturesOff has been deprecated. Please use ReverseExpansionDirectionOff() instead");
268 itkWarningMacro(<<
"SetUseNegativeFeatures has been deprecated. Please use SetReverseExpansionDirection instead");
282 itkWarningMacro(<<
"GetUseNegativeFeatures has been deprecated. Please use GetReverseExpansionDirection() instead");
301 itkSetMacro(ReverseExpansionDirection,
bool);
302 itkGetConstMacro(ReverseExpansionDirection,
bool);
303 itkBooleanMacro(ReverseExpansionDirection);
311 itkSetMacro(AutoGenerateSpeedAdvection,
bool);
312 itkGetConstMacro(AutoGenerateSpeedAdvection,
bool);
313 itkBooleanMacro(AutoGenerateSpeedAdvection);
480 #ifdef ITK_USE_CONCEPT_CHECKING
525 #ifndef ITK_MANUAL_INSTANTIATION
526 #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.
void operator=(const Self &)
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)
virtual void InitializeIteration()
void SetFeatureScaling(ValueType v)
ValueType GetPropagationScaling() const
virtual ~SegmentationLevelSetImageFilter()
virtual const IdentifierType & GetNumberOfIterations() const
void GenerateAdvectionImage()
TFeatureImage FeatureImageType
OutputImageType::IndexType IndexType
Superclass::TimeStepType TimeStepType
void UpdateProgress(float progress)
virtual void SetSegmentationFunction(SegmentationFunctionType *s)
virtual void Initialize(const RadiusType &r)
Image< TOutputPixelType, itkGetStaticConstMacro(InputImageDimension) > OutputImageType
virtual void SetNumberOfIterations(IdentifierType _arg)
virtual const SpeedImageType * GetSpeedImage() const
SegmentationFunctionType::ImageType SpeedImageType
virtual void SetDifferenceFunction(FiniteDifferenceFunctionType *_arg)
virtual void Modified() const
virtual SegmentationFunctionType * GetSegmentationFunction()
void SetSpeedImage(SpeedImageType *s)
DataObject * GetInput(const DataObjectIdentifierType &key)
virtual ImageType * GetSpeedImage()
Superclass::TimeStepType TimeStepType
virtual void SetFeatureImage(const FeatureImageType *f)
void SetAdvectionScaling(ValueType v)
virtual void PrintSelf(std::ostream &os, Indent indent) const
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()
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()