34 #ifndef __itkEnhancedScalarImageToRunLengthFeaturesFilter_h
35 #define __itkEnhancedScalarImageToRunLengthFeaturesFilter_h
37 #include "itkDataObjectDecorator.h"
110 template<
typename TImageType,
111 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
147 typedef VectorContainer<
unsigned char,
158 typedef DataObjectDecorator< FeatureValueVector >
168 using Superclass::SetInput;
174 itkGetConstReferenceObjectMacro(FeatureMeans, FeatureValueVector);
175 itkGetConstReferenceObjectMacro(FeatureStandardDeviations, FeatureValueVector);
178 itkSetConstObjectMacro(RequestedFeatures, FeatureNameVector);
179 itkGetConstObjectMacro(RequestedFeatures, FeatureNameVector);
183 itkSetConstObjectMacro(Offsets, OffsetVector);
184 itkGetConstObjectMacro(Offsets, OffsetVector);
208 itkGetConstMacro(FastCalculations,
bool);
209 itkSetMacro(FastCalculations,
bool);
210 itkBooleanMacro(FastCalculations);
215 virtual void PrintSelf( std::ostream & os, Indent indent )
const ITK_OVERRIDE;
227 virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
230 typename RunLengthMatrixFilterType::Pointer m_RunLengthMatrixGenerator;
232 FeatureValueVectorPointer m_FeatureMeans;
233 FeatureValueVectorPointer m_FeatureStandardDeviations;
234 FeatureNameVectorConstPointer m_RequestedFeatures;
235 OffsetVectorConstPointer m_Offsets;
236 bool m_FastCalculations;
241 #ifndef ITK_MANUAL_INSTANTIATION
242 #include "itkEnhancedScalarImageToRunLengthFeaturesFilter.hxx"
virtual ~EnhancedScalarImageToRunLengthFeaturesFilter()
itk::SmartPointer< Self > Pointer
EnhancedScalarImageToRunLengthFeaturesFilter()
SmartPointer< const Self > ConstPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType
FeatureValueVector::Pointer FeatureValueVectorPointer
void SetMaskImage(const ImageType *)
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
virtual void GenerateData() ITK_OVERRIDE
void SetDistanceValueMinMax(double min, double max)
void SetNumberOfBinsPerAxis(unsigned int)
EnhancedScalarImageToRunLengthFeaturesFilter Self
VectorContainer< unsigned char, RunLengthFeatureName > FeatureNameVector
itk::SmartPointer< const Self > ConstPointer
OffsetVector::ConstPointer OffsetVectorConstPointer
SmartPointer< Self > Pointer
ImageType::PixelType PixelType
FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
VectorContainer< unsigned char, OffsetType > OffsetVector
This class computes run length descriptions from an image.
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
DataObject::Pointer DataObjectPointer
short RunLengthFeatureName
EnhancedHistogramToRunLengthFeaturesFilter< HistogramType > RunLengthFeaturesFilterType
OffsetVector::Pointer OffsetVectorPointer
const ImageType * GetInput() const
This class computes texture feature coefficients from a grey level run-length matrix.
void SetPixelValueMinMax(PixelType min, PixelType max)
ImageType::OffsetType OffsetType
void SetInput(const ImageType *)
EnhancedScalarImageToRunLengthMatrixFilter< ImageType, FrequencyContainerType > RunLengthMatrixFilterType
ImageType::Pointer ImagePointer
THistogramFrequencyContainer FrequencyContainerType
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
This class computes a run length matrix (histogram) from a given image and a mask image if provided...
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
const ImageType * GetMaskImage() const
RunLengthMatrixFilterType::HistogramType HistogramType
VectorContainer< unsigned char, double > FeatureValueVector
FeatureNameVector::Pointer FeatureNameVectorPointer
void SetInsidePixelValue(PixelType InsidePixelValue)