ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryMinMaxCurvatureFlowImageFilter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
typedef (Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType >) InputConvertibleToOutputCheck | |
virtual void | SetThreshold (double _arg) |
virtual double | GetThreshold () const |
Public Member Functions inherited from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > | |
typedef (Concept::Convertible< unsigned long, typename TOutputImage::PixelType >) UnsignedLongConvertibleToOutputCheck | |
typedef (Concept::LessThanComparable< typename TOutputImage::PixelType >) OutputLessThanComparableCheck | |
typedef (Concept::Convertible< long, typename TOutputImage::PixelType >) LongConvertibleToOutputCheck | |
typedef (Concept::Comparable< typename TOutputImage::PixelType, double >) OutputDoubleComparableCheck | |
typedef (Concept::MultiplyAndAssignOperator< typename TOutputImage::PixelType, double >) OutputDoubleMultiplyAndAssignOperatorCheck | |
typedef (Concept::GreaterThanComparable< typename TOutputImage::PixelType, unsigned long >) OutputGreaterThanUnsignedLongCheck | |
typedef (Concept::AdditiveOperators< unsigned long, typename TOutputImage::PixelType >) UnsignedLongOutputAditiveOperatorsCheck | |
virtual void | SetStencilRadius (RadiusValueType _arg) |
virtual RadiusValueType | GetStencilRadius () const |
Public Member Functions inherited from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage > | |
virtual TimeStepType | GetTimeStep () const |
virtual void | SetTimeStep (TimeStepType _arg) |
typedef (Concept::Convertible< double, PixelType >) DoubleConvertibleToOutputCheck | |
typedef (Concept::Convertible< PixelType, double >) OutputConvertibleToDoubleCheck | |
typedef (Concept::DivisionOperators< PixelType >) OutputDivisionOperatorsCheck | |
typedef (Concept::MultiplyOperator< double, PixelType, PixelType >) DoubleOutputMultiplyOperatorCheck | |
typedef (Concept::MultiplyOperator< int, PixelType, PixelType >) IntOutputMultiplyOperatorCheck | |
typedef (Concept::LessThanComparable< PixelType, double >) OutputLessThanDoubleCheck | |
typedef (Concept::AdditiveOperators< PixelType, double >) OutputDoubleAdditiveOperatorsCheck | |
Public Member Functions inherited from itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
typedef (Concept::MultiplyOperator< PixelType, double >) OutputTimesDoubleCheck | |
typedef (Concept::AdditiveOperators< PixelType >) OutputAdditiveOperatorsCheck | |
typedef (Concept::AdditiveAndAssignOperators< PixelType >) OutputAdditiveAndAssignOperatorsCheck | |
typedef (Concept::Convertible< typename TInputImage::PixelType, PixelType >) InputConvertibleToOutputCheck | |
Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
virtual const FiniteDifferenceFunctionType::Pointer & | GetDifferenceFunction () const |
virtual const IdentifierType & | GetElapsedIterations () |
virtual bool | GetIsInitialized () |
virtual void | SetDifferenceFunction (FiniteDifferenceFunctionType *_arg) |
virtual void | SetIsInitialized (bool _arg) |
void | SetStateToInitialized () |
void | SetStateToUninitialized () |
virtual void | SetNumberOfIterations (IdentifierType _arg) |
virtual const IdentifierType & | GetNumberOfIterations () |
virtual void | SetUseImageSpacing (bool _arg) |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
virtual const bool & | GetUseImageSpacing () |
virtual void | SetMaximumRMSError (double _arg) |
virtual const double & | GetMaximumRMSError () |
virtual void | SetRMSChange (double _arg) |
virtual const double & | GetRMSChange () |
virtual void | SetManualReinitialization (bool _arg) |
virtual const bool & | GetManualReinitialization () |
virtual void | ManualReinitializationOn () |
virtual void | ManualReinitializationOff () |
Public Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
virtual bool | CanRunInPlace () const |
virtual void | SetInPlace (bool _arg) |
virtual bool | GetInPlace () const |
virtual void | InPlaceOn () |
virtual void | InPlaceOff () |
Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
const InputImageType * | GetInput (void) const |
const InputImageType * | GetInput (unsigned int idx) const |
virtual void | PopBackInput () |
virtual void | PopFrontInput () |
virtual void | PushBackInput (const InputImageType *image) |
virtual void | PushFrontInput (const InputImageType *image) |
virtual void | SetInput (const InputImageType *image) |
virtual void | SetInput (unsigned int, const TInputImage *image) |
Public Member Functions inherited from itk::ImageSource< TOutputImage > | |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput (void) |
const OutputImageType * | GetOutput (void) const |
virtual ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) |
Public Member Functions inherited from itk::ProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () |
NameArray | GetInputNames () const |
MultiThreader * | GetMultiThreader () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
virtual const float & | GetProgress () |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
virtual void | PrepareOutputs () |
virtual void | PropagateRequestedRegion (DataObject *output) |
virtual void | ResetPipeline () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | SetProgress (float _arg) |
virtual void | Update () |
virtual void | UpdateLargestPossibleRegion () |
virtual void | UpdateOutputData (DataObject *output) |
virtual void | UpdateOutputInformation () |
void | UpdateProgress (float amount) |
DataObjectPointerArray | GetInputs () |
DataObjectPointerArray | GetOutputs () |
DataObjectPointerArray | GetIndexedInputs () |
DataObjectPointerArray | GetIndexedOutputs () |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
virtual void | SetReleaseDataFlag (bool flag) |
virtual bool | GetReleaseDataFlag () const |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
virtual const bool & | GetReleaseDataBeforeUpdateFlag () |
virtual void | ReleaseDataBeforeUpdateFlagOn () |
virtual void | ReleaseDataBeforeUpdateFlagOff () |
virtual void | SetNumberOfThreads (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfThreads () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
BinaryMinMaxCurvatureFlowImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
double | m_Threshold |
Denoise a binary image using min/max curvature flow.
BinaryMinMaxCurvatureFlowImageFilter implements a curvature driven image denosing algorithm. This filter assumes that the image is essentially binary: consisting of two classes. Iso-brightness contours in the input image are viewed as a level set. The level set is then evolved using a curvature-based speed function:
where if is less than or equal to and , otherwise. is the mean curvature of the iso-brightness contour at point .
In min/max curvature flow, movement is turned on or off depending on the scale of the noise one wants to remove. Switching depends on the average image value of a region of radius around each point. The choice of , the stencil radius, governs the scale of the noise to be removed.
The threshold value is a user specified value which discriminates between the two pixel classes.
This filter make use of the multi-threaded finite difference solver hierarchy. Updates are computed using a BinaryMinMaxCurvatureFlowFunction object. A zero flux Neumann boundary condition is used when computing derivatives near the data boundary.
Reference: "Level Set Methods and Fast Marching Methods", J.A. Sethian, Cambridge Press, Chapter 16, Second edition, 1999.
Definition at line 76 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef BinaryMinMaxCurvatureFlowFunction< OutputImageType > itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::BinaryMinMaxCurvatureFlowFunctionType |
BinaryMinMaxCurvatureFlowFunction type.
Definition at line 97 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef SmartPointer< const Self > itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 84 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::FiniteDifferenceFunctionType |
Inherit typedefs from Superclass.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 90 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef Superclass::OutputImageType itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::OutputImageType |
OutputImage type.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 94 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef SmartPointer< Self > itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 83 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef BinaryMinMaxCurvatureFlowImageFilter itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 81 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 82 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
|
protected |
End concept checking
|
inlineprotected |
End concept checking
Definition at line 119 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the threshold value.
|
protectedvirtual |
Initialize the state of filter and equation before each iteration. Progress feeback is implemented as part of this method.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the threshold value.
itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType > | ) |
Begin concept checking This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType > )
|
static |
Dimensionality of input and output data is assumed to be the same. It is inherited from the superclass.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
Definition at line 101 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
|
private |
Definition at line 134 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.