ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkMinMaxCurvatureFlowImageFilter.h>
Denoise an image using min/max curvature flow.
MinMaxCurvatureFlowImageFilter implements a curvature driven image denoising algorithm. Iso-brightness contours in the grayscale 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 the average intensity obtained in the direction perpendicular to the gradient at point at the extrema of the local neighborhood.
This filter make use of the multi-threaded finite difference solver hierarchy. Updates are computed using a MinMaxCurvatureFlowFunction 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 77 of file itkMinMaxCurvatureFlowImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
using | MinMaxCurvatureFlowFunctionType = MinMaxCurvatureFlowFunction< OutputImageType > |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | RadiusType = typename FiniteDifferenceFunctionType::RadiusType |
using | RadiusValueType = typename RadiusType::SizeValueType |
using | Self = MinMaxCurvatureFlowImageFilter |
using | Superclass = CurvatureFlowImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | CurvatureFlowFunctionType = CurvatureFlowFunction< OutputImageType > |
using | FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
using | InputImageType = typename Superclass::InputImageType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageType = typename Superclass::OutputImageType |
using | PixelType = typename Superclass::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = CurvatureFlowImageFilter |
using | Superclass = DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > |
using | TimeStepType = typename Superclass::TimeStepType |
Public Types inherited from itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
using | InputImageType = typename Superclass::InputImageType |
using | OutputImageType = typename Superclass::OutputImageType |
using | PixelType = typename Superclass::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = DenseFiniteDifferenceImageFilter |
using | Superclass = FiniteDifferenceImageFilter< TInputImage, TOutputImage > |
using | TimeStepType = typename Superclass::TimeStepType |
using | UpdateBufferType = OutputImageType |
Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | FiniteDifferenceFunctionType = FiniteDifferenceFunction< TOutputImage > |
using | InputImageType = TInputImage |
using | InputPixelType = typename TInputImage::PixelType |
using | InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType |
using | NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType |
using | PixelType = OutputPixelType |
using | Pointer = SmartPointer< Self > |
using | RadiusType = typename FiniteDifferenceFunctionType::RadiusType |
using | Self = FiniteDifferenceImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
using | TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
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 constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | ImageDimension = OutputImageType::ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
RadiusValueType | m_StencilRadius |
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 87 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType |
Inherit type alias from Superclass.
Definition at line 96 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::MinMaxCurvatureFlowFunctionType = MinMaxCurvatureFlowFunction<OutputImageType> |
MinMaxCurvatureFlowFunction type.
Definition at line 100 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::OutputImageType = typename Superclass::OutputImageType |
Definition at line 97 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer< Self > |
Definition at line 86 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::RadiusType = typename FiniteDifferenceFunctionType::RadiusType |
Typedef support for the neighbour radius.
Definition at line 107 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::RadiusValueType = typename RadiusType::SizeValueType |
Definition at line 108 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Self = MinMaxCurvatureFlowImageFilter |
Standard class type aliases.
Definition at line 84 of file itkMinMaxCurvatureFlowImageFilter.h.
using itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >::Superclass = CurvatureFlowImageFilter< TInputImage, TOutputImage > |
Definition at line 85 of file itkMinMaxCurvatureFlowImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
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::CurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the stencil radius.
|
overrideprotectedvirtual |
Initialize the state of filter and equation before each iteration. Progress feeback is implemented as part of this method.
Reimplemented from itk::CurvatureFlowImageFilter< 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::CurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the stencil radius.
|
static |
Dimensionality of input and output data is assumed to be the same. It is inherited from the superclass.
Definition at line 104 of file itkMinMaxCurvatureFlowImageFilter.h.
|
private |
Definition at line 147 of file itkMinMaxCurvatureFlowImageFilter.h.