18 #ifndef __itkScalarImageToRunLengthMatrixFilter_h
19 #define __itkScalarImageToRunLengthMatrixFilter_h
104 template<
typename TImageType,
typename THistogramFrequencyContainer =
105 DenseFrequencyContainer2>
144 TImageType::ImageDimension );
177 itkSetMacro( NumberOfBinsPerAxis,
unsigned int );
180 itkGetConstMacro( NumberOfBinsPerAxis,
unsigned int );
203 itkGetConstMacro( MinDistance,
RealType );
208 itkGetConstMacro( MaxDistance,
RealType );
230 itkSetMacro( InsidePixelValue,
PixelType );
231 itkGetConstMacro( InsidePixelValue,
PixelType );
237 virtual void PrintSelf( std::ostream& os,
Indent indent )
const ITK_OVERRIDE;
275 #ifndef ITK_MANUAL_INSTANTIATION
276 #include "itkScalarImageToRunLengthMatrixFilter.hxx"
const HistogramType * GetOutput() const
ImageType::IndexType IndexType
ScalarImageToRunLengthMatrixFilter()
Light weight base class for most itk classes.
void NormalizeOffsetDirection(OffsetType &offset)
HistogramType::Pointer HistogramPointer
const ImageType * GetInput() const
DataObject::Pointer DataObjectPointer
void SetPixelValueMinMax(PixelType min, PixelType max)
This class stores measurement vectors in the context of n-dimensional histogram.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
NumericTraits< PixelType >::RealType RealType
SmartPointer< Self > Pointer
void SetMaskImage(const ImageType *image)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageType::PointType PointType
PixelType m_InsidePixelValue
void SetOffset(const OffsetType offset)
ImageType::SizeType RadiusType
ImageType::RegionType RegionType
virtual void GenerateData() ITK_OVERRIDE
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
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
const ImageType * GetMaskImage() const
Superclass::MeasurementVectorType MeasurementVectorType
unsigned int m_NumberOfBinsPerAxis
ImageType::OffsetType OffsetType
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
MeasurementVectorType m_LowerBound
static const unsigned int ImageDimension
Histogram< MeasurementType, THistogramFrequencyContainer > HistogramType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
ImageType::ConstPointer ImageConstPointer
HistogramType::MeasurementVectorType MeasurementVectorType
OffsetVector::Pointer OffsetVectorPointer
OffsetVectorPointer m_Offsets
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.
static const unsigned int DefaultBinsPerAxis
Control indentation during Print() invocation.
void SetInput(const ImageType *image)
HistogramType::ConstPointer HistogramConstPointer
SmartPointer< const Self > ConstPointer
MeasurementVectorType m_UpperBound
Define additional traits for native types such as int or float.
virtual ~ScalarImageToRunLengthMatrixFilter()
ScalarImageToRunLengthMatrixFilter Self
void SetDistanceValueMinMax(RealType min, RealType max)
NumericTraits< PixelType >::RealType MeasurementType