ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkStochasticFractalDimensionImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
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 () |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
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.
|
protected |
Manhattan radius used for evaluating the fractal dimension.
|
protected |
Manhattan radius used for evaluating the fractal dimension.
|
private |
|
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.
|
protectedvirtual |
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 |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Manhattan radius used for evaluating the fractal dimension.
|
static |
Standard New method.
Reimplemented from itk::Object.
|
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 >.
|
protectedvirtual |
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 |
Manhattan radius used for evaluating the fractal dimension.
|
static |
ImageDimension constants
Definition at line 69 of file itkStochasticFractalDimensionImageFilter.h.
|
private |
Definition at line 113 of file itkStochasticFractalDimensionImageFilter.h.
|
private |
Definition at line 111 of file itkStochasticFractalDimensionImageFilter.h.