ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkHistogramToRunLengthFeaturesFilter.h>
This class computes texture feature coefficients from a grey level run-length matrix.
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 histogram type.
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 66 of file itkHistogramToRunLengthFeaturesFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types | |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Private Attributes | |
unsigned long | m_TotalNumberOfRuns |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::ConstPointer = SmartPointer<const Self> |
Definition at line 75 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::DataObjectPointer = DataObject::Pointer |
Smart Pointer type to a DataObject.
Definition at line 98 of file itkHistogramToRunLengthFeaturesFilter.h.
|
protected |
Make a DataObject to be used for output output.
Definition at line 179 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::FrequencyType = typename HistogramType::TotalAbsoluteFrequencyType |
Definition at line 89 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramConstPointer = typename HistogramType::ConstPointer |
Definition at line 85 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramPointer = typename HistogramType::Pointer |
Definition at line 84 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramType = THistogram |
Definition at line 83 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::IndexType = typename HistogramType::IndexType |
Definition at line 88 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementObjectType = SimpleDataObjectDecorator<MeasurementType> |
Type of DataObjects used for scalar outputs
Definition at line 101 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementType = typename HistogramType::MeasurementType |
Definition at line 86 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementVectorType = typename HistogramType::MeasurementVectorType |
Definition at line 87 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Pointer = SmartPointer<Self> |
Definition at line 74 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Self = HistogramToRunLengthFeaturesFilter |
Standard type alias
Definition at line 72 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Superclass = ProcessObject |
Definition at line 73 of file itkHistogramToRunLengthFeaturesFilter.h.
enum itk::Statistics::HistogramToRunLengthFeaturesFilter::RunLengthFeatureName |
Run-length feature types
Definition at line 156 of file itkHistogramToRunLengthFeaturesFilter.h.
|
protected |
|
overrideprotecteddefault |
|
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.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetFeature | ( | RunLengthFeatureName | name | ) |
convenience method to access the run length values
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelNonuniformity | ( | ) | const |
Methods to return the grey level nonuniformity.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetGreyLevelNonuniformityOutput | ( | ) | const |
Methods to return the grey level nonuniformity.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetHighGreyLevelRunEmphasis | ( | ) | const |
Methods to return the high grey level run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetHighGreyLevelRunEmphasisOutput | ( | ) | const |
Methods to return the high grey level run emphasis.
const HistogramType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetInput | ( | ) | const |
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunEmphasis | ( | ) | const |
Methods to return the long run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunEmphasisOutput | ( | ) | const |
Methods to return the long run emphasis.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunHighGreyLevelEmphasis | ( | ) | const |
Methods to return the long run high grey level run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunHighGreyLevelEmphasisOutput | ( | ) | const |
Methods to return the long run high grey level run emphasis.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunLowGreyLevelEmphasis | ( | ) | const |
Methods to return the long run low grey level run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLongRunLowGreyLevelEmphasisOutput | ( | ) | const |
Methods to return the long run low grey level run emphasis.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLowGreyLevelRunEmphasis | ( | ) | const |
Methods to return the low grey level run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetLowGreyLevelRunEmphasisOutput | ( | ) | const |
Methods to return the low grey level run emphasis.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformity | ( | ) | const |
Methods to return the run length nonuniformity.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetRunLengthNonuniformityOutput | ( | ) | const |
Methods to return the run length nonuniformity.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunEmphasis | ( | ) | const |
Methods to return the short run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunEmphasisOutput | ( | ) | const |
Methods to return the short run emphasis.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunHighGreyLevelEmphasis | ( | ) | const |
Methods to return the short run high grey level run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunHighGreyLevelEmphasisOutput | ( | ) | const |
Methods to return the short run high grey level run emphasis.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunLowGreyLevelEmphasis | ( | ) | const |
Methods to return the short run low grey level run emphasis.
const MeasurementObjectType* itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetShortRunLowGreyLevelEmphasisOutput | ( | ) | const |
Methods to return the short run low grey level run emphasis.
|
virtual |
|
overrideprotectedvirtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
static |
standard New() method support
|
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::ProcessObject.
void itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::SetInput | ( | const HistogramType * | histogram | ) |
|
private |
Definition at line 186 of file itkHistogramToRunLengthFeaturesFilter.h.