18#ifndef itkScalarImageToCooccurrenceMatrixFilter_h
19#define itkScalarImageToCooccurrenceMatrixFilter_h
90template <
typename TImageType,
92 typename TMaskImageType = TImageType>
144 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
145 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
158 itkSetMacro(Normalize,
bool);
159 itkGetConstMacro(Normalize,
bool);
160 itkBooleanMacro(Normalize);
230#ifndef ITK_MANUAL_INSTANTIATION
231# include "itkScalarImageToCooccurrenceMatrixFilter.hxx"
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Implements transparent reference counting.
This class is a container for frequencies of bins in an histogram.
This class stores measurement vectors in the context of n-dimensional histogram.
SmartPointer< const Self > ConstPointer
ArrayType MeasurementVectorType
SmartPointer< Self > Pointer
const MaskImageType * GetMaskImage() const
unsigned int m_NumberOfBinsPerAxis
SmartPointer< Self > Pointer
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
MaskPixelType m_InsidePixelValue
virtual void FillHistogramWithMask(RadiusType radius, RegionType region, const MaskImageType *maskImage)
SmartPointer< const Self > ConstPointer
VectorContainer< unsigned char, OffsetType > OffsetVector
DataObject::Pointer DataObjectPointer
typename ImageType::PixelType PixelType
MeasurementVectorType m_LowerBound
typename HistogramType::Pointer HistogramPointer
void SetOffset(const OffsetType offset)
static constexpr unsigned int DefaultBinsPerAxis
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
typename HistogramType::MeasurementVectorType MeasurementVectorType
void SetInput(const ImageType *image)
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
typename OffsetVector::ConstPointer OffsetVectorConstPointer
MeasurementVectorType m_UpperBound
ScalarImageToCooccurrenceMatrixFilter Self
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
OffsetVectorConstPointer m_Offsets
~ScalarImageToCooccurrenceMatrixFilter() override=default
TMaskImageType MaskImageType
ScalarImageToCooccurrenceMatrixFilter()
void NormalizeHistogram()
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer