18#ifndef itkRunLengthTextureFeaturesImageFilter_h
19#define itkRunLengthTextureFeaturesImageFilter_h
105template <
typename TInputImage,
106 typename TOutputImage,
107 typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
191 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
208 itkGetConstMacro(HistogramDistanceMinimum,
RealType);
215 itkGetConstMacro(HistogramDistanceMaximum,
RealType);
245 unsigned int & totalNumberOfRuns,
248 const unsigned int & pixelDistance);
251 const unsigned int & totalNumberOfRuns,
252 typename TOutputImage::PixelType & outputPixel);
281#ifndef ITK_MANUAL_INSTANTIATION
282# include "itkRunLengthTextureFeaturesImageFilter.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
itk::Size< VDimension > RadiusType
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Implements transparent reference counting.
void NormalizeOffsetDirection(OffsetType &offset)
typename OutputImageType::RegionType OutputRegionType
typename NumericTraits< OutputPixelType >::ScalarRealType OutputRealType
NeighborhoodRadiusType m_NeighborhoodRadius
RunLengthTextureFeaturesImageFilter()
bool IsInsideNeighborhood(const OffsetType &iteratedOffset)
typename OffsetVector::Pointer OffsetVectorPointer
typename NumericTraits< PixelType >::RealType MeasurementType
typename itk::ConstNeighborhoodIterator< DigitizedImageType > NeighborhoodIteratorType
void SetOffset(const OffsetType offset)
itk::Image< HistogramIndexType, TInputImage::ImageDimension > DigitizedImageType
unsigned int m_NumberOfBinsPerAxis
TInputImage::SpacingType m_Spacing
void ComputeFeatures(vnl_matrix< unsigned int > &hist, const unsigned int &totalNumberOfRuns, typename TOutputImage::PixelType &outputPixel)
void GenerateOutputInformation() override
RunLengthTextureFeaturesImageFilter Self
typename OffsetVector::ConstPointer OffsetVectorConstPointer
typename NumericTraits< PixelType >::RealType RealType
itkGetInputMacro(MaskImage, MaskImageType)
typename InputImageType::OffsetType OffsetType
PixelType m_HistogramValueMaximum
OffsetVectorPointer m_Offsets
~RunLengthTextureFeaturesImageFilter() override=default
typename MaskImageType::PixelType MaskPixelType
VectorContainer< unsigned char, OffsetType > OffsetVector
TInputImage InputImageType
TOutputImage OutputImageType
void AfterThreadedGenerateData() override
typename InputImageType::RegionType InputRegionType
DigitizedImageType::Pointer m_DigitizedInputImage
SmartPointer< Self > Pointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
MaskPixelType m_InsidePixelValue
PixelType m_HistogramValueMinimum
typename itk::ConstNeighborhoodIterator< InputImageType >::RadiusType NeighborhoodRadiusType
typename NeighborhoodIteratorType::NeighborIndexType NeighborIndexType
RealType m_HistogramDistanceMinimum
void PrintSelf(std::ostream &os, Indent indent) const override
void BeforeThreadedGenerateData() override
typename InputImageType::PixelType PixelType
static constexpr unsigned int DefaultBinsPerAxis
void DynamicThreadedGenerateData(const OutputRegionType &outputRegionForThread) override
typename InputImageType::PointType PointType
itkSetInputMacro(MaskImage, MaskImageType)
typename InputImageType::IndexType IndexType
RealType m_HistogramDistanceMaximum
void IncreaseHistogram(vnl_matrix< unsigned int > &hist, unsigned int &totalNumberOfRuns, const HistogramIndexType ¤tInNeighborhoodPixelIntensity, const OffsetType &offset, const unsigned int &pixelDistance)
SmartPointer< const Self > ConstPointer
typename OutputImageType::PixelType OutputPixelType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
#define itkConceptMacro(name, conceptType)
Compile-time check that a template argument satisfies an itk::Concept.
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
#define itkSetMacro(name, type)