Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#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) |
|
static |
Definition at line 235 of file mitkGIFGreyLevelDistanceZone.cpp.
References mitk::GreyLevelDistanceZoneFeatures::GreyLevelMean, mitk::GreyLevelDistanceZoneFeatures::GreyLevelNonUniformity, mitk::GreyLevelDistanceZoneFeatures::GreyLevelNonUniformityNormalized, mitk::GreyLevelDistanceZoneFeatures::GreyLevelVariance, mitk::GreyLevelDistanceZoneFeatures::HighGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::LargeDistanceEmphasis, mitk::GreyLevelDistanceZoneFeatures::LargeDistanceHighGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::LargeDistanceLowGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::LowGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::SmallDistanceEmphasis, mitk::GreyLevelDistanceZoneFeatures::SmallDistanceHighGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::SmallDistanceLowGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceEntropy, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceMean, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceNoneUniformityNormalized, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceNonUniformity, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceVariance, and mitk::GreyLevelDistanceZoneFeatures::ZonePercentage.
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.
|
static |
Definition at line 324 of file mitkGIFGreyLevelDistanceZone.cpp.
References mitk::GIFGreyLevelDistanceZone::GIFGreyLevelDistanceZoneConfiguration::Bins, mitk::GIFFirstOrderStatistics::CalculateFeatures(), mitk::CastToItkImage(), mitk::GIFGreyLevelDistanceZone::GIFGreyLevelDistanceZoneConfiguration::direction, mitk::GIFGreyLevelDistanceZone::GIFGreyLevelDistanceZoneConfiguration::distanceMask, erodeAndAdd(), MatrixFeaturesTo(), MITK_INFO, mitk::Image::New(), offset, mitk::GIFGreyLevelDistanceZone::GIFGreyLevelDistanceZoneConfiguration::prefix, and mitk::GIFGreyLevelDistanceZone::GIFGreyLevelDistanceZoneConfiguration::Quantifier.
Referenced by mitk::GIFGreyLevelDistanceZone::CalculateFeatures().
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().
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().
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().
|
static |
Definition at line 383 of file mitkGIFGreyLevelDistanceZone.cpp.
References mitk::GreyLevelDistanceZoneFeatures::GreyLevelMean, mitk::GreyLevelDistanceZoneFeatures::GreyLevelNonUniformity, mitk::GreyLevelDistanceZoneFeatures::GreyLevelNonUniformityNormalized, mitk::GreyLevelDistanceZoneFeatures::GreyLevelVariance, mitk::GreyLevelDistanceZoneFeatures::HighGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::LargeDistanceEmphasis, mitk::GreyLevelDistanceZoneFeatures::LargeDistanceHighGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::LargeDistanceLowGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::LowGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::SmallDistanceEmphasis, mitk::GreyLevelDistanceZoneFeatures::SmallDistanceHighGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::SmallDistanceLowGreyLevelEmphasis, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceEntropy, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceMean, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceNoneUniformityNormalized, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceNonUniformity, mitk::GreyLevelDistanceZoneFeatures::ZoneDistanceVariance, and mitk::GreyLevelDistanceZoneFeatures::ZonePercentage.
Referenced by CalculateGreyLevelDistanceZoneFeatures().