ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryMinMaxCurvatureFlowImageFilter.h>
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.
itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::BinaryMinMaxCurvatureFlowImageFilter | ( | ) | [protected] |
End concept checking
itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::~BinaryMinMaxCurvatureFlowImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 119 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::BinaryMinMaxCurvatureFlowImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [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 const char* itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
virtual double itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::GetThreshold | ( | ) | const [virtual] |
Set/Get the threshold value.
virtual void itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::InitializeIteration | ( | ) | [protected, virtual] |
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 Pointer itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
void itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [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 >.
void itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
virtual void itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::SetThreshold | ( | double | _arg | ) | [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 > )
const unsigned int itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::ImageDimension = Superclass::ImageDimension [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.
double itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::m_Threshold [private] |
Definition at line 134 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.