#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.
For algorithmic details see [39], [24] and [29].
IJ article: https://doi.org/10.54294/ex0itu
Definition at line 90 of file itkHistogramToRunLengthFeaturesFilter.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types | |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Private Attributes | |
unsigned long | m_TotalNumberOfRuns {} |
Additional Inherited Members | |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::ConstPointer = SmartPointer<const Self> |
Definition at line 99 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::DataObjectPointer = DataObject::Pointer |
Smart Pointer type to a DataObject.
Definition at line 124 of file itkHistogramToRunLengthFeaturesFilter.h.
|
protected |
Make a DataObject to be used for output output.
Definition at line 229 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::FrequencyType = typename HistogramType::TotalAbsoluteFrequencyType |
Definition at line 113 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramConstPointer = typename HistogramType::ConstPointer |
Definition at line 109 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramPointer = typename HistogramType::Pointer |
Definition at line 108 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::HistogramType = THistogram |
Definition at line 107 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::IndexType = typename HistogramType::IndexType |
Definition at line 112 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementObjectType = SimpleDataObjectDecorator<MeasurementType> |
Type of DataObjects used for scalar outputs
Definition at line 127 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementType = typename HistogramType::MeasurementType |
Definition at line 110 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::MeasurementVectorType = typename HistogramType::MeasurementVectorType |
Definition at line 111 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Pointer = SmartPointer<Self> |
Definition at line 98 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Self = HistogramToRunLengthFeaturesFilter |
Standard type alias
Definition at line 96 of file itkHistogramToRunLengthFeaturesFilter.h.
using itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::Superclass = ProcessObject |
Definition at line 97 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::LightObject.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
MeasurementType itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::GetFeature | ( | RunLengthFeatureEnum | feature | ) |
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 |
Method to Set/Get the input Histogram
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.
|
overridevirtual |
Reimplemented from itk::LightObject.
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.
|
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::LightObject.
|
virtual |
Method to Set/Get the input Histogram
Reimplemented from itk::ProcessObject.
void itk::Statistics::HistogramToRunLengthFeaturesFilter< THistogram >::SetInput | ( | const HistogramType * | histogram | ) |
Method to Set/Get the input Histogram
|
private |
Definition at line 237 of file itkHistogramToRunLengthFeaturesFilter.h.