18#ifndef itkCoocurrenceTextureFeaturesImageFilter_h
19#define itkCoocurrenceTextureFeaturesImageFilter_h
92template <
typename TInputImage,
93 typename TOutputImage,
94 typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>>
178 itkGetConstMacro(NumberOfBinsPerAxis,
unsigned int);
198 itkGetConstMacro(Normalize,
bool);
199 itkBooleanMacro(Normalize);
219 const unsigned int totalNumberOfFreq,
220 typename TOutputImage::PixelType & outputPixel);
223 const unsigned int totalNumberOfFreq,
225 double & marginalMean,
226 double & marginalDevSquared,
227 double & pixelVariance);
255#ifndef ITK_MANUAL_INSTANTIATION
256# include "itkCoocurrenceTextureFeaturesImageFilter.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 ComputeFeatures(const vnl_matrix< unsigned int > &hist, const unsigned int totalNumberOfFreq, typename TOutputImage::PixelType &outputPixel)
void GenerateOutputInformation() override
void DynamicThreadedGenerateData(const OutputRegionType &outputRegionForThread) override
MaskPixelType m_InsidePixelValue
CoocurrenceTextureFeaturesImageFilter Self
ImageToImageFilter< TInputImage, TOutputImage > Superclass
typename InputImageType::IndexType IndexType
NeighborhoodRadiusType m_NeighborhoodRadius
PixelType m_HistogramMaximum
typename NumericTraits< PixelType >::RealType RealType
TOutputImage OutputImageType
typename OffsetVector::Pointer OffsetVectorPointer
bool IsInsideNeighborhood(const OffsetType &iteratedOffset)
OffsetVectorPointer m_Offsets
typename NumericTraits< PixelType >::RealType MeasurementType
TInputImage InputImageType
SmartPointer< Self > Pointer
typename NumericTraits< OutputPixelType >::ScalarRealType OutputRealType
itk::Image< HistogramIndexType, TInputImage::ImageDimension > DigitizedImageType
SmartPointer< const Self > ConstPointer
void AfterThreadedGenerateData() override
void BeforeThreadedGenerateData() override
typename itk::ConstNeighborhoodIterator< InputImageType >::RadiusType NeighborhoodRadiusType
typename NeighborhoodIteratorType::NeighborIndexType NeighborIndexType
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::RegionType OutputRegionType
PixelType m_HistogramMinimum
typename InputImageType::PointType PointType
typename OffsetVector::ConstPointer OffsetVectorConstPointer
typename InputImageType::RegionType InputRegionType
typename MaskImageType::PixelType MaskPixelType
void SetOffset(const OffsetType offset)
DigitizedImageType::Pointer m_DigitizedInputImage
typename InputImageType::OffsetType OffsetType
unsigned int m_NumberOfBinsPerAxis
~CoocurrenceTextureFeaturesImageFilter() override=default
typename InputImageType::PixelType PixelType
void ComputeMeansAndVariances(const vnl_matrix< unsigned int > &hist, const unsigned int totalNumberOfFreq, double &pixelMean, double &marginalMean, double &marginalDevSquared, double &pixelVariance)
typename OutputImageType::PixelType OutputPixelType
itkSetInputMacro(MaskImage, MaskImageType)
typename itk::ConstNeighborhoodIterator< DigitizedImageType > NeighborhoodIteratorType
static constexpr unsigned int DefaultBinsPerAxis
CoocurrenceTextureFeaturesImageFilter()
VectorContainer< unsigned char, OffsetType > OffsetVector
itkGetInputMacro(MaskImage, MaskImageType)
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)