Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itk::LocalVariationImageFilter< TInputImage, TOutputImage > Class Template Reference

Calculates the local variation in each pixel. More...

#include <itkLocalVariationImageFilter.h>

Inheritance diagram for itk::LocalVariationImageFilter< TInputImage, TOutputImage >:
Collaboration diagram for itk::LocalVariationImageFilter< TInputImage, TOutputImage >:

Public Types

typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef LocalVariationImageFilter Self
 
typedef ImageToImageFilter< InputImageType, OutputImageTypeSuperclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
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
 
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 LocalVariationImageFilter ()
 
virtual ~LocalVariationImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::LocalVariationImageFilter< TInputImage, TOutputImage >

Calculates the local variation in each pixel.

Reference: Tony F. Chan et al., The digital TV filter and nonlinear denoising

See also
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator

Definition at line 45 of file itkLocalVariationImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer<const Self> itk::LocalVariationImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 60 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::LocalVariationImageFilter< TInputImage, TOutputImage >::InputImageRegionType

Definition at line 72 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage itk::LocalVariationImageFilter< TInputImage, TOutputImage >::InputImageType

Convenient typedefs for simplifying declarations.

Definition at line 53 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::LocalVariationImageFilter< TInputImage, TOutputImage >::InputPixelType

Image typedef support.

Definition at line 66 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::SizeType itk::LocalVariationImageFilter< TInputImage, TOutputImage >::InputSizeType

Definition at line 75 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::LocalVariationImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Definition at line 73 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::LocalVariationImageFilter< TInputImage, TOutputImage >::OutputImageType

Definition at line 54 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::LocalVariationImageFilter< TInputImage, TOutputImage >::OutputPixelType

Definition at line 70 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer<Self> itk::LocalVariationImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 59 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef LocalVariationImageFilter itk::LocalVariationImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 57 of file itkLocalVariationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef ImageToImageFilter<InputImageType, OutputImageType> itk::LocalVariationImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 58 of file itkLocalVariationImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::LocalVariationImageFilter< TInputImage, TOutputImage >::LocalVariationImageFilter ( )
protected
template<class TInputImage , class TOutputImage >
virtual itk::LocalVariationImageFilter< TInputImage, TOutputImage >::~LocalVariationImageFilter ( )
inlineprotectedvirtual

Definition at line 87 of file itkLocalVariationImageFilter.h.

Member Function Documentation

template<class TInputImage , class TOutputImage >
Pointer itk::LocalVariationImageFilter< TInputImage, TOutputImage >::Clone ( ) const
template<class TInputImage , class TOutputImage >
virtual void itk::LocalVariationImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
throw (InvalidRequestedRegionError
)
virtual

MedianImageFilter needs a larger input requested region than the output requested region. As such, MedianImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.

See also
ImageToImageFilter::GenerateInputRequestedRegion()
template<class TInputImage , class TOutputImage >
virtual const char* itk::LocalVariationImageFilter< TInputImage, TOutputImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TInputImage , class TOutputImage >
itk::LocalVariationImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

Extract dimension from input and output image.

template<class TInputImage , class TOutputImage >
itk::LocalVariationImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension   
)
template<class TInputImage , class TOutputImage >
static Pointer itk::LocalVariationImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
void itk::LocalVariationImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputImage , class TOutputImage >
void itk::LocalVariationImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protected

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"

See also
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

The documentation for this class was generated from the following file: