ITK
4.13.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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = OutputImageType::ImageDimension |
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 const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
double | m_Threshold |
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 |
Definition at line 84 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::FiniteDifferenceFunctionType |
Inherit typedefs from Superclass.
Definition at line 90 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef Superclass::OutputImageType itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 94 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef SmartPointer< Self > itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 83 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef BinaryMinMaxCurvatureFlowImageFilter itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 81 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
typedef MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 82 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 120 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
|
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::Object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the threshold value.
|
overrideprotectedvirtual |
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.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the threshold value.
|
static |
Dimensionality of input and output data is assumed to be the same. It is inherited from the superclass.
Definition at line 101 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.
|
private |
Definition at line 128 of file itkBinaryMinMaxCurvatureFlowImageFilter.h.