Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
30 #ifndef __itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter_h
31 #define __itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter_h
34 #include "itkHistogram.h"
35 #include "itkNumericTraits.h"
36 #include "itkVectorContainer.h"
115 template<
typename TImageType,
typename THistogramFrequencyContainer =
116 DenseFrequencyContainer2>
145 typedef typename NumericTraits<PixelType>::RealType
RealType;
147 typedef Histogram<MeasurementType, THistogramFrequencyContainer>
155 TImageType::ImageDimension );
182 void AddOffsets(
const std::vector<OffsetType> offset );
190 itkSetMacro( NumberOfBinsPerAxis,
unsigned int );
193 itkGetConstMacro( NumberOfBinsPerAxis,
unsigned int );
216 itkGetConstMacro( MinDistance,
RealType );
221 itkGetConstMacro( MaxDistance,
RealType );
224 using Superclass::SetInput;
246 itkSetMacro( InsidePixelValue,
PixelType );
247 itkGetConstMacro( InsidePixelValue,
PixelType );
252 void PrintSelf( std::ostream& os, Indent indent )
const ITK_OVERRIDE;
258 using Superclass::MakeOutput;
275 unsigned int m_NumberOfBinsPerAxis;
291 #ifndef ITK_MANUAL_INSTANTIATION
292 #include "itkEnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter.hxx"
itkStaticConstMacro(ImageDimension, unsigned int, TImageType::ImageDimension)
void SetDistanceValueMinMax(RealType min, RealType max)
ImageType::RegionType RegionType
ImageType::SizeType RadiusType
void SetMaskImage(const ImageType *image)
void SetPixelValueMinMax(PixelType min, PixelType max)
const ImageType * GetInput() const
This class computes a run length matrix (histogram) from a given image and a mask image if provided....
void SetOffset(const OffsetType offset)
NumericTraits< PixelType >::RealType MeasurementType
ImageType::ConstPointer ImageConstPointer
OffsetVector::Pointer OffsetVectorPointer
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter()
HistogramType::ConstPointer HistogramConstPointer
NumericTraits< PixelType >::RealType RealType
ImageType::PointType PointType
void AddOffsets(const std::vector< OffsetType > offset)
ImageType::IndexType IndexType
VectorContainer< unsigned char, OffsetType > OffsetVector
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
~EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter() override
itkGetModifiableObjectMacro(Offsets, OffsetVector)
HistogramType::Pointer HistogramPointer
const ImageType * GetMaskImage() const
const HistogramType * GetOutput() const
void NormalizeOffsetDirection(OffsetType &offset)
void SetInput(const ImageType *image)
ImageType::OffsetType OffsetType
HistogramType::MeasurementVectorType MeasurementVectorType
double * GetSiMatrix() const
DataObject::Pointer DataObjectPointer
SmartPointer< Self > Pointer
ImageType::Pointer ImagePointer
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
SmartPointer< const Self > ConstPointer
ImageType::PixelType PixelType
void GenerateData() ITK_OVERRIDE
EnhancedScalarImageToNeighbourhoodGreyLevelDifferenceMatrixFilter Self