18 #ifndef itkScalarImageToRunLengthMatrixFilter_h
19 #define itkScalarImageToRunLengthMatrixFilter_h
105 template<
typename TImageType,
typename THistogramFrequencyContainer =
106 DenseFrequencyContainer2>
144 static constexpr
unsigned int ImageDimension = TImageType::ImageDimension;
147 static constexpr
unsigned int DefaultBinsPerAxis = 256;
177 itkSetMacro( NumberOfBinsPerAxis,
unsigned int );
180 itkGetConstMacro( NumberOfBinsPerAxis,
unsigned int );
203 itkGetConstMacro( MinDistance,
RealType );
208 itkGetConstMacro( MaxDistance,
RealType );
211 using Superclass::SetInput;
218 void SetMaskImage(
const ImageType *image );
230 itkSetMacro( InsidePixelValue,
PixelType );
231 itkGetConstMacro( InsidePixelValue,
PixelType );
237 void PrintSelf( std::ostream& os,
Indent indent )
const override;
243 using Superclass::MakeOutput;
247 void GenerateData()
override;
256 void NormalizeOffsetDirection(
OffsetType &offset);
275 #ifndef ITK_MANUAL_INSTANTIATION
276 #include "itkScalarImageToRunLengthMatrixFilter.hxx"
typename NumericTraits< PixelType >::RealType RealType
typename HistogramType::ConstPointer HistogramConstPointer
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Define numeric traits for std::vector.
typename ImageType::OffsetType OffsetType
typename ImageType::IndexType IndexType
typename ImageType::Pointer ImagePointer
typename ImageType::RegionType RegionType
This class stores measurement vectors in the context of n-dimensional histogram.
typename HistogramType::Pointer HistogramPointer
typename ImageType::SizeType RadiusType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
PixelType m_InsidePixelValue
typename OffsetVector::Pointer OffsetVectorPointer
typename ImageType::PointType PointType
class ITK_FORWARD_EXPORT ProcessObject
typename ImageType::ConstPointer ImageConstPointer
typename ImageType::PixelType PixelType
typename NumericTraits< PixelType >::RealType MeasurementType
This class computes a run length matrix (histogram) from a given image and a mask image if provided...
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
unsigned int m_NumberOfBinsPerAxis
MeasurementVectorType m_LowerBound
typename HistogramType::MeasurementVectorType MeasurementVectorType
OffsetVectorPointer m_Offsets
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename Superclass::MeasurementVectorType MeasurementVectorType
MeasurementVectorType m_UpperBound
ImageBaseType::RegionType RegionType
SmartPointer< Self > Pointer