18 #ifndef itkScalarImageToRunLengthFeaturesFilter_h 19 #define itkScalarImageToRunLengthFeaturesFilter_h 94 template<
typename TImageType,
95 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
158 itkGetConstReferenceObjectMacro(FeatureMeans, FeatureValueVector);
159 itkGetConstReferenceObjectMacro(FeatureStandardDeviations, FeatureValueVector);
163 itkSetConstObjectMacro(RequestedFeatures, FeatureNameVector);
164 itkGetConstObjectMacro(RequestedFeatures, FeatureNameVector);
169 itkSetConstObjectMacro(Offsets, OffsetVector);
170 itkGetConstObjectMacro(Offsets, OffsetVector);
197 itkGetConstMacro(FastCalculations,
bool);
198 itkSetMacro(FastCalculations,
bool);
199 itkBooleanMacro(FastCalculations);
204 virtual void PrintSelf( std::ostream & os,
Indent indent )
const ITK_OVERRIDE;
216 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
230 #ifndef ITK_MANUAL_INSTANTIATION 231 #include "itkScalarImageToRunLengthFeaturesFilter.hxx" ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
VectorContainer< unsigned char, OffsetType > OffsetVector
This class computes texture feature coefficients from a grey level run-length matrix.
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
const ImageType * GetMaskImage() const
ScalarImageToRunLengthFeaturesFilter()
const ImageType * GetInput() const
FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
void SetDistanceValueMinMax(double min, double max)
ScalarImageToRunLengthMatrixFilter< ImageType, FrequencyContainerType > RunLengthMatrixFilterType
This class stores measurement vectors in the context of n-dimensional histogram.
virtual ~ScalarImageToRunLengthFeaturesFilter()
ImageType::Pointer ImagePointer
THistogramFrequencyContainer FrequencyContainerType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
short RunLengthFeatureName
FeatureNameVectorConstPointer m_RequestedFeatures
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
VectorContainer< unsigned char, double > FeatureValueVector
RunLengthMatrixFilterType::Pointer m_RunLengthMatrixGenerator
FeatureNameVector::Pointer FeatureNameVectorPointer
FeatureValueVectorPointer m_FeatureMeans
HistogramToRunLengthFeaturesFilter< HistogramType > RunLengthFeaturesFilterType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
void SetMaskImage(const ImageType *)
void SetNumberOfBinsPerAxis(unsigned int)
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.
This class computes a run length matrix (histogram) from a given image and a mask image if provided...
void SetPixelValueMinMax(PixelType min, PixelType max)
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
void SetInput(const ImageType *)
Decorates any subclass of itkObject with a DataObject API.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
OffsetVectorConstPointer m_Offsets
VectorContainer< unsigned char, RunLengthFeatureName > FeatureNameVector
RunLengthMatrixFilterType::HistogramType HistogramType
ImageType::OffsetType OffsetType
OffsetVector::Pointer OffsetVectorPointer
SmartPointer< Self > Pointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
void SetInsidePixelValue(PixelType InsidePixelValue)
ImageType::PixelType PixelType
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
DataObject::Pointer DataObjectPointer
FeatureValueVector::Pointer FeatureValueVectorPointer
This class computes run length descriptions from an image.
OffsetVector::ConstPointer OffsetVectorConstPointer
ScalarImageToRunLengthFeaturesFilter Self
FeatureValueVectorPointer m_FeatureStandardDeviations
virtual void GenerateData() override
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType