30 #ifndef __itkEnhancedScalarImageToTextureFeaturesFilter_h 31 #define __itkEnhancedScalarImageToTextureFeaturesFilter_h 33 #include "itkDataObjectDecorator.h" 36 #include "itkScalarImageToCooccurrenceMatrixFilter.h" 116 template<
typename TImageType,
117 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
143 typedef ScalarImageToCooccurrenceMatrixFilter<
161 typedef DataObjectDecorator< FeatureValueVector >
170 using Superclass::SetInput;
176 itkGetConstReferenceObjectMacro(FeatureMeans, FeatureValueVector);
177 itkGetConstReferenceObjectMacro(FeatureStandardDeviations, FeatureValueVector);
180 itkSetConstObjectMacro(RequestedFeatures, FeatureNameVector);
181 itkGetConstObjectMacro(RequestedFeatures, FeatureNameVector);
185 itkSetConstObjectMacro(Offsets, OffsetVector);
186 itkGetConstObjectMacro(Offsets, OffsetVector);
206 itkGetConstMacro(FastCalculations,
bool);
207 itkSetMacro(FastCalculations,
bool);
208 itkBooleanMacro(FastCalculations);
213 void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
224 using Superclass::MakeOutput;
225 DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
228 typename CooccurrenceMatrixFilterType::Pointer m_GLCMGenerator;
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 "itkEnhancedScalarImageToTextureFeaturesFilter.hxx" FeatureValueVector::Pointer FeatureValueVectorPointer
This class computes texture descriptions from an image.
void SetMaskImage(const ImageType *)
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
~EnhancedScalarImageToTextureFeaturesFilter() override
OffsetVector::Pointer OffsetVectorPointer
void SetPixelValueMinMax(PixelType min, PixelType max)
void GenerateData() ITK_OVERRIDE
VectorContainer< unsigned char, double > FeatureValueVector
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType
VectorContainer< unsigned char, OffsetType > OffsetVector
CooccurrenceMatrixFilterType::HistogramType HistogramType
THistogramFrequencyContainer FrequencyContainerType
const ImageType * GetMaskImage() const
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
EnhancedScalarImageToTextureFeaturesFilter Self
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
const ImageType * GetInput() const
VectorContainer< unsigned char, TextureFeatureName > FeatureNameVector
DataObject::Pointer DataObjectPointer
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)
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
ScalarImageToCooccurrenceMatrixFilter< ImageType, FrequencyContainerType > CooccurrenceMatrixFilterType
EnhancedHistogramToTextureFeaturesFilter< HistogramType > TextureFeaturesFilterType
ImageType::Pointer ImagePointer
FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
SmartPointer< Self > Pointer
void SetNumberOfBinsPerAxis(unsigned int)
OffsetVector::ConstPointer OffsetVectorConstPointer
EnhancedScalarImageToTextureFeaturesFilter()
ImageType::OffsetType OffsetType