Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Applies a total variation denoising filter to an image. More...
#include <itkTotalVariationSingleIterationImageFilter.h>
Public Types | |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef itk::Image< float, InputImageDimension > | LocalVariationImageType |
typedef TotalVariationSingleIterationImageFilter | 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 |
Public Member Functions | |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
Pointer | Clone () const |
virtual const char * | GetClassName () const |
void | GenerateInputRequestedRegion () override |
virtual void | SetLambda (double _arg) |
virtual double | GetLambda () |
void | SetOriginalImage (InputImageType *in) |
InputImageType::Pointer | GetOriginialImage () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
TotalVariationSingleIterationImageFilter () | |
~TotalVariationSingleIterationImageFilter () override | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override |
void | BeforeThreadedGenerateData () override |
Protected Attributes | |
LocalVariationImageType::Pointer | m_LocalVariation |
InputImageType::Pointer | m_OriginalImage |
double | m_Lambda |
Applies a total variation denoising filter to an image.
Reference: Tony F. Chan et al., The digital TV filter and nonlinear denoising
Definition at line 34 of file itkTotalVariationSingleIterationImageFilter.h.
typedef SmartPointer<const Self> itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 51 of file itkTotalVariationSingleIterationImageFilter.h.
typedef InputImageType::RegionType itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 64 of file itkTotalVariationSingleIterationImageFilter.h.
typedef TInputImage itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 42 of file itkTotalVariationSingleIterationImageFilter.h.
typedef InputImageType::PixelType itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Definition at line 58 of file itkTotalVariationSingleIterationImageFilter.h.
typedef InputImageType::SizeType itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 67 of file itkTotalVariationSingleIterationImageFilter.h.
typedef itk::Image<float, InputImageDimension> itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::LocalVariationImageType |
Definition at line 45 of file itkTotalVariationSingleIterationImageFilter.h.
typedef OutputImageType::RegionType itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 65 of file itkTotalVariationSingleIterationImageFilter.h.
typedef TOutputImage itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 43 of file itkTotalVariationSingleIterationImageFilter.h.
typedef OutputImageType::PixelType itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 62 of file itkTotalVariationSingleIterationImageFilter.h.
typedef SmartPointer<Self> itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 50 of file itkTotalVariationSingleIterationImageFilter.h.
typedef TotalVariationSingleIterationImageFilter itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 48 of file itkTotalVariationSingleIterationImageFilter.h.
typedef ImageToImageFilter<InputImageType, OutputImageType> itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 49 of file itkTotalVariationSingleIterationImageFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 84 of file itkTotalVariationSingleIterationImageFilter.h.
|
overrideprotected |
Pointer itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::Clone | ( | ) | const |
|
override |
A larger input requested region than the output requested region is required. Therefore, an implementation for GenerateInputRequestedRegion() is provided.
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
inline |
Definition at line 81 of file itkTotalVariationSingleIterationImageFilter.h.
References itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::m_OriginalImage.
itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned int | , | ||
TInputImage::ImageDimension | |||
) |
Extract dimension from input and output image.
itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned int | , | ||
TOutputImage::ImageDimension | |||
) |
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
virtual |
|
inline |
Definition at line 80 of file itkTotalVariationSingleIterationImageFilter.h.
References itk::TotalVariationSingleIterationImageFilter< TInputImage, TOutputImage >::m_OriginalImage.
|
overrideprotected |
MedianImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
|
protected |
Definition at line 105 of file itkTotalVariationSingleIterationImageFilter.h.
|
protected |
Definition at line 101 of file itkTotalVariationSingleIterationImageFilter.h.
|
protected |