Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
This class computes texture descriptions from an image. More...
#include <itkEnhancedScalarImageToTextureFeaturesFilter.h>
Public Types | |
typedef EnhancedScalarImageToTextureFeaturesFilter | Self |
typedef ProcessObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef THistogramFrequencyContainer | FrequencyContainerType |
typedef TImageType | ImageType |
typedef ImageType::Pointer | ImagePointer |
typedef ImageType::PixelType | PixelType |
typedef ImageType::OffsetType | OffsetType |
typedef VectorContainer< unsigned char, OffsetType > | OffsetVector |
typedef OffsetVector::Pointer | OffsetVectorPointer |
typedef OffsetVector::ConstPointer | OffsetVectorConstPointer |
typedef ScalarImageToCooccurrenceMatrixFilter< ImageType, FrequencyContainerType > | CooccurrenceMatrixFilterType |
typedef CooccurrenceMatrixFilterType::HistogramType | HistogramType |
typedef EnhancedHistogramToTextureFeaturesFilter< HistogramType > | TextureFeaturesFilterType |
typedef short | TextureFeatureName |
typedef VectorContainer< unsigned char, TextureFeatureName > | FeatureNameVector |
typedef FeatureNameVector::Pointer | FeatureNameVectorPointer |
typedef FeatureNameVector::ConstPointer | FeatureNameVectorConstPointer |
typedef VectorContainer< unsigned char, double > | FeatureValueVector |
typedef FeatureValueVector::Pointer | FeatureValueVectorPointer |
typedef DataObject::Pointer | DataObjectPointer |
typedef DataObjectDecorator< FeatureValueVector > | FeatureValueVectorDataObjectType |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Protected Member Functions | |
EnhancedScalarImageToTextureFeaturesFilter () | |
~EnhancedScalarImageToTextureFeaturesFilter () 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 texture descriptions from an image.
This class computes features that summarize the texture of a given image. The texture features are computed a la Haralick, and have proven to be useful in image classification for biological and medical imaging. This class computes the texture features of an image (optionally in a masked region), averaged across several spatial directions so that they are invariant to rotation.
By default, texture 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 GLCM for each offset given. To compute a single GLCM 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.
Web reference: https://prism.ucalgary.ca/handle/1880/51900
Print references: Haralick, R.M., K. Shanmugam and I. Dinstein. 1973. Textural Features for Image Classification. IEEE Transactions on Systems, Man and Cybernetics. SMC-3(6):610-620.
Haralick, R.M. 1979. Statistical and Structural Approaches to Texture. Proceedings of the IEEE, 67:786-804.
R.W. Conners and C.A. Harlow. A Theoretical Comparison of Texture Algorithms. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2:204-222, 1980.
R.W. Conners, M.M. Trivedi, and C.A. Harlow. Segmentation of a High-Resolution Urban Scene using Texture Operators. Computer Vision, Graphics and Image Processing, 25:273-310, 1984.
Author: Zachary Pincus
Definition at line 118 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef SmartPointer< const Self > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::ConstPointer |
Definition at line 125 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef ScalarImageToCooccurrenceMatrixFilter< ImageType, FrequencyContainerType > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::CooccurrenceMatrixFilterType |
Definition at line 144 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef DataObject::Pointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 158 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
|
protected |
Make a DataObject to be used for output output.
Definition at line 223 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef VectorContainer< unsigned char, TextureFeatureName > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVector |
Definition at line 150 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef FeatureNameVector::ConstPointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVectorConstPointer |
Definition at line 153 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef FeatureNameVector::Pointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureNameVectorPointer |
Definition at line 152 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef VectorContainer< unsigned char, double > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVector |
Definition at line 154 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef DataObjectDecorator< FeatureValueVector > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVectorDataObjectType |
Type of DataObjects used for scalar outputs
Definition at line 162 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef FeatureValueVector::Pointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FeatureValueVectorPointer |
Definition at line 155 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef THistogramFrequencyContainer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::FrequencyContainerType |
Definition at line 131 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef CooccurrenceMatrixFilterType::HistogramType itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::HistogramType |
Definition at line 146 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef ImageType::Pointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::ImagePointer |
Definition at line 135 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef TImageType itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::ImageType |
Definition at line 134 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef ImageType::OffsetType itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetType |
Definition at line 138 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef VectorContainer< unsigned char, OffsetType > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVector |
Definition at line 139 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef OffsetVector::ConstPointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVectorConstPointer |
Definition at line 141 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef OffsetVector::Pointer itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::OffsetVectorPointer |
Definition at line 140 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef ImageType::PixelType itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::PixelType |
Definition at line 137 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef SmartPointer< Self > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::Pointer |
Definition at line 124 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef EnhancedScalarImageToTextureFeaturesFilter itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::Self |
Standard typedefs
Definition at line 122 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef ProcessObject itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::Superclass |
Definition at line 123 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef short itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::TextureFeatureName |
Definition at line 149 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
typedef EnhancedHistogramToTextureFeaturesFilter< HistogramType > itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::TextureFeaturesFilterType |
Definition at line 147 of file itkEnhancedScalarImageToTextureFeaturesFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 212 of file itkEnhancedScalarImageToTextureFeaturesFilter.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::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureMeansOutput | ( | ) | const |
|
virtual |
const FeatureValueVectorDataObjectType* itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetFeatureStandardDeviationsOutput | ( | ) | const |
const ImageType* itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetInput | ( | ) | const |
const ImageType* itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::GetMaskImage | ( | ) | const |
|
virtual |
|
virtual |
|
protected |
|
static |
standard New() method support
|
protected |
|
virtual |
void itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< TImageType, THistogramFrequencyContainer >::SetInput | ( | const ImageType * | ) |
void itk::Statistics::EnhancedScalarImageToTextureFeaturesFilter< 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::EnhancedScalarImageToTextureFeaturesFilter< 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::EnhancedScalarImageToTextureFeaturesFilter< 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::EnhancedScalarImageToTextureFeaturesFilter< 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.