34 #ifndef __itkEnhancedScalarImageToTextureFeaturesFilter_h
35 #define __itkEnhancedScalarImageToTextureFeaturesFilter_h
37 #include "itkDataObjectDecorator.h"
40 #include "itkScalarImageToCooccurrenceMatrixFilter.h"
120 template<
typename TImageType,
121 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
147 typedef ScalarImageToCooccurrenceMatrixFilter<
165 typedef DataObjectDecorator< FeatureValueVector >
174 using Superclass::SetInput;
180 itkGetConstReferenceObjectMacro(FeatureMeans, FeatureValueVector);
181 itkGetConstReferenceObjectMacro(FeatureStandardDeviations, FeatureValueVector);
184 itkSetConstObjectMacro(RequestedFeatures, FeatureNameVector);
185 itkGetConstObjectMacro(RequestedFeatures, FeatureNameVector);
189 itkSetConstObjectMacro(Offsets, OffsetVector);
190 itkGetConstObjectMacro(Offsets, OffsetVector);
210 itkGetConstMacro(FastCalculations,
bool);
211 itkSetMacro(FastCalculations,
bool);
212 itkBooleanMacro(FastCalculations);
217 virtual void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
229 virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
232 typename CooccurrenceMatrixFilterType::Pointer m_GLCMGenerator;
234 typename TextureFeaturesFilterType::Pointer m_GLCMCalculator;
236 FeatureValueVectorPointer m_FeatureMeans;
237 FeatureValueVectorPointer m_FeatureStandardDeviations;
238 FeatureNameVectorConstPointer m_RequestedFeatures;
239 OffsetVectorConstPointer m_Offsets;
240 bool m_FastCalculations;
245 #ifndef ITK_MANUAL_INSTANTIATION
246 #include "itkEnhancedScalarImageToTextureFeaturesFilter.hxx"
FeatureValueVector::Pointer FeatureValueVectorPointer
This class computes texture descriptions from an image.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
void SetMaskImage(const ImageType *)
itk::SmartPointer< Self > Pointer
const ImageType * GetInput() const
OffsetVector::Pointer OffsetVectorPointer
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
void SetPixelValueMinMax(PixelType min, PixelType max)
VectorContainer< unsigned char, double > FeatureValueVector
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType
VectorContainer< unsigned char, OffsetType > OffsetVector
CooccurrenceMatrixFilterType::HistogramType HistogramType
THistogramFrequencyContainer FrequencyContainerType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual ~EnhancedScalarImageToTextureFeaturesFilter()
EnhancedScalarImageToTextureFeaturesFilter Self
VectorContainer< unsigned char, TextureFeatureName > FeatureNameVector
const ImageType * GetMaskImage() const
virtual void GenerateData() ITK_OVERRIDE
DataObject::Pointer DataObjectPointer
itk::SmartPointer< const Self > ConstPointer
FeatureNameVector::Pointer FeatureNameVectorPointer
This class computes texture feature coefficients from a grey level co-occurrence matrix.
ImageType::PixelType PixelType
SmartPointer< const Self > ConstPointer
void SetInput(const ImageType *)
void SetInsidePixelValue(PixelType InsidePixelValue)
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
ScalarImageToCooccurrenceMatrixFilter< ImageType, FrequencyContainerType > CooccurrenceMatrixFilterType
EnhancedHistogramToTextureFeaturesFilter< HistogramType > TextureFeaturesFilterType
ImageType::Pointer ImagePointer
FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
SmartPointer< Self > Pointer
void SetNumberOfBinsPerAxis(unsigned int)
OffsetVector::ConstPointer OffsetVectorConstPointer
EnhancedScalarImageToTextureFeaturesFilter()
ImageType::OffsetType OffsetType