Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkGIFGreyLevelDistanceZone.cpp File Reference
#include <mitkGIFGreyLevelDistanceZone.h>
#include <mitkITKImageImport.h>
#include <mitkImageCast.h>
#include <mitkImageAccessByItk.h>
#include <mitkIOUtil.h>
#include <itkMinimumMaximumImageCalculator.h>
#include <itkImageRegionIteratorWithIndex.h>
#include <itkBinaryCrossStructuringElement.h>
#include <itkBinaryErodeImageFilter.h>
#include <itkAddImageFilter.h>

Go to the source code of this file.

Namespaces

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

Functions

static void MatrixFeaturesTo (mitk::GreyLevelDistanceZoneFeatures features, std::string prefix, mitk::GIFGreyLevelDistanceZone::FeatureListType &featureList)
 
template<typename TPixel , unsigned int VImageDimension>
int CalculateGlSZMatrix (itk::Image< TPixel, VImageDimension > *itkImage, itk::Image< unsigned short, VImageDimension > *mask, itk::Image< unsigned short, VImageDimension > *distanceImage, std::vector< itk::Offset< VImageDimension > > offsets, bool estimateLargestRegion, mitk::GreyLevelDistanceZoneMatrixHolder &holder)
 
template<typename TPixel , unsigned int VDimension>
void itkErode2 (itk::Image< TPixel, VDimension > *sourceImage, mitk::Image::Pointer &resultImage, int &maxDistance)
 
void erode (mitk::Image::Pointer input, mitk::Image::Pointer &output, int &maxDistance)
 
void erodeAndAdd (mitk::Image::Pointer input, mitk::Image::Pointer &finalOutput, int &maxDistance)
 
static void CalculateFeatures (mitk::GreyLevelDistanceZoneMatrixHolder &holder, mitk::GreyLevelDistanceZoneFeatures &results)
 
template<typename TPixel , unsigned int VImageDimension>
static void CalculateGreyLevelDistanceZoneFeatures (itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer mask, mitk::GIFGreyLevelDistanceZone::FeatureListType &featureList, mitk::GIFGreyLevelDistanceZone::GIFGreyLevelDistanceZoneConfiguration config)
 

Function Documentation

◆ CalculateFeatures()

◆ CalculateGlSZMatrix()

template<typename TPixel , unsigned int VImageDimension>
int CalculateGlSZMatrix ( itk::Image< TPixel, VImageDimension > *  itkImage,
itk::Image< unsigned short, VImageDimension > *  mask,
itk::Image< unsigned short, VImageDimension > *  distanceImage,
std::vector< itk::Offset< VImageDimension > >  offsets,
bool  estimateLargestRegion,
mitk::GreyLevelDistanceZoneMatrixHolder &  holder 
)

Definition at line 71 of file mitkGIFGreyLevelDistanceZone.cpp.

References offset.

◆ CalculateGreyLevelDistanceZoneFeatures()

◆ erode()

void erode ( mitk::Image::Pointer  input,
mitk::Image::Pointer output,
int &  maxDistance 
)

Definition at line 222 of file mitkGIFGreyLevelDistanceZone.cpp.

References AccessByItk_2, and itkErode2().

Referenced by erodeAndAdd().

◆ erodeAndAdd()

void erodeAndAdd ( mitk::Image::Pointer  input,
mitk::Image::Pointer finalOutput,
int &  maxDistance 
)

Definition at line 228 of file mitkGIFGreyLevelDistanceZone.cpp.

References erode().

Referenced by CalculateGreyLevelDistanceZoneFeatures().

◆ itkErode2()

template<typename TPixel , unsigned int VDimension>
void itkErode2 ( itk::Image< TPixel, VDimension > *  sourceImage,
mitk::Image::Pointer resultImage,
int &  maxDistance 
)

Definition at line 160 of file mitkGIFGreyLevelDistanceZone.cpp.

References mitk::CastToMitkImage(), and max().

Referenced by erode().

◆ MatrixFeaturesTo()