Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::NoiseImageFilter< TInputImage, TOutputImage > Class Template Reference
[Intensity Image Filters]

Calculate the local noise in an image. More...

#include <itkNoiseImageFilter.h>

Inheritance diagram for itk::NoiseImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::NoiseImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef NoiseImageFilter Self
typedef ImageToImageFilter<
InputImageType, OutputImageType
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef InputImageType::PixelType InputPixelType
typedef OutputImageType::PixelType OutputPixelType
typedef NumericTraits< InputPixelType
>::RealType 
InputRealType
typedef InputImageType::RegionType InputImageRegionType
typedef OutputImageType::RegionType OutputImageRegionType
typedef InputImageType::SizeType InputSizeType

Public Member Functions

virtual const char * GetClassName () const
virtual void SetRadius (InputSizeType _arg)
virtual const InputSizeTypeGetRadius ()
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

Calculate the local noise in an image.

Computes an image where a given pixel is the standard deviation of the pixels in a neighborhood about the corresponding input pixel. This serves as an estimate of the local noise (or texture) in an image. Currently, this noise estimate assume a piecewise constant image. This filter should be extended to fitting a (hyper) plane to the neighborhood and calculating the standard deviation of the residuals to this (hyper) plane.

See also:
Image

Neighborhood

NeighborhoodOperator

NeighborhoodIterator

Definition at line 45 of file itkNoiseImageFilter.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 64 of file itkNoiseImageFilter.h.

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

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 77 of file itkNoiseImageFilter.h.

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

Convenient typedefs for simplifying declarations.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 57 of file itkNoiseImageFilter.h.

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

Image typedef support. Definition at line 73 of file itkNoiseImageFilter.h.

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

Definition at line 75 of file itkNoiseImageFilter.h.

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

Definition at line 80 of file itkNoiseImageFilter.h.

Referenced by itk::NoiseImageFilter< TInputImage, TOutputImage >::~NoiseImageFilter().

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

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 78 of file itkNoiseImageFilter.h.

Referenced by itk::NoiseImageFilter< TInputImage, TOutputImage >::~NoiseImageFilter().

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 58 of file itkNoiseImageFilter.h.

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

Definition at line 74 of file itkNoiseImageFilter.h.

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

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 63 of file itkNoiseImageFilter.h.

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

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 61 of file itkNoiseImageFilter.h.

Referenced by itk::NoiseImageFilter< TInputImage, TOutputImage >::~NoiseImageFilter().

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

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 62 of file itkNoiseImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::NoiseImageFilter< TInputImage, TOutputImage >::NoiseImageFilter  )  [protected]
 

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

Definition at line 100 of file itkNoiseImageFilter.h.

References itk::NoiseImageFilter< TInputImage, TOutputImage >::InputSizeType, itk::NoiseImageFilter< TInputImage, TOutputImage >::OutputImageRegionType, and itk::NoiseImageFilter< TInputImage, TOutputImage >::Self.


Member Function Documentation

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

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

See also:
ImageToImageFilter::GenerateInputRequestedRegion()

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual const char* itk::NoiseImageFilter< TInputImage, TOutputImage >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual const InputSizeType& itk::NoiseImageFilter< TInputImage, TOutputImage >::GetRadius  )  [virtual]
 

Get the radius of the neighborhood used to compute the noise

template<class TInputImage, class TOutputImage>
itk::NoiseImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension 
 

Extract dimension from input and output image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
itk::NoiseImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension 
 

Extract dimension from input and output image.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
Pointer itk::NoiseImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage>
void itk::NoiseImageFilter< TInputImage, TOutputImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::NoiseImageFilter< TInputImage, TOutputImage >::SetRadius InputSizeType  _arg  )  [virtual]
 

Set the radius of the neighborhood used to compute the noise. In general, the radius should be small. But if set to one, the confidence in the estimates will be marginal.

template<class TInputImage, class TOutputImage>
void itk::NoiseImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData const OutputImageRegionType outputRegionForThread,
int  threadId
[protected, virtual]
 

NoiseImageFilter 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()

Reimplemented from itk::ImageSource< TOutputImage >.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:49:07 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000