Medical Imaging Interaction Toolkit  2018.4.99-b585543d
Medical Imaging Interaction Toolkit
itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType > Class Template Reference

Functor for texture feature calculation based on the Cooccurence matrix. More...

#include <itkCoocurenceMatrixFeatureFunctor.h>

Collaboration diagram for itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >:

Public Types

enum  OutputFeatures {
  ENERGY, ENTROPY, CORRELATION, INERTIA,
  CLUSTERSHADE, CLUSTERPROMINENCE, HARALICKCORRELATION, INVERSEDIFFERENCEMOMENT
}
 
enum  OffsetDirection {
  DIR_x1_x0_x0, DIR_x1_x1_x0, DIR_x0_x1_x0, DIR_n1_x1_x0,
  DIR_x1_x0_x1, DIR_x1_x1_x1, DIR_x0_x1_x1, DIR_n1_x1_x1,
  DIR_x1_x0_n1, DIR_x1_x1_n1, DIR_x0_x1_n1, DIR_n1_x1_n1,
  DIR_x0_x0_x1, ROTATION_INVARIANT
}
 
typedef itk::Statistics::Histogram< double, itk::Statistics::DenseFrequencyContainer2 > HistogramType
 
typedef TNeighborhoodType::OffsetType OffsetType
 
typedef HistogramType::SizeType SizeType
 
typedef HistogramType::MeasurementVectorType MeasurementVectorType
 
typedef itk::Statistics::HistogramToTextureFeaturesFilter< HistogramTypeHistoToFeatureFilter
 
typedef vnl_vector_fixed< TPixelOutputType, OutputCountOutputVectorType
 
typedef TNeighborhoodType NeighborhoodType
 

Public Member Functions

void DirectionFlags (int flags)
 
void DirectionFlags (OffsetDirection flags)
 
void SetLevels (unsigned int lvl)
 
 NeighborhoodCooccurenceMatrix ()
 
OutputVectorType operator() (const TNeighborhoodType &it) const
 

Static Public Member Functions

static const char * GetFeatureName (unsigned int f)
 
static std::map< OffsetDirection, OffsetTypeCreateStdOffsets ()
 

Public Attributes

int m_DirectionFlags
 
std::map< OffsetDirection, OffsetTypem_offsetMap
 
unsigned int m_levels
 

Static Public Attributes

static const unsigned int OutputCount
 

Detailed Description

template<typename TNeighborhoodType, typename TPixelOutputType>
class itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >

Functor for texture feature calculation based on the Cooccurence matrix.

Definition at line 37 of file itkCoocurenceMatrixFeatureFunctor.h.

Member Typedef Documentation

◆ HistogramType

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef itk::Statistics::Histogram< double, itk::Statistics::DenseFrequencyContainer2 > itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::HistogramType

Definition at line 42 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ HistoToFeatureFilter

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef itk::Statistics::HistogramToTextureFeaturesFilter<HistogramType> itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::HistoToFeatureFilter

Definition at line 46 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ MeasurementVectorType

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef HistogramType::MeasurementVectorType itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::MeasurementVectorType

Definition at line 45 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ NeighborhoodType

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef TNeighborhoodType itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::NeighborhoodType

Definition at line 50 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ OffsetType

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef TNeighborhoodType::OffsetType itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::OffsetType

Definition at line 43 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ OutputVectorType

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef vnl_vector_fixed<TPixelOutputType, OutputCount> itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::OutputVectorType

Definition at line 49 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ SizeType

template<typename TNeighborhoodType , typename TPixelOutputType >
typedef HistogramType::SizeType itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::SizeType

Definition at line 44 of file itkCoocurenceMatrixFeatureFunctor.h.

Member Enumeration Documentation

◆ OffsetDirection

template<typename TNeighborhoodType , typename TPixelOutputType >
enum itk::Functor::NeighborhoodCooccurenceMatrix::OffsetDirection
Enumerator
DIR_x1_x0_x0 
DIR_x1_x1_x0 
DIR_x0_x1_x0 
DIR_n1_x1_x0 
DIR_x1_x0_x1 
DIR_x1_x1_x1 
DIR_x0_x1_x1 
DIR_n1_x1_x1 
DIR_x1_x0_n1 
DIR_x1_x1_n1 
DIR_x0_x1_n1 
DIR_n1_x1_n1 
DIR_x0_x0_x1 
ROTATION_INVARIANT 

Definition at line 62 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ OutputFeatures

template<typename TNeighborhoodType , typename TPixelOutputType >
enum itk::Functor::NeighborhoodCooccurenceMatrix::OutputFeatures
Enumerator
ENERGY 
ENTROPY 
CORRELATION 
INERTIA 
CLUSTERSHADE 
CLUSTERPROMINENCE 
HARALICKCORRELATION 
INVERSEDIFFERENCEMOMENT 

Definition at line 51 of file itkCoocurenceMatrixFeatureFunctor.h.

Constructor & Destructor Documentation

◆ NeighborhoodCooccurenceMatrix()

Member Function Documentation

◆ CreateStdOffsets()

template<typename TNeighborhoodType , typename TPixelOutputType >
static std::map<OffsetDirection, OffsetType > itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::CreateStdOffsets ( )
inlinestatic

◆ DirectionFlags() [1/2]

template<typename TNeighborhoodType , typename TPixelOutputType >
void itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::DirectionFlags ( int  flags)
inline

Definition at line 143 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ DirectionFlags() [2/2]

template<typename TNeighborhoodType , typename TPixelOutputType >
void itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::DirectionFlags ( OffsetDirection  flags)
inline

Definition at line 148 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ GetFeatureName()

template<typename TNeighborhoodType , typename TPixelOutputType >
static const char* itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::GetFeatureName ( unsigned int  f)
inlinestatic

Definition at line 56 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ operator()()

◆ SetLevels()

template<typename TNeighborhoodType , typename TPixelOutputType >
void itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::SetLevels ( unsigned int  lvl)
inline

Definition at line 153 of file itkCoocurenceMatrixFeatureFunctor.h.

Member Data Documentation

◆ m_DirectionFlags

template<typename TNeighborhoodType , typename TPixelOutputType >
int itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::m_DirectionFlags

Definition at line 139 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ m_levels

template<typename TNeighborhoodType , typename TPixelOutputType >
unsigned int itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::m_levels

Definition at line 141 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ m_offsetMap

template<typename TNeighborhoodType , typename TPixelOutputType >
std::map<OffsetDirection, OffsetType> itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::m_offsetMap

Definition at line 140 of file itkCoocurenceMatrixFeatureFunctor.h.

◆ OutputCount

template<typename TNeighborhoodType , typename TPixelOutputType >
const unsigned int itk::Functor::NeighborhoodCooccurenceMatrix< TNeighborhoodType, TPixelOutputType >::OutputCount
static

Definition at line 48 of file itkCoocurenceMatrixFeatureFunctor.h.


The documentation for this class was generated from the following file: