Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
This class computes run length descriptions from an image. More...
#include <itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Protected Member Functions | |
EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter () | |
~EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter () override | |
void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
void | FastCompute () |
void | FullCompute () |
void | GenerateData () ITK_OVERRIDE |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType) ITK_OVERRIDE |
This class computes run length descriptions from an image.
By default, run length features are computed for each spatial direction and then averaged afterward, so it is possible to access the standard deviations of the texture features. These values give a clue as to texture anisotropy. However, doing this is much more work, because it involved computing one for each offset given. To compute a single matrix using the first offset, call FastCalculationsOn(). If this is called, then the texture standard deviations will not be computed (and will be set to zero), but texture computation will be much faster.
This class is templated over the input image type.
Template Parameters: The image type, and the type of histogram frequency container. If you are using a large number of bins per axis, a sparse frequency container may be advisable. The default is to use a dense frequency container.
Inputs and parameters:
In general, the default parameter values should be sufficient.
Outputs: (1) The average value of each feature. (2) The standard deviation in the values of each feature.
Print references: M. M. Galloway. Texture analysis using gray level run lengths. Computer Graphics and Image Processing, 4:172-179, 1975.
A. Chu, C. M. Sehgal, and J. F. Greenleaf. Use of gray value distribution of run lengths for texture analysis. Pattern Recognition Letters, 11:415-420, 1990.
B. R. Dasarathy and E. B. Holder. Image characterizations based on joint gray-level run-length distributions. Pattern Recognition Letters, 12:490-502, 1991.
IJ article: https://hdl.handle.net/1926/1374
Definition at line 108 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef SmartPointer< const Self > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::ConstPointer |
Definition at line 115 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef DataObject::Pointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 151 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
|
protected |
Make a DataObject to be used for output output.
Definition at line 221 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef VectorContainer<unsigned char, NeighbourhoodGreyLevelDifferenceFeatureName> itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVector |
Definition at line 144 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef FeatureNameVector::ConstPointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVectorConstPointer |
Definition at line 146 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef FeatureNameVector::Pointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVectorPointer |
Definition at line 145 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef VectorContainer< unsigned char, double > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVector |
Definition at line 147 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef DataObjectDecorator< FeatureValueVector > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVectorDataObjectType |
Type of DataObjects used for scalar outputs
Definition at line 155 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef FeatureValueVector::Pointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVectorPointer |
Definition at line 148 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef THistogramFrequencyContainer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::FrequencyContainerType |
Definition at line 121 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef NeighbourhoodGreyLevelDifferenceMatrixFilterType::HistogramType itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::HistogramType |
Definition at line 137 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef ImageType::Pointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::ImagePointer |
Definition at line 125 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef TImageType itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::ImageType |
Definition at line 124 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef short itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::NeighbourhoodGreyLevelDifferenceFeatureName |
Definition at line 142 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef EnhancedHistogramToNeighbourhoodGreyLevelDifferenceFeaturesFilter< HistogramType > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::NeighbourhoodGreyLevelDifferenceFeaturesFilterType |
Definition at line 140 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter< ImageType, FrequencyContainerType > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::NeighbourhoodGreyLevelDifferenceMatrixFilterType |
Definition at line 134 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef ImageType::OffsetType itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetType |
Definition at line 128 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef VectorContainer< unsigned char, OffsetType > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVector |
Definition at line 129 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef OffsetVector::ConstPointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVectorConstPointer |
Definition at line 131 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef OffsetVector::Pointer itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVectorPointer |
Definition at line 130 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef ImageType::PixelType itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::PixelType |
Definition at line 127 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef SmartPointer< Self > itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::Pointer |
Definition at line 114 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::Self |
Standard typedefs
Definition at line 112 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
typedef ProcessObject itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::Superclass |
Definition at line 113 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 210 of file itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter.h.
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
This method causes the filter to generate its output.
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
Return the feature means and deviations.
const FeatureValueVectorDataObjectType* itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureMeansOutput | ( | ) | const |
|
virtual |
const FeatureValueVectorDataObjectType* itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureStandardDeviationsOutput | ( | ) | const |
const ImageType* itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetInput | ( | ) | const |
const ImageType* itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetMaskImage | ( | ) | const |
|
virtual |
|
virtual |
|
protected |
|
static |
standard New() method support
|
protected |
void itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetDistanceValueMinMax | ( | double | min, |
double | max | ||
) |
Set the min and max (inclusive) pixel value that will be used for feature calculations. Optional; for default value see above.
|
virtual |
void itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetInput | ( | const ImageType * | ) |
void itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetInsidePixelValue | ( | PixelType | InsidePixelValue | ) |
Set the pixel value of the mask that should be considered "inside" the object. Optional; for default value see above.
void itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetMaskImage | ( | const ImageType * | ) |
Connects the mask image for which the histogram is going to be computed. Optional; for default value see above.
void itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetNumberOfBinsPerAxis | ( | unsigned int | ) |
Set number of histogram bins along each axis. Optional; for default value see above.
|
virtual |
Set the offsets over which the co-occurrence pairs will be computed. Optional; for default value see above.
void itk::Statistics::EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetPixelValueMinMax | ( | PixelType | min, |
PixelType | max | ||
) |
Set the min and max (inclusive) pixel value that will be used for feature calculations. Optional; for default value see above.
|
virtual |
Set the desired feature set. Optional, for default value see above.