Medical Imaging Interaction Toolkit
2016.11.0
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... | |
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 17 of file mitkCLUtil.h.
The MorphologicalDimensions enum.
Enumerator | |
---|---|
Axial | |
Coronal | |
Sagital | |
All |
Definition at line 23 of file mitkCLUtil.h.
|
static |
ClosingBinary.
BinaryImage | |
BinaryImage | |
Size | of the StructuringElement |
Dimension |
Definition at line 118 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
ConnectedComponentsImage.
BinaryImage | |
BinaryImage | |
MultilabelImage | |
Number | of components found in the image |
Definition at line 59 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
CountVoxel.
image | |
map |
Definition at line 69 of file mitkCLUtil.cpp.
References AccessByItk_1, and itkCountVoxel().
Referenced by main(), ReadMitkProjectImageAndMask(), and Transform().
|
static |
CountVoxel.
image | |
label | |
count |
Definition at line 74 of file mitkCLUtil.cpp.
References AccessByItk_2, and itkCountVoxel().
|
static |
CountVoxel.
image | |
count |
Definition at line 79 of file mitkCLUtil.cpp.
References AccessByItk_1, and itkCountVoxel().
|
static |
CreateCheckerBoardPredictionMask.
image | |
outimage |
Definition at line 84 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_1.
|
static |
DilateBinary.
BinaryImage | |
BinaryImage | |
Size | of the StructuringElement |
Dimension |
Definition at line 106 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
DilateGrayscale.
image | |
outimage | |
radius | |
d |
Definition at line 39 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
Referenced by main().
|
static |
ErodeBinary.
BinaryImage | |
BinaryImage | |
Size | of the StructuringElement |
Dimension |
Definition at line 112 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
|
static |
ErodeGrayscale.
image | |
outimage | |
radius | |
d |
Definition at line 34 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_3.
Referenced by main().
|
static |
FillHoleGrayscale.
image | |
outimage |
Definition at line 44 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_1.
Referenced by main().
|
static |
GaussianFilter.
image | |
smoothed | |
sigma |
Definition at line 100 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
Referenced by ProcessFeatureImages().
|
static |
GrabLabel.
MultiLabelImage | |
outimage | |
label |
Definition at line 54 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
|
static |
itkInsertLabel
image | |
maskImage | |
label |
Definition at line 49 of file mitkCLUtil.cpp.
References AccessByItk_2.
|
static |
InterpolateCreateCheckerboardPrediction.
image | |
outimage |
Definition at line 95 of file mitkCLUtil.cpp.
References AccessFixedDimensionByItk_2.
|
inlinestatic |
Definition at line 271 of file mitkCLUtil.h.
Referenced by CountVoxel().
|
inlinestatic |
Definition at line 284 of file mitkCLUtil.h.
|
inlinestatic |
Definition at line 295 of file mitkCLUtil.h.
|
inlinestatic |
Definition at line 307 of file mitkCLUtil.h.
Referenced by main().
|
inlinestatic |
Definition at line 326 of file mitkCLUtil.h.
References mitk::CastToMitkImage(), and mitk::New().
|
static |
LogicalAndImages.
image1 | |
image2 |
Definition at line 89 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 64 of file mitkCLUtil.cpp.
References AccessByItk_1.
Referenced by main(), and ReadMitkProjectImageAndMask().
|
static |
ProbabilityMap.
sourceImage | |
mean | |
std_dev | |
resultImage |
Definition at line 29 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 105 of file mitkCLUtil.h.
References mitk::CastToItkImage(), CountVoxel(), mitk::GrabItkImageMemory(), MITK_ERROR, mitk::New(), and mitk::Image::New().
|
inlinestatic |
TransformImageToMatrix.
in_img | |
mask | |
out_matrix |
Definition at line 149 of file mitkCLUtil.h.
References mitk::CastToItkImage(), and CountVoxel().