Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType > Class Template Reference

Applies a total variation denoising filter to an image. More...

#include <itkRegularizedIVIMReconstructionSingleIteration.h>

Inheritance diagram for itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >:
Collaboration diagram for itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >:

Public Types

typedef itk::Image< itk::Vector< TInputPixel, 3 >, 3 > InputImageType
 
typedef itk::Image< itk::Vector< TOutputPixel, 3 >, 3 > OutputImageType
 
typedef itk::VectorImage< TRefPixelType, 3 > RefImageType
 
typedef itk::Image< float, InputImageDimension > LocalVariationImageType
 
typedef RegularizedIVIMReconstructionSingleIteration 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, InputImageType::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, OutputImageType::ImageDimension)
 
Pointer Clone () const
 
virtual const char * GetClassName () const
 
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
 
virtual void SetLambda (double _arg)
 
virtual double GetLambda ()
 
void SetBValues (vnl_vector< double > bvals)
 
vnl_vector< double > GetBValues ()
 
void SetOriginalImage (RefImageType *in)
 
RefImageType::Pointer GetOriginialImage ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

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

Protected Attributes

LocalVariationImageType::Pointer m_LocalVariation
 
RefImageType::Pointer m_OriginalImage
 
double m_Lambda
 
vnl_vector< double > m_BValues
 

Detailed Description

template<class TInputPixel, class TOutputPixel, class TRefPixelType>
class itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >

Applies a total variation denoising filter to an image.

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

See also
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator

Definition at line 39 of file itkRegularizedIVIMReconstructionSingleIteration.h.

Member Typedef Documentation

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef SmartPointer<const Self> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::ConstPointer
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef InputImageType::RegionType itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::InputImageRegionType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef itk::Image<itk::Vector<TInputPixel,3>, 3> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::InputImageType

Convenient typedefs for simplifying declarations.

Definition at line 44 of file itkRegularizedIVIMReconstructionSingleIteration.h.

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef InputImageType::PixelType itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::InputPixelType

Image typedef support.

Definition at line 67 of file itkRegularizedIVIMReconstructionSingleIteration.h.

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef InputImageType::SizeType itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::InputSizeType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef itk::Image<float,InputImageDimension> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::LocalVariationImageType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef OutputImageType::RegionType itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::OutputImageRegionType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef itk::Image<itk::Vector<TOutputPixel,3>, 3> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::OutputImageType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef OutputImageType::PixelType itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::OutputPixelType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef SmartPointer<Self> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::Pointer
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef itk::VectorImage<TRefPixelType,3> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::RefImageType
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef RegularizedIVIMReconstructionSingleIteration itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::Self

Standard class typedefs.

Definition at line 57 of file itkRegularizedIVIMReconstructionSingleIteration.h.

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
typedef ImageToImageFilter< InputImageType, OutputImageType> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::Superclass

Constructor & Destructor Documentation

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::RegularizedIVIMReconstructionSingleIteration ( )
protected
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
virtual itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::~RegularizedIVIMReconstructionSingleIteration ( )
inlineprotectedvirtual

Member Function Documentation

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::BeforeThreadedGenerateData ( )
protected
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
Pointer itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::Clone ( ) const
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
virtual void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::GenerateInputRequestedRegion ( )
throw (InvalidRequestedRegionError
)
virtual

A larger input requested region than the output requested region is required. Therefore, an implementation for GenerateInputRequestedRegion() is provided.

See also
ImageToImageFilter::GenerateInputRequestedRegion()
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
vnl_vector<double> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::GetBValues ( )
inline
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
virtual const char* itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
virtual double itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::GetLambda ( )
virtual
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
RefImageType::Pointer itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::GetOriginialImage ( )
inline
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
InputImageType::ImageDimension   
)

Extract dimension from input and output image.

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned  int,
OutputImageType::ImageDimension   
)
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
static Pointer itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::New ( )
static

Method for creation through the object factory.

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::SetBValues ( vnl_vector< double >  bvals)
inline
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
virtual void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::SetLambda ( double  _arg)
virtual
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::SetOriginalImage ( RefImageType in)
inline
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
void itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::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()

Member Data Documentation

template<class TInputPixel , class TOutputPixel , class TRefPixelType >
vnl_vector<double> itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::m_BValues
protected
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
double itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::m_Lambda
protected
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
LocalVariationImageType::Pointer itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::m_LocalVariation
protected
template<class TInputPixel , class TOutputPixel , class TRefPixelType >
RefImageType::Pointer itk::RegularizedIVIMReconstructionSingleIteration< TInputPixel, TOutputPixel, TRefPixelType >::m_OriginalImage
protected

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