18#ifndef itkScalarImageToRunLengthMatrixFilter_h
19#define itkScalarImageToRunLengthMatrixFilter_h
105template <
typename TImageType,
typename THistogramFrequencyContainer = DenseFrequencyContainer2>
142 static constexpr unsigned int ImageDimension = TImageType::ImageDimension;
145 static constexpr unsigned int DefaultBinsPerAxis = 256;
176 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
179 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
212 using Superclass::SetInput;
250 using Superclass::MakeOutput;
269 unsigned int m_NumberOfBinsPerAxis{};
283#ifndef ITK_MANUAL_INSTANTIATION
284# include "itkScalarImageToRunLengthMatrixFilter.hxx"
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
This class stores measurement vectors in the context of n-dimensional histogram.
This class computes a run length matrix (histogram) from a given image and a mask image if provided....
typename ImageType::PointType PointType
typename HistogramType::ConstPointer HistogramConstPointer
typename ImageType::IndexType IndexType
typename HistogramType::MeasurementVectorType MeasurementVectorType
void SetOffset(const OffsetType offset)
void NormalizeOffsetDirection(OffsetType &offset)
typename HistogramType::Pointer HistogramPointer
typename ImageType::OffsetType OffsetType
void GenerateData() override
typename ImageType::SizeType RadiusType
typename NumericTraits< PixelType >::RealType MeasurementType
typename ImageType::Pointer ImagePointer
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
~ScalarImageToRunLengthMatrixFilter() override=default
const ImageType * GetMaskImage() const
typename ImageType::RegionType RegionType
const ImageType * GetInput() const
typename ImageType::PixelType PixelType
const HistogramType * GetOutput() const
void SetMaskImage(const ImageType *image)
void PrintSelf(std::ostream &os, Indent indent) const override
void SetDistanceValueMinMax(RealType min, RealType max)
ScalarImageToRunLengthMatrixFilter()
void SetPixelValueMinMax(PixelType min, PixelType max)
typename ImageType::ConstPointer ImageConstPointer
typename NumericTraits< PixelType >::RealType RealType
typename OffsetVector::Pointer OffsetVectorPointer
void SetInput(const ImageType *image)
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
class ITK_FORWARD_EXPORT ProcessObject