Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
30 #ifndef __itkEnhancedScalarImageToRunLengthMatrixFilter_h
31 #define __itkEnhancedScalarImageToRunLengthMatrixFilter_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 );
188 itkSetMacro( NumberOfBinsPerAxis,
unsigned int );
191 itkGetConstMacro( NumberOfBinsPerAxis,
unsigned int );
214 itkGetConstMacro( MinDistance,
RealType );
219 itkGetConstMacro( MaxDistance,
RealType );
222 using Superclass::SetInput;
241 itkSetMacro( InsidePixelValue,
PixelType );
242 itkGetConstMacro( InsidePixelValue,
PixelType );
247 void PrintSelf( std::ostream& os, Indent indent )
const ITK_OVERRIDE;
253 using Superclass::MakeOutput;
270 unsigned int m_NumberOfBinsPerAxis;
284 #ifndef ITK_MANUAL_INSTANTIATION
285 #include "itkEnhancedScalarImageToRunLengthMatrixFilter.hxx"
void SetOffset(const OffsetType offset)
OffsetVector::Pointer OffsetVectorPointer
ImageType::SizeType RadiusType
void GenerateData() ITK_OVERRIDE
~EnhancedScalarImageToRunLengthMatrixFilter() override
void SetDistanceValueMinMax(RealType min, RealType max)
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
EnhancedScalarImageToRunLengthMatrixFilter Self
SmartPointer< const Self > ConstPointer
HistogramType::ConstPointer HistogramConstPointer
void SetInput(const ImageType *image)
NumericTraits< PixelType >::RealType MeasurementType
ImageType::PointType PointType
ImageType::OffsetType OffsetType
EnhancedScalarImageToRunLengthMatrixFilter()
itkGetModifiableObjectMacro(Offsets, OffsetVector)
ImageType::IndexType IndexType
ImageType::ConstPointer ImageConstPointer
const ImageType * GetInput() const
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
ImageType::PixelType PixelType
void SetPixelValueMinMax(PixelType min, PixelType max)
const ImageType * GetMaskImage() const
VectorContainer< unsigned char, OffsetType > OffsetVector
NumericTraits< PixelType >::RealType RealType
void SetMaskImage(const ImageType *image)
itkStaticConstMacro(ImageDimension, unsigned int, TImageType::ImageDimension)
ImageType::Pointer ImagePointer
void NormalizeOffsetDirection(OffsetType &offset)
DataObject::Pointer DataObjectPointer
HistogramType::MeasurementVectorType MeasurementVectorType
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
SmartPointer< Self > Pointer
const HistogramType * GetOutput() const
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
HistogramType::Pointer HistogramPointer
ImageType::RegionType RegionType
This class computes a run length matrix (histogram) from a given image and a mask image if provided....