Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkGIFCooccurenceMatrix2.cpp File Reference
#include <mitkGIFCooccurenceMatrix2.h>
#include <mitkITKImageImport.h>
#include <mitkImageCast.h>
#include <mitkImageAccessByItk.h>
#include <itkEnhancedScalarImageToTextureFeaturesFilter.h>
#include <itkShapedNeighborhoodIterator.h>
#include <itkImageRegionConstIterator.h>
#include <sstream>
#include <cmath>

Go to the source code of this file.

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 

Macros

#define ADDFEATURE(a)
 
#define CALCVARIANCE(a)
 

Functions

static void MatrixFeaturesTo (mitk::CoocurenceMatrixFeatures features, std::string prefix, mitk::GIFCooccurenceMatrix2::FeatureListType &featureList)
 
static void CalculateMeanAndStdDevFeatures (std::vector< mitk::CoocurenceMatrixFeatures > featureList, mitk::CoocurenceMatrixFeatures &meanFeature, mitk::CoocurenceMatrixFeatures &stdFeature)
 
static void NormalizeMatrixFeature (mitk::CoocurenceMatrixFeatures &features, std::vcl_size_t number)
 
template<typename TPixel , unsigned int VImageDimension>
void CalculateCoOcMatrix (itk::Image< TPixel, VImageDimension > *itkImage, itk::Image< unsigned short, VImageDimension > *mask, itk::Offset< VImageDimension > offset, int range, mitk::CoocurenceMatrixHolder &holder)
 
void CalculateFeatures (mitk::CoocurenceMatrixHolder &holder, mitk::CoocurenceMatrixFeatures &results)
 
template<typename TPixel , unsigned int VImageDimension>
void CalculateCoocurenceFeatures (itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer mask, mitk::GIFCooccurenceMatrix2::FeatureListType &featureList, mitk::GIFCooccurenceMatrix2::GIFCooccurenceMatrix2Configuration config)
 

Macro Definition Documentation

◆ ADDFEATURE

#define ADDFEATURE (   a)

◆ CALCVARIANCE

#define CALCVARIANCE (   a)

Function Documentation

◆ CalculateCoOcMatrix()

template<typename TPixel , unsigned int VImageDimension>
void CalculateCoOcMatrix ( itk::Image< TPixel, VImageDimension > *  itkImage,
itk::Image< unsigned short, VImageDimension > *  mask,
itk::Offset< VImageDimension >  offset,
int  range,
mitk::CoocurenceMatrixHolder &  holder 
)

Definition at line 168 of file mitkGIFCooccurenceMatrix2.cpp.

◆ CalculateCoocurenceFeatures()

◆ CalculateFeatures()

void CalculateFeatures ( mitk::CoocurenceMatrixHolder &  holder,
mitk::CoocurenceMatrixFeatures &  results 
)

◆ CalculateMeanAndStdDevFeatures()

static void CalculateMeanAndStdDevFeatures ( std::vector< mitk::CoocurenceMatrixFeatures >  featureList,
mitk::CoocurenceMatrixFeatures &  meanFeature,
mitk::CoocurenceMatrixFeatures &  stdFeature 
)
static

◆ MatrixFeaturesTo()

static void MatrixFeaturesTo ( mitk::CoocurenceMatrixFeatures  features,
std::string  prefix,
mitk::GIFCooccurenceMatrix2::FeatureListType featureList 
)
static

Definition at line 464 of file mitkGIFCooccurenceMatrix2.cpp.

Referenced by CalculateCoocurenceFeatures().

◆ NormalizeMatrixFeature()

static void NormalizeMatrixFeature ( mitk::CoocurenceMatrixFeatures &  features,
std::vcl_size_t  number 
)
static

Definition at line 585 of file mitkGIFCooccurenceMatrix2.cpp.

Referenced by CalculateMeanAndStdDevFeatures().