18 #ifndef __itkEnhancedHistogramToTextureFeaturesFilter_h
19 #define __itkEnhancedHistogramToTextureFeaturesFilter_h
21 #include "itkHistogram.h"
23 #include "itkProcessObject.h"
24 #include "itkSimpleDataObjectDecorator.h"
27 #define itkMacroGLCMFeatureGetter(name) \
28 const MeasurementObjectType * Get##name##Output() const; \
30 MeasurementType Get##name() const;
107 template<
typename THistogram >
132 typedef typename HistogramType::TotalAbsoluteFrequencyType
135 typedef typename HistogramType::TotalRelativeFrequencyType
142 using Superclass::SetInput;
143 void SetInput(
const HistogramType *histogram);
145 const HistogramType *
GetInput()
const;
247 virtual void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
251 using Superclass::MakeOutput;
252 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE;
258 void operator=(const Self &);
260 void ComputeMeansAndVariances(
double & pixelMean,
double & marginalMean,
261 double & marginalDevSquared,
double & pixelVariance);
263 RelativeFrequencyContainerType m_RelativeFrequencyContainer;
268 #ifndef ITK_MANUAL_INSTANTIATION
269 #include "itkEnhancedHistogramToTextureFeaturesFilter.hxx"
MeasurementType GetCorrelation() const
void SetInput(const HistogramType *histogram)
HistogramType::MeasurementVectorType MeasurementVectorType
const MeasurementObjectType * GetClusterProminenceOutput() const
itk::SmartPointer< Self > Pointer
HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
HistogramType::TotalRelativeFrequencyType TotalRelativeFrequencyType
MeasurementType GetInverseDifferenceMoment() const
HistogramType::Pointer HistogramPointer
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
~EnhancedHistogramToTextureFeaturesFilter()
SimpleDataObjectDecorator< MeasurementType > MeasurementObjectType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
itk::SmartPointer< const Self > ConstPointer
This class computes texture feature coefficients from a grey level co-occurrence matrix.
SmartPointer< const Self > ConstPointer
const MeasurementObjectType * GetClusterShadeOutput() const
HistogramType::ConstPointer HistogramConstPointer
HistogramType::IndexType IndexType
HistogramType::MeasurementType MeasurementType
const HistogramType * GetInput() const
MeasurementType GetHaralickCorrelation() const
MeasurementType GetClusterProminence() const
const MeasurementObjectType * GetHaralickCorrelationOutput() const
EnhancedHistogramToTextureFeaturesFilter Self
SmartPointer< Self > Pointer
MeasurementType GetInertia() const
MeasurementType GetEntropy() const
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
HistogramType::RelativeFrequencyType RelativeFrequencyType
MeasurementType GetEnergy() const
std::vector< RelativeFrequencyType > RelativeFrequencyContainerType
const MeasurementObjectType * GetInertiaOutput() const
DataObject::Pointer DataObjectPointer
const MeasurementObjectType * GetEnergyOutput() const
EnhancedHistogramToTextureFeaturesFilter()
const MeasurementObjectType * GetInverseDifferenceMomentOutput() const
virtual void GenerateData() ITK_OVERRIDE
MeasurementType GetClusterShade() const
const MeasurementObjectType * GetCorrelationOutput() const
MeasurementType GetFeature(TextureFeatureName name)
#define itkMacroGLCMFeatureGetter(name)
const MeasurementObjectType * GetEntropyOutput() const