Medical Imaging Interaction Toolkit  2016.11.0
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 25 of file itkCoocurenceMatrixFeatureFunctor.h.

Member Typedef Documentation

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

Definition at line 30 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 34 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 33 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 38 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 31 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 37 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 32 of file itkCoocurenceMatrixFeatureFunctor.h.

Member Enumeration Documentation

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 50 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 39 of file itkCoocurenceMatrixFeatureFunctor.h.

Constructor & Destructor Documentation

Member Function Documentation

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

Definition at line 131 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 136 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 44 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 141 of file itkCoocurenceMatrixFeatureFunctor.h.

Member Data Documentation

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

Definition at line 127 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 129 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 128 of file itkCoocurenceMatrixFeatureFunctor.h.

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

Definition at line 36 of file itkCoocurenceMatrixFeatureFunctor.h.


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