18#ifndef itkScalarImageToRunLengthMatrixFilter_h
19#define itkScalarImageToRunLengthMatrixFilter_h
95template <
typename TImageType,
typename THistogramFrequencyContainer = DenseFrequencyContainer2>
166 itkSetMacro(NumberOfBinsPerAxis,
unsigned int);
169 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
273#ifndef ITK_MANUAL_INSTANTIATION
274# include "itkScalarImageToRunLengthMatrixFilter.hxx"
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Implements transparent reference counting.
This class stores measurement vectors in the context of n-dimensional histogram.
SmartPointer< const Self > ConstPointer
ArrayType MeasurementVectorType
SmartPointer< Self > Pointer
ScalarImageToRunLengthMatrixFilter Self
typename ImageType::PointType PointType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
typename HistogramType::ConstPointer HistogramConstPointer
typename ImageType::IndexType IndexType
typename HistogramType::MeasurementVectorType MeasurementVectorType
OffsetVectorPointer m_Offsets
void SetOffset(const OffsetType offset)
void NormalizeOffsetDirection(OffsetType &offset)
typename HistogramType::Pointer HistogramPointer
typename ImageType::OffsetType OffsetType
void GenerateData() override
typename ImageType::SizeType RadiusType
VectorContainer< unsigned char, OffsetType > OffsetVector
SmartPointer< Self > Pointer
MeasurementVectorType m_UpperBound
typename NumericTraits< PixelType >::RealType MeasurementType
typename ImageType::Pointer ImagePointer
PixelType m_InsidePixelValue
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
DataObject::Pointer DataObjectPointer
SmartPointer< const Self > ConstPointer
static constexpr unsigned int ImageDimension
unsigned int m_NumberOfBinsPerAxis
~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
Histogram< MeasurementType, FrequencyContainerType > HistogramType
void SetDistanceValueMinMax(RealType min, RealType max)
ScalarImageToRunLengthMatrixFilter()
MeasurementVectorType m_LowerBound
void SetPixelValueMinMax(PixelType min, PixelType max)
typename ImageType::ConstPointer ImageConstPointer
static constexpr unsigned int DefaultBinsPerAxis
typename NumericTraits< PixelType >::RealType RealType
typename OffsetVector::Pointer OffsetVectorPointer
void SetInput(const ImageType *image)
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer