18#ifndef itkScalarImageToRunLengthFeaturesFilter_h
19#define itkScalarImageToRunLengthFeaturesFilter_h
85template <
typename TImageType,
typename THistogramFrequencyContainer = DenseFrequencyContainer2>
193 itkGetConstMacro(FastCalculations,
bool);
194 itkSetMacro(FastCalculations,
bool);
195 itkBooleanMacro(FastCalculations);
230#ifndef ITK_MANUAL_INSTANTIATION
231# include "itkScalarImageToRunLengthFeaturesFilter.hxx"
Decorates any subclass of itkObject with a DataObject API.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Implements transparent reference counting.
This class computes texture feature coefficients from a grey level run-length matrix.
void GenerateData() override
RunLengthMatrixFilterType::Pointer m_RunLengthMatrixGenerator
typename ImageType::OffsetType OffsetType
typename RunLengthMatrixFilterType::HistogramType HistogramType
VectorContainer< unsigned char, double > FeatureValueVector
FeatureValueVectorPointer m_FeatureMeans
VectorContainer< unsigned char, OffsetType > OffsetVector
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
const ImageType * GetMaskImage() const
OffsetVectorConstPointer m_Offsets
void SetInsidePixelValue(PixelType insidePixelValue)
typename ImageType::PixelType PixelType
DataObject::Pointer DataObjectPointer
ScalarImageToRunLengthFeaturesFilter Self
HistogramToRunLengthFeaturesFilter< HistogramType > RunLengthFeaturesFilterType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
typename OffsetVector::ConstPointer OffsetVectorConstPointer
void SetNumberOfBinsPerAxis(unsigned int)
VectorContainer< unsigned char, RunLengthFeatureName > FeatureNameVector
void SetMaskImage(const ImageType *)
~ScalarImageToRunLengthFeaturesFilter() override=default
typename ImageType::Pointer ImagePointer
ScalarImageToRunLengthFeaturesFilter()
typename FeatureValueVector::Pointer FeatureValueVectorPointer
void SetDistanceValueMinMax(double min, double max)
FeatureValueVectorPointer m_FeatureStandardDeviations
FeatureNameVectorConstPointer m_RequestedFeatures
typename FeatureNameVector::Pointer FeatureNameVectorPointer
void SetInput(const ImageType *)
const ImageType * GetInput() const
void SetPixelValueMinMax(PixelType min, PixelType max)
typename FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
SmartPointer< Self > Pointer
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
uint8_t RunLengthFeatureName
ScalarImageToRunLengthMatrixFilter< ImageType, FrequencyContainerType > RunLengthMatrixFilterType
typename OffsetVector::Pointer OffsetVectorPointer
THistogramFrequencyContainer FrequencyContainerType
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
This class computes a run length matrix (histogram) from a given image and a mask image if provided....
SmartPointer< Self > Pointer
Histogram< MeasurementType, FrequencyContainerType > HistogramType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer