|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Applies iterative total variation (TV) denoising to an image. More...
#include <itkTotalVariationDenoisingImageFilter.h>


Public Types | |
| typedef TInputImage | InputImageType |
| typedef TOutputImage | OutputImageType |
| typedef TotalVariationDenoisingImageFilter | Self |
| typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef InputImageType::PixelType | InputPixelType |
| typedef OutputImageType::PixelType | OutputPixelType |
| typedef InputImageType::RegionType | InputImageRegionType |
| typedef OutputImageType::RegionType | OutputImageRegionType |
| typedef InputImageType::SizeType | InputSizeType |
| typedef TotalVariationSingleIterationImageFilter< TOutputImage, TOutputImage > | SingleIterationFilterType |
| typedef itk::CastImageFilter< TInputImage, TOutputImage > | CastType |
Public Member Functions | |
| itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
| itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
| Pointer | Clone () const |
| virtual const char * | GetClassName () const |
| virtual void | SetLambda (double _arg) |
| Set/Get the regularization parameter Lambda. More... | |
| virtual double | GetLambda () |
| virtual void | SetNumberIterations (int _arg) |
| Set/Get the number of denoising iterations. More... | |
| virtual int | GetNumberIterations () |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| TotalVariationDenoisingImageFilter () | |
| ~TotalVariationDenoisingImageFilter () override | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| void | GenerateData () override |
Protected Attributes | |
| double | m_Lambda |
| int | m_NumberIterations |
Applies iterative total variation (TV) denoising to an image.
This filter performs image denoising by minimizing the total variation of the image. It iteratively applies TotalVariationSingleIterationImageFilter, which performs a weighted averaging step that balances fidelity to the original image against smoothness. The trade-off is controlled by the Lambda parameter.
Higher Lambda values favor fidelity to the original image (less smoothing), while lower Lambda values favor smoothness (more denoising). The number of iterations controls how many denoising steps are performed.
Default values: Lambda = 1.0, NumberIterations = 0.
Reference: Tony F. Chan et al., The digital TV filter and nonlinear denoising
| TInputImage | The type of the input image. |
| TOutputImage | The type of the output image. |
Definition at line 51 of file itkTotalVariationDenoisingImageFilter.h.
| typedef itk::CastImageFilter<TInputImage, TOutputImage> itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::CastType |
Cast filter type used to convert input to output pixel type.
Definition at line 88 of file itkTotalVariationDenoisingImageFilter.h.
| typedef SmartPointer<const Self> itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 66 of file itkTotalVariationDenoisingImageFilter.h.
| typedef InputImageType::RegionType itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 79 of file itkTotalVariationDenoisingImageFilter.h.
| typedef TInputImage itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 59 of file itkTotalVariationDenoisingImageFilter.h.
| typedef InputImageType::PixelType itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Definition at line 76 of file itkTotalVariationDenoisingImageFilter.h.
| typedef InputImageType::SizeType itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 82 of file itkTotalVariationDenoisingImageFilter.h.
| typedef OutputImageType::RegionType itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 80 of file itkTotalVariationDenoisingImageFilter.h.
| typedef TOutputImage itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 60 of file itkTotalVariationDenoisingImageFilter.h.
| typedef OutputImageType::PixelType itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 77 of file itkTotalVariationDenoisingImageFilter.h.
| typedef SmartPointer<Self> itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 65 of file itkTotalVariationDenoisingImageFilter.h.
| typedef TotalVariationDenoisingImageFilter itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 63 of file itkTotalVariationDenoisingImageFilter.h.
| typedef TotalVariationSingleIterationImageFilter<TOutputImage, TOutputImage> itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::SingleIterationFilterType |
Type of the single-iteration sub-filter used internally.
Definition at line 85 of file itkTotalVariationDenoisingImageFilter.h.
| typedef ImageToImageFilter<InputImageType, OutputImageType> itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 64 of file itkTotalVariationDenoisingImageFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 112 of file itkTotalVariationDenoisingImageFilter.h.
| Pointer itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::Clone | ( | ) | const |
|
overrideprotected |
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
| itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
| unsigned int | , | ||
| TInputImage::ImageDimension | |||
| ) |
Extract dimension from input and output image.
| itk::TotalVariationDenoisingImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
| unsigned int | , | ||
| TOutputImage::ImageDimension | |||
| ) |
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
virtual |
Set/Get the regularization parameter Lambda.
Lambda controls the trade-off between fidelity to the original image and smoothness. Higher values preserve more detail; lower values produce stronger denoising. Default is 1.0.
|
virtual |
Set/Get the number of denoising iterations.
Each iteration applies one pass of the total variation single-iteration filter. More iterations yield stronger denoising. Default is 0 (no denoising).
|
protected |
Definition at line 117 of file itkTotalVariationDenoisingImageFilter.h.
|
protected |
Definition at line 119 of file itkTotalVariationDenoisingImageFilter.h.