18 #ifndef itkScalarImageToCooccurrenceMatrixFilter_h
19 #define itkScalarImageToCooccurrenceMatrixFilter_h
92 template<
typename TImageType,
93 typename THistogramFrequencyContainer = DenseFrequencyContainer2 >
138 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
139 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
151 itkSetMacro(Normalize,
bool);
152 itkGetConstMacro(Normalize,
bool);
153 itkBooleanMacro(Normalize);
172 itkSetMacro(InsidePixelValue,
PixelType);
173 itkGetConstMacro(InsidePixelValue,
PixelType);
179 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
198 void operator=(const Self &);
218 #ifndef ITK_MANUAL_INSTANTIATION
219 #include "itkScalarImageToCooccurrenceMatrixFilter.hxx"
This class computes a co-occurence matrix (histogram) from a given image and a mask image if provided...
OffsetVector::ConstPointer OffsetVectorConstPointer
void SetInput(const ImageType *image)
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
OffsetVector::Pointer OffsetVectorPointer
Light weight base class for most itk classes.
unsigned int m_NumberOfBinsPerAxis
void SetMaskImage(const ImageType *image)
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
virtual void FillHistogramWithMask(RadiusType radius, RegionType region, const ImageType *maskImage)
const ImageType * GetMaskImage() const
VectorContainer< unsigned char, OffsetType > OffsetVector
NumericTraits< PixelType >::RealType MeasurementType
ImageType::Pointer ImagePointer
virtual void FillHistogram(RadiusType radius, RegionType region)
ImageType::SizeType RadiusType
HistogramType::MeasurementVectorType MeasurementVectorType
void NormalizeHistogram()
SmartPointer< Self > Pointer
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual void GenerateData() override
Superclass::MeasurementVectorType MeasurementVectorType
MeasurementVectorType m_UpperBound
PixelType m_InsidePixelValue
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
HistogramType::Pointer HistogramPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
void SetOffset(const OffsetType offset)
DataObject::Pointer DataObjectPointer
MeasurementVectorType m_LowerBound
virtual ~ScalarImageToCooccurrenceMatrixFilter()
const ImageType * GetInput() const
ScalarImageToCooccurrenceMatrixFilter()
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
ImageType::PixelType PixelType
OffsetVectorConstPointer m_Offsets
ImageType::RegionType RegionType
Define additional traits for native types such as int or float.
ScalarImageToCooccurrenceMatrixFilter Self
static const unsigned int DefaultBinsPerAxis
const HistogramType * GetOutput() const
virtual void PrintSelf(std::ostream &os, Indent indent) const override
void SetPixelValueMinMax(PixelType min, PixelType max)