18 #ifndef itkScalarImageToRunLengthMatrixFilter_h
19 #define itkScalarImageToRunLengthMatrixFilter_h
105 template<
typename TImageType,
typename THistogramFrequencyContainer =
106 DenseFrequencyContainer2>
144 itkStaticConstMacro( ImageDimension,
unsigned int,
145 TImageType::ImageDimension );
148 itkStaticConstMacro( DefaultBinsPerAxis,
unsigned int, 256 );
178 itkSetMacro( NumberOfBinsPerAxis,
unsigned int );
181 itkGetConstMacro( NumberOfBinsPerAxis,
unsigned int );
204 itkGetConstMacro( MinDistance,
RealType );
209 itkGetConstMacro( MaxDistance,
RealType );
212 using Superclass::SetInput;
219 void SetMaskImage(
const ImageType *image );
231 itkSetMacro( InsidePixelValue,
PixelType );
232 itkGetConstMacro( InsidePixelValue,
PixelType );
238 virtual void PrintSelf( std::ostream& os,
Indent indent )
const ITK_OVERRIDE;
244 using Superclass::MakeOutput;
248 virtual void GenerateData() ITK_OVERRIDE;
257 void NormalizeOffsetDirection(
OffsetType &offset);
261 unsigned int m_NumberOfBinsPerAxis;
276 #ifndef ITK_MANUAL_INSTANTIATION
277 #include "itkScalarImageToRunLengthMatrixFilter.hxx"
ImageType::IndexType IndexType
Light weight base class for most itk classes.
HistogramType::Pointer HistogramPointer
DataObject::Pointer DataObjectPointer
This class stores measurement vectors in the context of n-dimensional histogram.
NumericTraits< PixelType >::RealType RealType
SmartPointer< Self > Pointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageType::PointType PointType
ImageType::SizeType RadiusType
ImageType::RegionType RegionType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
This class computes a run length matrix (histogram) from a given image and a mask image if provided...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Superclass::MeasurementVectorType MeasurementVectorType
ImageBaseType::PointType PointType
ImageType::OffsetType OffsetType
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
ImageType::ConstPointer ImageConstPointer
HistogramType::MeasurementVectorType MeasurementVectorType
OffsetVector::Pointer OffsetVectorPointer
virtual ~ScalarImageToRunLengthMatrixFilter() override
VectorContainer< unsigned char, OffsetType > OffsetVector
ImageType::Pointer ImagePointer
ImageType::PixelType PixelType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
HistogramType::ConstPointer HistogramConstPointer
SmartPointer< const Self > ConstPointer
ImageBaseType::SizeType SizeType
Define additional traits for native types such as int or float.
ScalarImageToRunLengthMatrixFilter Self
NumericTraits< PixelType >::RealType MeasurementType
ImageBaseType::IndexType IndexType