ITK
6.0.0
Insight Toolkit
|
#include <itkStochasticFractalDimensionImageFilter.h>
This filter computes the stochastic fractal dimension of the input image.
The methodology is based on Mandelbrot'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" https://doi.org/10.54294/ne109t
Definition at line 54 of file itkStochasticFractalDimensionImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
MaskImageType::Pointer | m_MaskImage {} |
RadiusType | m_NeighborhoodRadius {} |
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstNeighborhoodIteratorType = ConstNeighborhoodIterator<InputImageType> |
Type of the neighborhood iterator used to evaluate similarity between the image pixels.
Definition at line 91 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 63 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::InputImageType = TInputImage |
Definition at line 73 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::MaskImageType = TMaskImage |
Definition at line 74 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 75 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 62 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::RadiusType = typename ConstNeighborhoodIteratorType::RadiusType |
Definition at line 92 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::RealType = float |
Some convenient type alias.
Definition at line 72 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Self = StochasticFractalDimensionImageFilter |
Standard class type aliases.
Definition at line 60 of file itkStochasticFractalDimensionImageFilter.h.
using itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 61 of file itkStochasticFractalDimensionImageFilter.h.
|
protected |
|
overrideprotected |
|
overrideprotectedvirtual |
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 DynamicThreadedGenerateData(). 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 can be threaded, it should NOT provide a GenerateData() method but should provide a DynamicThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
const MaskImageType* itk::StochasticFractalDimensionImageFilter< TInputImage, TMaskImage, TOutputImage >::GetMaskImage | ( | ) | const |
|
overridevirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Manhattan radius used for evaluating the fractal dimension.
|
static |
Standard New method.
|
overrideprotectedvirtual |
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.
|
staticconstexpr |
ImageDimension constants
Definition at line 69 of file itkStochasticFractalDimensionImageFilter.h.
|
private |
Definition at line 112 of file itkStochasticFractalDimensionImageFilter.h.
|
private |
Definition at line 110 of file itkStochasticFractalDimensionImageFilter.h.