ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkStochasticFractalDimensionImageFilter.h>
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
Definition at line 55 of file itkStochasticFractalDimensionImageFilter.h.
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.
typedef SmartPointer< const Self > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkStochasticFractalDimensionImageFilter.h.
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.
typedef TMaskImage itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::MaskImageType |
Definition at line 74 of file itkStochasticFractalDimensionImageFilter.h.
typedef TOutputImage itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 75 of file itkStochasticFractalDimensionImageFilter.h.
typedef SmartPointer< Self > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkStochasticFractalDimensionImageFilter.h.
typedef ConstNeighborhoodIteratorType::RadiusType itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::RadiusType |
Definition at line 90 of file itkStochasticFractalDimensionImageFilter.h.
typedef float itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::RealType |
Some convenient typedefs.
Definition at line 72 of file itkStochasticFractalDimensionImageFilter.h.
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.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 61 of file itkStochasticFractalDimensionImageFilter.h.
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::StochasticFractalDimensionImageFilter | ( | ) | [protected] |
Manhattan radius used for evaluating the fractal dimension.
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::~StochasticFractalDimensionImageFilter | ( | ) | [protected] |
Manhattan radius used for evaluating the fractal dimension.
itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::StochasticFractalDimensionImageFilter | ( | const Self & | ) | [private] |
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.
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.
Reimplemented from itk::ImageSource< TOutputImage >.
const MaskImageType* itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskImage | ( | ) | const |
virtual const char* itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual RadiusType itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetNeighborhoodRadius | ( | ) | const [virtual] |
Manhattan radius used for evaluating the fractal dimension.
static Pointer itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
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 >.
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 >.
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.
virtual void itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::SetNeighborhoodRadius | ( | RadiusType | _arg | ) | [virtual] |
Manhattan radius used for evaluating the fractal dimension.
const unsigned int itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Definition at line 69 of file itkStochasticFractalDimensionImageFilter.h.
MaskImageType::Pointer itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::m_MaskImage [private] |
Definition at line 113 of file itkStochasticFractalDimensionImageFilter.h.
RadiusType itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::m_NeighborhoodRadius [private] |
Definition at line 111 of file itkStochasticFractalDimensionImageFilter.h.