18 #ifndef itkScalarImageToTextureFeaturesFilter_h 19 #define itkScalarImageToTextureFeaturesFilter_h 104 template<
typename TImageType,
105 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
164 itkGetConstReferenceObjectMacro(FeatureMeans, FeatureValueVector);
165 itkGetConstReferenceObjectMacro(FeatureStandardDeviations, FeatureValueVector);
169 itkSetConstObjectMacro(RequestedFeatures, FeatureNameVector);
170 itkGetConstObjectMacro(RequestedFeatures, FeatureNameVector);
175 itkSetConstObjectMacro(Offsets, OffsetVector);
176 itkGetConstObjectMacro(Offsets, OffsetVector);
198 itkGetConstMacro(FastCalculations,
bool);
199 itkSetMacro(FastCalculations,
bool);
200 itkBooleanMacro(FastCalculations);
205 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
217 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
233 #ifndef ITK_MANUAL_INSTANTIATION 234 #include "itkScalarImageToTextureFeaturesFilter.hxx" void SetNumberOfBinsPerAxis(unsigned int)
This class computes a co-occurence matrix (histogram) from a given image and a mask image if provided...
ImageType::Pointer ImagePointer
ImageType::PixelType PixelType
OffsetVector::ConstPointer OffsetVectorConstPointer
SmartPointer< const Self > ConstPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
ScalarImageToCooccurrenceMatrixFilter< ImageType, FrequencyContainerType > CooccurrenceMatrixFilterType
ScalarImageToTextureFeaturesFilter Self
FeatureValueVectorPointer m_FeatureMeans
CooccurrenceMatrixFilterType::Pointer m_GLCMGenerator
VectorContainer< unsigned char, double > FeatureValueVector
ScalarImageToTextureFeaturesFilter()
const FeatureValueVectorDataObjectType * GetFeatureStandardDeviationsOutput() const
void SetInsidePixelValue(PixelType InsidePixelValue)
virtual ~ScalarImageToTextureFeaturesFilter()
This class stores measurement vectors in the context of n-dimensional histogram.
ImageType::OffsetType OffsetType
DataObject::Pointer DataObjectPointer
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...
FeatureValueVector::Pointer FeatureValueVectorPointer
This class computes texture descriptions from an image.
THistogramFrequencyContainer FrequencyContainerType
DataObjectDecorator< FeatureValueVector > FeatureValueVectorDataObjectType
OffsetVectorConstPointer m_Offsets
This class computes texture feature coefficients from a grey level co-occurrence matrix.
SmartPointer< Self > Pointer
void SetInput(const ImageType *)
FeatureNameVector::Pointer FeatureNameVectorPointer
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
VectorContainer< unsigned char, OffsetType > OffsetVector
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
TextureFeaturesFilterType::Pointer m_GLCMCalculator
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.
const ImageType * GetMaskImage() const
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
void SetMaskImage(const ImageType *)
virtual void GenerateData() override
FeatureNameVector::ConstPointer FeatureNameVectorConstPointer
HistogramToTextureFeaturesFilter< HistogramType > TextureFeaturesFilterType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
FeatureNameVectorConstPointer m_RequestedFeatures
const ImageType * GetInput() const
void SetPixelValueMinMax(PixelType min, PixelType max)
const FeatureValueVectorDataObjectType * GetFeatureMeansOutput() const
CooccurrenceMatrixFilterType::HistogramType HistogramType
VectorContainer< unsigned char, TextureFeatureName > FeatureNameVector
FeatureValueVectorPointer m_FeatureStandardDeviations
OffsetVector::Pointer OffsetVectorPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) override
Make a DataObject of the correct type to used as the specified output.