18#ifndef itkScalarImageToCooccurrenceMatrixFilter_h
19#define itkScalarImageToCooccurrenceMatrixFilter_h
93template <
typename TImageType,
94 typename THistogramFrequencyContainer = DenseFrequencyContainer2,
95 typename TMaskImageType = TImageType>
135 static constexpr unsigned int DefaultBinsPerAxis = 256;
147 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
148 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
161 itkSetMacro(Normalize,
bool);
162 itkGetConstMacro(Normalize,
bool);
163 itkBooleanMacro(Normalize);
167 using Superclass::SetInput;
207 using Superclass::MakeOutput;
223 unsigned int m_NumberOfBinsPerAxis{};
233#ifndef ITK_MANUAL_INSTANTIATION
234# include "itkScalarImageToCooccurrenceMatrixFilter.hxx"
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
This class stores measurement vectors in the context of n-dimensional histogram.
This class computes a co-occurrence matrix (histogram) from a given image and a mask image if provide...
const MaskImageType * GetMaskImage() const
virtual void FillHistogram(RadiusType radius, RegionType region)
void GenerateData() override
typename MaskImageType::ConstPointer MaskConstPointer
typename ImageType::Pointer ImagePointer
typename ImageType::RegionType RegionType
void SetPixelValueMinMax(PixelType min, PixelType max)
typename NumericTraits< PixelType >::RealType MeasurementType
typename MaskImageType::Pointer MaskPointer
void SetMaskImage(const MaskImageType *image)
typename OffsetVector::Pointer OffsetVectorPointer
void PrintSelf(std::ostream &os, Indent indent) const override
typename HistogramType::ConstPointer HistogramConstPointer
const ImageType * GetInput() const
typename ImageType::OffsetType OffsetType
virtual void FillHistogramWithMask(RadiusType radius, RegionType region, const MaskImageType *maskImage)
typename ImageType::PixelType PixelType
typename HistogramType::Pointer HistogramPointer
void SetOffset(const OffsetType offset)
typename HistogramType::MeasurementVectorType MeasurementVectorType
void SetInput(const ImageType *image)
typename OffsetVector::ConstPointer OffsetVectorConstPointer
typename ImageType::SizeType RadiusType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
typename MaskImageType::PixelType MaskPixelType
typename ImageType::ConstPointer ImageConstPointer
const HistogramType * GetOutput() const
~ScalarImageToCooccurrenceMatrixFilter() override=default
TMaskImageType MaskImageType
ScalarImageToCooccurrenceMatrixFilter()
void NormalizeHistogram()
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
class ITK_FORWARD_EXPORT ProcessObject