18 #ifndef __itkNarrowBandLevelSetImageFilter_h
19 #define __itkNarrowBandLevelSetImageFilter_h
142 template<
typename TInputImage,
143 typename TFeatureImage,
144 typename TOutputPixelType = float,
145 typename TOutputImage = Image< TOutputPixelType,
146 TInputImage::ImageDimension > >
211 <<
"SetUseNegativeFeaturesOn has been deprecated. Please use ReverseExpansionDirectionOn() instead");
219 <<
"SetUseNegativeFeaturesOff has been deprecated. Please use ReverseExpansionDirectionOff() instead");
227 itkWarningMacro(<<
"SetUseNegativeFeatures has been deprecated. Please use SetReverseExpansionDirection instead");
241 itkWarningMacro(<<
"GetUseNegativeFeatures has been deprecated. Please use GetReverseExpansionDirection() instead");
260 itkSetMacro(ReverseExpansionDirection,
bool);
261 itkGetConstMacro(ReverseExpansionDirection,
bool);
262 itkBooleanMacro(ReverseExpansionDirection);
343 itkWarningMacro(
"SetMaximumIterations is deprecated. Please use SetNumberOfIterations instead.");
350 itkWarningMacro(
"GetMaximumIterations is deprecated. Please use GetNumberOfIterations instead.");
357 "The current implmentation of this solver does not compute maximum RMS change. The maximum RMS error value will not be set or used.");
360 #ifdef ITK_USE_CONCEPT_CHECKING
416 #ifndef ITK_MANUAL_INSTANTIATION
417 #include "itkNarrowBandLevelSetImageFilter.hxx"
virtual FeatureImageType * GetFeatureImage()
Superclass::InputImageType InputImageType
IsoContourDistanceImageFilter< OutputImageType, OutputImageType > IsoFilterType
SmartPointer< const Self > ConstPointer
virtual const SegmentationFunctionType::VectorImageType * GetAdvectionImage() const
void operator=(const Self &)
void SetCurvatureScaling(ValueType v)
virtual void SetInitialImage(InputImageType *f)
virtual void ReverseExpansionDirectionOn()
virtual void SetSegmentationFunction(SegmentationFunctionType *s)
virtual void InitializeIteration()
Superclass::ImageType ImageType
FastChamferDistanceImageFilter< OutputImageType, OutputImageType > ChamferFilterType
OutputImageType::IndexType IndexType
ValueType GetCurvatureScaling() const
Superclass::TimeStepType TimeStepType
Compute an approximate distance from an interpolated isocontour to the close grid points...
Superclass::InputImageType InputImageType
SegmentationFunctionType::VectorImageType VectorImageType
SegmentationLevelSetFunction< OutputImageType, FeatureImageType > SegmentationFunctionType
virtual const SegmentationFunctionType::ImageType * GetSpeedImage() const
void SetAdvectionScaling(ValueType v)
This class compute the signed (positive and negative) chamfer distance in a narrow band...
void SetUseNegativeFeaturesOn()
ChamferFilterType::Pointer m_ChamferFilter
void SetPropagationScaling(ValueType v)
NarrowBandLevelSetImageFilter()
virtual void SetMaximumRMSError(const double)
virtual void SetInput(const InputImageType *image)
virtual void SetPropagationWeight(const ScalarValueType p)
virtual bool GetReverseExpansionDirection() const
ValueType GetPropagationScaling() const
NarrowBandImageFilterBase< TInputImage, TOutputImage > Superclass
TInputImage InputImageType
TOutputImage OutputImageType
virtual const IdentifierType & GetNumberOfIterations() const
IsoFilterType::Pointer m_IsoFilter
unsigned int GetMaximumIterations()
void UpdateProgress(float progress)
NarrowBandLevelSetImageFilter Self
void SetFeatureScaling(ValueType v)
virtual void SetNumberOfIterations(IdentifierType _arg)
Superclass::IndexType IndexType
Superclass::ValueType ValueType
virtual void InitializeIteration()
DataObject * GetInput(const DataObjectIdentifierType &key)
virtual ImageType * GetSpeedImage()
virtual void ReverseExpansionDirectionOff()
virtual void SetFeatureImage(const FeatureImageType *f)
virtual void SetFeatureImage(const FeatureImageType *f)
This class implements a multi-threaded finite difference image to image solver that can be applied to...
virtual void SetReverseExpansionDirection(bool _arg)
virtual ~NarrowBandLevelSetImageFilter()
bool m_ReverseExpansionDirection
void SetUseNegativeFeatures(bool u)
bool GetUseNegativeFeatures() const
ValueType GetAdvectionScaling() const
A base class which defines the API for implementing a special class of image segmentation filters usi...
Control indentation during Print() invocation.
SegmentationFunctionType * m_SegmentationFunction
virtual void PrintSelf(std::ostream &os, Indent indent) const
ScalarValueType GetAdvectionWeight() const
void SetUseNegativeFeaturesOff()
Superclass::TimeStepType TimeStepType
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetCurvatureWeight(const ScalarValueType c)
virtual void SetAdvectionWeight(const ScalarValueType a)
virtual VectorImageType * GetAdvectionImage() const
virtual void CreateNarrowBand()
OutputImageType::ValueType ValueType
virtual const IdentifierType & GetElapsedIterations() const
ScalarValueType GetCurvatureWeight() const
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
TFeatureImage FeatureImageType
Templated n-dimensional image class.
ScalarValueType GetPropagationWeight() const
void SetMaximumIterations(unsigned int i)
virtual SegmentationFunctionType * GetSegmentationFunction()