ITK
4.3.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: http://hdl.handle.net/1926/1374
Definition at line 66 of file itkHistogramToRunLengthFeaturesFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Private Member Functions | |
HistogramToRunLengthFeaturesFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
unsigned long | m_TotalNumberOfRuns |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef SmartPointer<const Self> itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::ConstPointer |
Definition at line 73 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef DataObject::Pointer itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 97 of file itkHistogramToRunLengthFeaturesFilter.h.
|
protected |
Make a DataObject to be used for output output.
Definition at line 178 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramType:: TotalAbsoluteFrequencyType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::FrequencyType |
Definition at line 88 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramType::ConstPointer itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramConstPointer |
Definition at line 83 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramType::Pointer itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramPointer |
Definition at line 82 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef THistogram itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramType |
Definition at line 79 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramType::IndexType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::IndexType |
Definition at line 86 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef SimpleDataObjectDecorator<MeasurementType> itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementObjectType |
Type of DataObjects used for scalar outputs
Definition at line 100 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramType::MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementType |
Definition at line 84 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramType::MeasurementVectorType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementVectorType |
Definition at line 85 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef SmartPointer<Self> itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Pointer |
Definition at line 72 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef HistogramToRunLengthFeaturesFilter itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Self |
Standard typedefs
Definition at line 70 of file itkHistogramToRunLengthFeaturesFilter.h.
typedef ProcessObject itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Superclass |
Definition at line 71 of file itkHistogramToRunLengthFeaturesFilter.h.
enum itk::Statistics::HistogramToRunLengthFeaturesFilter::RunLengthFeatureName |
Run-length feature types
Definition at line 155 of file itkHistogramToRunLengthFeaturesFilter.h.
|
protected |
|
inlineprotected |
Definition at line 174 of file itkHistogramToRunLengthFeaturesFilter.h.
|
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 |
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 |
|
protectedvirtual |
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
|
private |
|
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::ProcessObject.
void itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::SetInput | ( | const HistogramType * | histogram | ) |
|
private |
Definition at line 188 of file itkHistogramToRunLengthFeaturesFilter.h.