ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage > Class Template Reference

#include <itkStochasticFractalDimensionImageFilter.h>

+ Inheritance diagram for itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >:
+ Collaboration diagram for itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >:

List of all members.

Public Types

typedef
ConstNeighborhoodIterator
< InputImageType
ConstNeighborhoodIteratorType
typedef SmartPointer< const SelfConstPointer
typedef TInputImage InputImageType
typedef TMaskImage MaskImageType
typedef TOutputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef
ConstNeighborhoodIteratorType::RadiusType 
RadiusType
typedef float RealType
typedef
StochasticFractalDimensionImageFilter 
Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
const MaskImageTypeGetMaskImage () const
virtual const char * GetNameOfClass () const
void SetMaskImage (const MaskImageType *mask)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

void GenerateData ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

void operator= (const Self &)
 StochasticFractalDimensionImageFilter (const Self &)

Private Attributes

MaskImageType::Pointer m_MaskImage
RadiusType m_NeighborhoodRadius
virtual void SetNeighborhoodRadius (RadiusType _arg)
virtual RadiusType GetNeighborhoodRadius () const
 StochasticFractalDimensionImageFilter ()
 ~StochasticFractalDimensionImageFilter ()

Detailed Description

template<class TInputImage, class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
class itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >

This filter computes the stochastic fractal dimension of the input image.

The methodology is based on Madelbrot's fractal theory and the concept of fractional Brownian motion and yields images which have been used for classification and edge enhancement.

This class which is templated over the input and output images as well as a mask image type. The input is a scalar image, an optional neighborhood radius (default = 2), and an optional mask. The mask can be specified to decrease computation time since, as the authors point out, calculation is time-consuming.

This filter was contributed by Nick Tustison and James Gee from the PICSL lab, at the University of Pennsylvania as an paper to the Insight Journal:

"Stochastic Fractal Dimension Image" http://hdl.handle.net/1926/1525 http://www.insight-journal.org/browse/publication/318

Author:
Nick Tustison

Definition at line 55 of file itkStochasticFractalDimensionImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef ConstNeighborhoodIterator< InputImageType > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstNeighborhoodIteratorType

Type of the neighborhood iterator used to evaluate similarity between the image pixels.

Definition at line 89 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef SmartPointer< const Self > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstPointer
template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef TInputImage itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::InputImageType

Some convenient typedefs.

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

Definition at line 73 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef TMaskImage itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::MaskImageType

Definition at line 74 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef TOutputImage itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 75 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef SmartPointer< Self > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Pointer
template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef ConstNeighborhoodIteratorType::RadiusType itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::RadiusType

Definition at line 90 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef float itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::RealType

Some convenient typedefs.

Definition at line 72 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef StochasticFractalDimensionImageFilter itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Self

Standard class typedefs.

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

Definition at line 60 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::StochasticFractalDimensionImageFilter ( ) [protected]

Manhattan radius used for evaluating the fractal dimension.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::~StochasticFractalDimensionImageFilter ( ) [protected]

Manhattan radius used for evaluating the fractal dimension.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::StochasticFractalDimensionImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
void itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
const MaskImageType* itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskImage ( ) const
template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
virtual const char* itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

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

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
virtual RadiusType itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetNeighborhoodRadius ( ) const [virtual]

Manhattan radius used for evaluating the fractal dimension.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
static Pointer itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
void itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

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

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
void itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, 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 TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
void itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::SetMaskImage ( const MaskImageType mask)

Set/Get the input mask image that will constraint the computation of the fractal dimension to pixels that are on in the mask. This is intended to reduce the computation time.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
virtual void itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::SetNeighborhoodRadius ( RadiusType  _arg) [virtual]

Manhattan radius used for evaluating the fractal dimension.


Member Data Documentation

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
const unsigned int itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Definition at line 69 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
MaskImageType::Pointer itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::m_MaskImage [private]

Definition at line 113 of file itkStochasticFractalDimensionImageFilter.h.

template<class TInputImage , class TMaskImage = Image< unsigned char, ::itk::GetImageDimension< TInputImage >::ImageDimension >, class TOutputImage = TInputImage>
RadiusType itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::m_NeighborhoodRadius [private]

Definition at line 111 of file itkStochasticFractalDimensionImageFilter.h.


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