Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Types | Public Member Functions | Protected Member Functions
itk::MaskedMeanImageFilter< TInputImage, TOutputImage > Class Template Reference

Applies an averaging filter to an image. More...

#include <Modules/CLI/DWIRicianLMMSEFilter/itkMaskedMeanImageFilter.h>

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef InputImageType::PixelType InputPixelType
typedef NumericTraits
< InputPixelType >::RealType 
InputRealType
typedef InputImageType::SizeType InputSizeType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef MaskedMeanImageFilter Self
typedef ImageToImageFilter
< InputImageType,
OutputImageType
Superclass

Public Member Functions

virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
 itkGetConstReferenceMacro (Radius, InputSizeType)
 itkGetMacro (MinimumNumberOfUsedVoxels, int)
 itkNewMacro (Self)
 itkSetMacro (Radius, InputSizeType)
 itkSetMacro (MinimumNumberOfUsedVoxels, int)
 itkTypeMacro (MaskedMeanImageFilter, ImageToImageFilter)

Protected Member Functions

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

Detailed Description

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

Applies an averaging filter to an image.

Computes an image where a given pixel is the mean value of the the pixels in a neighborhood about the corresponding input pixel. Only uses pixels with values greater than zero!

A mean filter is one of the family of linear filters.

See also:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator

Definition at line 43 of file itkMaskedMeanImageFilter.h.


Member Typedef Documentation

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

Definition at line 57 of file itkMaskedMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::ConstPointer itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::InputImageConstPointer

Definition at line 50 of file itkMaskedMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::InputImagePointer

Definition at line 49 of file itkMaskedMeanImageFilter.h.

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

Definition at line 73 of file itkMaskedMeanImageFilter.h.

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

Convenient typedefs for simplifying declarations.

Definition at line 47 of file itkMaskedMeanImageFilter.h.

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

Image typedef support.

Definition at line 70 of file itkMaskedMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef NumericTraits<InputPixelType>::RealType itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::InputRealType

Definition at line 72 of file itkMaskedMeanImageFilter.h.

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

Definition at line 75 of file itkMaskedMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::OutputImagePointer

Definition at line 51 of file itkMaskedMeanImageFilter.h.

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

Definition at line 74 of file itkMaskedMeanImageFilter.h.

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

Definition at line 48 of file itkMaskedMeanImageFilter.h.

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

Definition at line 71 of file itkMaskedMeanImageFilter.h.

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

Definition at line 56 of file itkMaskedMeanImageFilter.h.

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

Standard class typedefs.

Definition at line 54 of file itkMaskedMeanImageFilter.h.

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

Definition at line 55 of file itkMaskedMeanImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::MaskedMeanImageFilter ( ) [protected]
template<class TInputImage , class TOutputImage >
virtual itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::~MaskedMeanImageFilter ( ) [inline, protected, virtual]

Definition at line 92 of file itkMaskedMeanImageFilter.h.


Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual void itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( ) throw (InvalidRequestedRegionError) [virtual]

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

See also:
ImageToImageFilter::GenerateInputRequestedRegion()
template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( Radius  ,
InputSizeType   
)
template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::itkGetMacro ( MinimumNumberOfUsedVoxels  ,
int   
)
template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::itkSetMacro ( Radius  ,
InputSizeType   
)

Set and get the radius of the neighborhood used to compute the mean.

template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::itkSetMacro ( MinimumNumberOfUsedVoxels  ,
int   
)

Set and get the minimum number of samples for reliable estimates.

template<class TInputImage , class TOutputImage >
itk::MaskedMeanImageFilter< TInputImage, TOutputImage >::itkTypeMacro ( MaskedMeanImageFilter< TInputImage, TOutputImage >  ,
ImageToImageFilter   
)

Run-time type information (and related methods).

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

MaskedMeanImageFilter 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines