30 #ifndef __itkEnhancedScalarImageToRunLengthFeaturesFilter_h 31 #define __itkEnhancedScalarImageToRunLengthFeaturesFilter_h 33 #include "itkDataObjectDecorator.h" 106 template<
typename TImageType,
107 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
143 typedef VectorContainer<
unsigned char,
154 typedef DataObjectDecorator< FeatureValueVector >
164 using Superclass::SetInput;
170 itkGetConstReferenceObjectMacro(FeatureMeans, FeatureValueVector);
171 itkGetConstReferenceObjectMacro(FeatureStandardDeviations, FeatureValueVector);
174 itkSetConstObjectMacro(RequestedFeatures, FeatureNameVector);
175 itkGetConstObjectMacro(RequestedFeatures, FeatureNameVector);
179 itkSetConstObjectMacro(Offsets, OffsetVector);
180 itkGetConstObjectMacro(Offsets, OffsetVector);
204 itkGetConstMacro(FastCalculations,
bool);
205 itkSetMacro(FastCalculations,
bool);
206 itkBooleanMacro(FastCalculations);
207 itkGetConstMacro(CombinedFeatureCalculation,
bool);
208 itkSetMacro(CombinedFeatureCalculation,
bool);
209 itkBooleanMacro(CombinedFeatureCalculation);
214 void PrintSelf( std::ostream & os, Indent indent )
const ITK_OVERRIDE;
225 using Superclass::MakeOutput;
226 DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
231 FeatureValueVectorPointer m_FeatureMeans;
232 FeatureValueVectorPointer m_FeatureStandardDeviations;
233 FeatureNameVectorConstPointer m_RequestedFeatures;
234 OffsetVectorConstPointer m_Offsets;
235 bool m_FastCalculations;
236 bool m_CombinedFeatureCalculation;
241 #ifndef ITK_MANUAL_INSTANTIATION 242 #include "itkEnhancedScalarImageToRunLengthFeaturesFilter.hxx" EnhancedScalarImageToRunLengthFeaturesFilter()
SmartPointer< const Self > ConstPointer
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType
FeatureValueVector::Pointer FeatureValueVectorPointer
void SetMaskImage(const ImageType *)
const ImageType * GetMaskImage() const
void SetDistanceValueMinMax(double min, double max)
void SetNumberOfBinsPerAxis(unsigned int)
EnhancedScalarImageToRunLengthFeaturesFilter Self
VectorContainer< unsigned char, RunLengthFeatureName > FeatureNameVector
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
~EnhancedScalarImageToRunLengthFeaturesFilter() override
OffsetVector::ConstPointer OffsetVectorConstPointer
SmartPointer< Self > Pointer
void GenerateData() ITK_OVERRIDE
ImageType::PixelType PixelType
FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
VectorContainer< unsigned char, OffsetType > OffsetVector
This class computes run length descriptions from an image.
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
DataObject::Pointer DataObjectPointer
short RunLengthFeatureName
EnhancedHistogramToRunLengthFeaturesFilter< HistogramType > RunLengthFeaturesFilterType
OffsetVector::Pointer OffsetVectorPointer
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
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
ImageType::Pointer ImagePointer
THistogramFrequencyContainer FrequencyContainerType
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
RunLengthMatrixFilterType::HistogramType HistogramType
VectorContainer< unsigned char, double > FeatureValueVector
const ImageType * GetInput() const
FeatureNameVector::Pointer FeatureNameVectorPointer
void SetInsidePixelValue(PixelType InsidePixelValue)