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)
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.
virtual void GenerateData() ITK_OVERRIDE
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
SmartPointer< Self > Pointer
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Superclass::MeasurementVectorType MeasurementVectorType
void NormalizeHistogram(void)
MeasurementVectorType m_UpperBound
PixelType m_InsidePixelValue
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
HistogramType::Pointer HistogramPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
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.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
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 DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
void SetPixelValueMinMax(PixelType min, PixelType max)