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;
102 template<
typename THistogram >
127 typedef typename HistogramType::TotalAbsoluteFrequencyType
130 typedef typename HistogramType::TotalRelativeFrequencyType
137 using Superclass::SetInput;
248 void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
252 using Superclass::MakeOutput;
259 void operator=(const
Self &);
261 void ComputeMeansAndVariances(
double & pixelMean,
double & marginalMean,
262 double & marginalDevSquared,
double & pixelVariance);
269 #ifndef ITK_MANUAL_INSTANTIATION
270 #include "itkEnhancedHistogramToTextureFeaturesFilter.hxx"
This class computes texture feature coefficients from a grey level co-occurrence matrix.
const MeasurementObjectType * GetInertiaOutput() const
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
const HistogramType * GetInput() const
const MeasurementObjectType * GetEnergyOutput() const
HistogramType::TotalRelativeFrequencyType TotalRelativeFrequencyType
MeasurementType GetHaralickCorrelation() const
MeasurementType GetInverseDifferenceMoment() const
~EnhancedHistogramToTextureFeaturesFilter() override
MeasurementType GetEntropy() const
SmartPointer< const Self > ConstPointer
std::vector< RelativeFrequencyType > RelativeFrequencyContainerType
const MeasurementObjectType * GetClusterProminenceOutput() const
MeasurementType GetClusterProminence() const
MeasurementType GetEnergy() const
const MeasurementObjectType * GetClusterShadeOutput() const
EnhancedHistogramToTextureFeaturesFilter()
HistogramType::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
SimpleDataObjectDecorator< MeasurementType > MeasurementObjectType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
HistogramType::RelativeFrequencyType RelativeFrequencyType
MeasurementType GetFeature(TextureFeatureName name)
DataObject::Pointer DataObjectPointer
HistogramType::MeasurementVectorType MeasurementVectorType
void SetInput(const HistogramType *histogram)
HistogramType::MeasurementType MeasurementType
EnhancedHistogramToTextureFeaturesFilter Self
MeasurementType GetClusterShade() const
MeasurementType GetInertia() const
const MeasurementObjectType * GetEntropyOutput() const
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType) ITK_OVERRIDE
SmartPointer< Self > Pointer
HistogramType::Pointer HistogramPointer
MeasurementType GetCorrelation() const
const MeasurementObjectType * GetInverseDifferenceMomentOutput() const
void GenerateData() ITK_OVERRIDE
const MeasurementObjectType * GetHaralickCorrelationOutput() const
HistogramType::AbsoluteFrequencyType AbsoluteFrequencyType
HistogramType::IndexType IndexType
HistogramType::ConstPointer HistogramConstPointer
@ InverseDifferenceMomentNormalized
@ InverseDifferenceMoment
@ InverseDifferenceNormalized
@ FirstMeasureOfInformationCorrelation
@ SecondMeasureOfInformationCorrelation
const MeasurementObjectType * GetCorrelationOutput() const
#define itkMacroGLCMFeatureGetter(name)