Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkCLUtil.h>
Public Types | |
enum | MorphologicalDimensions { Axial, Coronal, Sagital, All } |
The MorphologicalDimensions enum. More... | |
Static Public Member Functions | |
static void | CreateCheckerboardMask (mitk::Image::Pointer image, mitk::Image::Pointer &outimage) |
CreateCheckerBoardPredictionMask. More... | |
static void | InterpolateCheckerboardPrediction (mitk::Image::Pointer checkerboard_prediction, mitk::Image::Pointer &checkerboard_mask, mitk::Image::Pointer &outimage) |
InterpolateCreateCheckerboardPrediction. More... | |
static void | CountVoxel (mitk::Image::Pointer image, std::map< unsigned int, unsigned int > &map) |
CountVoxel. More... | |
static void | CountVoxel (mitk::Image::Pointer image, unsigned int label, unsigned int &count) |
CountVoxel. More... | |
static void | CountVoxel (mitk::Image::Pointer image, unsigned int &count) |
CountVoxel. More... | |
static void | SumVoxelForLabel (mitk::Image::Pointer image, const mitk::Image::Pointer &source, unsigned int label, double &val) |
SumVoxelForLabel. More... | |
static void | SqSumVoxelForLabel (mitk::Image::Pointer image, const mitk::Image::Pointer &source, unsigned int label, double &val) |
SqSumVoxelForLabel. More... | |
static void | LogicalAndImages (const Image::Pointer &image1, const Image::Pointer &image2, Image::Pointer &outimage) |
LogicalAndImages. More... | |
static void | GaussianFilter (mitk::Image::Pointer image, mitk::Image::Pointer &smoothed, double sigma) |
GaussianFilter. More... | |
static void | DifferenceOfGaussianFilter (mitk::Image::Pointer image, mitk::Image::Pointer &smoothed, double sigma1, double sigma2) |
SubtractGaussianFilter. More... | |
static void | LaplacianOfGaussianFilter (mitk::Image::Pointer image, mitk::Image::Pointer &smoothed, double sigma1) |
Laplacian of Gaussian. More... | |
static void | HessianOfGaussianFilter (mitk::Image::Pointer image, std::vector< mitk::Image::Pointer > &out, double sigma) |
SubtractGaussianFilter. More... | |
static void | LocalHistogram (mitk::Image::Pointer image, std::vector< mitk::Image::Pointer > &out, int Bins, int NeighbourhoodSize) |
Local Histogram. More... | |
template<typename TMatrixElementType > | |
static mitk::Image::Pointer | Transform (const Eigen::Matrix< TMatrixElementType, Eigen::Dynamic, Eigen::Dynamic > &matrix, const mitk::Image::Pointer &mask) |
transform More... | |
template<typename TMatrixElementType > | |
static Eigen::Matrix< TMatrixElementType, Eigen::Dynamic, Eigen::Dynamic > | Transform (const mitk::Image::Pointer &img, const mitk::Image::Pointer &mask) |
TransformImageToMatrix. More... | |
static void | DilateBinary (mitk::Image::Pointer &sourceImage, mitk::Image::Pointer &resultImage, int radius, MorphologicalDimensions d) |
DilateBinary. More... | |
static void | ErodeBinary (mitk::Image::Pointer &sourceImage, mitk::Image::Pointer &resultImage, int radius, MorphologicalDimensions d) |
ErodeBinary. More... | |
static void | ClosingBinary (mitk::Image::Pointer &sourceImage, mitk::Image::Pointer &resultImage, int radius, MorphologicalDimensions d) |
ClosingBinary. More... | |
static void | MergeLabels (mitk::Image::Pointer &img, const std::map< unsigned int, unsigned int > &map) |
MergeLabels. More... | |
static void | ConnectedComponentsImage (mitk::Image::Pointer &image, mitk::Image::Pointer &mask, mitk::Image::Pointer &outimage, unsigned int &num_components) |
ConnectedComponentsImage. More... | |
static void | GrabLabel (mitk::Image::Pointer &image, mitk::Image::Pointer &outimage, unsigned int label) |
GrabLabel. More... | |
static void | InsertLabel (mitk::Image::Pointer &image, mitk::Image::Pointer &maskImage, unsigned int label) |
itkInsertLabel More... | |
static void | ErodeGrayscale (mitk::Image::Pointer &image, unsigned int radius, mitk::CLUtil::MorphologicalDimensions d, mitk::Image::Pointer &outimage) |
ErodeGrayscale. More... | |
static void | DilateGrayscale (mitk::Image::Pointer &image, unsigned int radius, mitk::CLUtil::MorphologicalDimensions d, mitk::Image::Pointer &outimage) |
DilateGrayscale. More... | |
static void | FillHoleGrayscale (mitk::Image::Pointer &image, mitk::Image::Pointer &outimage) |
FillHoleGrayscale. More... | |
static void | ProbabilityMap (const mitk::Image::Pointer &sourceImage, double mean, double std_dev, mitk::Image::Pointer &resultImage) |
ProbabilityMap. More... | |
template<class TImageType > | |
static void | itkCountVoxel (TImageType *image, std::map< unsigned int, unsigned int > &map) |
template<class TImageType > | |
static void | itkCountVoxel (TImageType *image, typename TImageType::PixelType label, unsigned int &count) |
template<typename TImageType > | |
static void | itkCountVoxel (TImageType *mask, unsigned int &n_numSamples) |
template<class TImageType1 , class TImageType2 > | |
static void | itkSampleLabel (TImageType1 *image, TImageType2 *output, double acceptrate, unsigned int label) |
template<class TImageType > | |
static void | itkSampleLabel (TImageType *image, mitk::Image::Pointer &output, unsigned int n_samples_drawn) |
Definition at line 29 of file mitkCLUtil.h.
The MorphologicalDimensions enum.
Enumerator | |
---|---|
Axial | |
Coronal | |
Sagital | |
All |
Definition at line 35 of file mitkCLUtil.h.
|
static |
ClosingBinary.
BinaryImage | |
BinaryImage | |
Size | of the StructuringElement |
Dimension |
Definition at line 158 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3, All, Axial, mitk::CastToItkImage(), mitk::CastToMitkImage(), Coronal, image, mitk::Image::New(), offset, mitk::operator!=(), mitk::operator==(), and Sagital.
|
static |
ConnectedComponentsImage.
BinaryImage | |
BinaryImage | |
MultilabelImage | |
Number | of components found in the image |
Definition at line 78 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
CountVoxel.
image | |
map |
Definition at line 88 of file mitkCLUtil.cpp.
References AccessByItk_1, and itkCountVoxel().
Referenced by main(), ReadMitkProjectImageAndMask(), and Transform().
|
static |
CountVoxel.
image | |
label | |
count |
Definition at line 93 of file mitkCLUtil.cpp.
References AccessByItk_2, and itkCountVoxel().
|
static |
CountVoxel.
image | |
count |
Definition at line 98 of file mitkCLUtil.cpp.
References AccessByItk_1, and itkCountVoxel().
|
static |
CreateCheckerBoardPredictionMask.
image | |
outimage |
Definition at line 103 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_1.
|
static |
SubtractGaussianFilter.
image | |
smoothed | (Result is sigma1-sigma2) |
sigma1 | |
sigma2 |
Definition at line 124 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
DilateBinary.
BinaryImage | |
BinaryImage | |
Size | of the StructuringElement |
Dimension |
Definition at line 146 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
DilateGrayscale.
image | |
outimage | |
radius | |
d |
Definition at line 58 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
Referenced by main().
|
static |
ErodeBinary.
BinaryImage | |
BinaryImage | |
Size | of the StructuringElement |
Dimension |
Definition at line 152 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
ErodeGrayscale.
image | |
outimage | |
radius | |
d |
Definition at line 53 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
Referenced by main().
|
static |
FillHoleGrayscale.
image | |
outimage |
Definition at line 63 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_1.
Referenced by main().
|
static |
GaussianFilter.
image | |
smoothed | |
sigma |
Definition at line 119 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
Referenced by ProcessFeatureImages().
|
static |
GrabLabel.
MultiLabelImage | |
outimage | |
label |
Definition at line 73 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
|
static |
SubtractGaussianFilter.
image | |
smoothed | (Result is sigma1-sigma2) |
sigma1 | |
sigma2 |
Definition at line 134 of file mitkCLUtil.cpp.
References AccessByItk_2.
|
static |
itkInsertLabel
image | |
maskImage | |
label |
Definition at line 68 of file mitkCLUtil.cpp.
References AccessByItk_2.
|
static |
InterpolateCreateCheckerboardPrediction.
image | |
outimage |
Definition at line 114 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
|
inlinestatic |
|
inlinestatic |
Definition at line 332 of file mitkCLUtil.h.
|
inlinestatic |
Definition at line 343 of file mitkCLUtil.h.
References mask.
|
inlinestatic |
Definition at line 355 of file mitkCLUtil.h.
Referenced by main().
|
inlinestatic |
Definition at line 374 of file mitkCLUtil.h.
References mitk::CastToItkImage(), mitk::CastToMitkImage(), and MITK_INFO.
|
static |
Laplacian of Gaussian.
image | |
smoothed | (Result is sigma1-sigma2) |
sigma1 | |
sigma2 |
Definition at line 129 of file mitkCLUtil.cpp.
References AccessByItk_2.
|
static |
Local Histogram.
image | |
smoothed | (Result is sigma1-sigma2) |
sigma1 | |
sigma2 |
Definition at line 139 of file mitkCLUtil.cpp.
References AccessByItk_3.
|
static |
LogicalAndImages.
image1 | |
image2 |
Definition at line 108 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
|
static |
MergeLabels.
MultilabelImage | |
map | merge instruction where each map entry defines a mapping instruction. Key <sourcelabel> - Value <targetlabel> |
Definition at line 83 of file mitkCLUtil.cpp.
References AccessByItk_1.
Referenced by main(), and ReadMitkProjectImageAndMask().
|
static |
ProbabilityMap.
sourceImage | |
mean | |
std_dev | |
resultImage |
Definition at line 48 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
Referenced by main(), and ProcessFeatureImages().
|
static |
SqSumVoxelForLabel.
image | |
source | |
label | |
val |
|
static |
SumVoxelForLabel.
image | |
source | |
label | |
val |
|
inlinestatic |
transform
matrix | |
mask | |
outimage |
Definition at line 153 of file mitkCLUtil.h.
References mitk::CastToItkImage(), CountVoxel(), mitk::GrabItkImageMemory(), MITK_ERROR, and mitk::Image::New().
|
inlinestatic |
TransformImageToMatrix.
in_img | |
mask | |
out_matrix |
Definition at line 197 of file mitkCLUtil.h.
References mitk::CastToItkImage(), CountVoxel(), image, and mask.