18 #ifndef itkScalarImageToCooccurrenceMatrixFilter_h
19 #define itkScalarImageToCooccurrenceMatrixFilter_h
93 template<
typename TImageType,
94 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
130 static constexpr
unsigned int DefaultBinsPerAxis = 256;
141 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
142 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
154 itkSetMacro(Normalize,
bool);
155 itkGetConstMacro(Normalize,
bool);
156 itkBooleanMacro(Normalize);
160 using Superclass::SetInput;
166 void SetMaskImage(
const ImageType *image);
175 itkSetMacro(InsidePixelValue,
PixelType);
176 itkGetConstMacro(InsidePixelValue,
PixelType);
182 void PrintSelf(std::ostream & os,
Indent indent)
const override;
192 using Superclass::MakeOutput;
196 void GenerateData()
override;
199 void NormalizeHistogram();
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...
Light weight base class for most itk classes.
unsigned int m_NumberOfBinsPerAxis
typename ImageType::Pointer ImagePointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Define numeric traits for std::vector.
This class stores measurement vectors in the context of n-dimensional histogram.
typename ImageType::OffsetType OffsetType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename ImageType::ConstPointer ImageConstPointer
typename HistogramType::ConstPointer HistogramConstPointer
typename ImageType::PixelType PixelType
class ITK_FORWARD_EXPORT ProcessObject
ImageBaseType::SizeType SizeType
typename NumericTraits< PixelType >::RealType MeasurementType
MeasurementVectorType m_UpperBound
PixelType m_InsidePixelValue
typename ImageType::SizeType RadiusType
MeasurementVectorType m_LowerBound
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
typename OffsetVector::ConstPointer OffsetVectorConstPointer
typename Superclass::MeasurementVectorType MeasurementVectorType
OffsetVectorConstPointer m_Offsets
typename HistogramType::MeasurementVectorType MeasurementVectorType
ImageBaseType::RegionType RegionType
SmartPointer< Self > Pointer
typename ImageType::RegionType RegionType
typename OffsetVector::Pointer OffsetVectorPointer
typename HistogramType::Pointer HistogramPointer