18 #ifndef itkScalarImageToCooccurrenceMatrixFilter_h
19 #define itkScalarImageToCooccurrenceMatrixFilter_h
93 template<
typename TImageType,
94 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
128 itkStaticConstMacro(DefaultBinsPerAxis,
unsigned int, 256);
139 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
140 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
152 itkSetMacro(Normalize,
bool);
153 itkGetConstMacro(Normalize,
bool);
154 itkBooleanMacro(Normalize);
158 using Superclass::SetInput;
164 void SetMaskImage(
const ImageType *image);
173 itkSetMacro(InsidePixelValue,
PixelType);
174 itkGetConstMacro(InsidePixelValue,
PixelType);
180 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
182 virtual void FillHistogram(RadiusType radius, RegionType region);
184 virtual void FillHistogramWithMask(RadiusType radius, RegionType region,
const ImageType *maskImage);
190 using Superclass::MakeOutput;
194 virtual void GenerateData() ITK_OVERRIDE;
199 void NormalizeHistogram();
205 unsigned int m_NumberOfBinsPerAxis;
215 #ifndef ITK_MANUAL_INSTANTIATION
216 #include "itkScalarImageToCooccurrenceMatrixFilter.hxx"
This class computes a co-occurence matrix (histogram) from a given image and a mask image if provided...
OffsetVector::ConstPointer OffsetVectorConstPointer
OffsetVector::Pointer OffsetVectorPointer
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
HistogramType::ConstPointer HistogramConstPointer
This class stores measurement vectors in the context of n-dimensional histogram.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageType::OffsetType OffsetType
ImageType::ConstPointer ImageConstPointer
VectorContainer< unsigned char, OffsetType > OffsetVector
NumericTraits< PixelType >::RealType MeasurementType
ImageType::Pointer ImagePointer
ImageType::SizeType RadiusType
HistogramType::MeasurementVectorType MeasurementVectorType
SmartPointer< Self > Pointer
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Superclass::MeasurementVectorType MeasurementVectorType
virtual ~ScalarImageToCooccurrenceMatrixFilter() override
HistogramType::Pointer HistogramPointer
DataObject::Pointer DataObjectPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
ImageType::PixelType PixelType
ImageBaseType::SizeType SizeType
ImageType::RegionType RegionType
Define additional traits for native types such as int or float.
ScalarImageToCooccurrenceMatrixFilter Self