Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <itkCastImageFilter.h>
#include <mitkImageToItk.h>
#include <mitkPPArgCount.h>
#include <boost/preprocessor/expand.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/preprocessor/seq/for_each_product.hpp>
#include <boost/preprocessor/seq/to_tuple.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <boost/preprocessor/tuple/rem.hpp>
#include <sstream>
Go to the source code of this file.
Classes | |
class | mitk::AccessByItkException |
Exception class thrown in AccessByItk macros. More... | |
Namespaces | |
mitk | |
Find image slices visible on a given plane. | |
Macros | |
#define | _accessByItkPixelTypeException(pixelType, pixelTypeSeq) |
#define | _accessByItkDimensionException(dim, validDims) |
#define | _checkSpecificDimensionIter(r, mitkImage, dim) |
#define | _checkSpecificDimension(mitkImage, dimSeq) |
#define | _msvc_expand_bug(macro, arg) |
#define | _accessByItk(itkImageTypeFunctionAndImageSeq, pixeltype, dimension) |
#define | _accessByItkArgs(itkImageTypeFunction, type) |
#define | _accessByItkProductIter(r, product) |
#define | _accessFixedTypeByItk(itkImageTypeFunction, mitkImage, pixelTypeSeq, dimSeq) |
#define | _accessByItk_n(itkImageTypeFunctionAndImageSeq, pixeltype, dimension, args) |
#define | _accessByItkArgs_n(itkImageTypeFunction, type, args) |
#define | _accessByItkProductIter_n(r, product) |
#define | _accessFixedTypeByItk_n(itkImageTypeFunction, mitkImage, pixelTypeSeq, dimSeq, va_tuple) |
#define | AccessByItk(mitkImage, itkImageTypeFunction) |
Access a MITK image by an ITK image. More... | |
#define | AccessFixedPixelTypeByItk(mitkImage, itkImageTypeFunction, pixelTypeSeq) |
Access a mitk-image with known pixeltype (but unknown dimension) by an itk-image. More... | |
#define | AccessIntegralPixelTypeByItk(mitkImage, itkImageTypeFunction) |
Access a mitk-image with an integral pixel type by an itk-image. More... | |
#define | AccessFloatingPixelTypeByItk(mitkImage, itkImageTypeFunction) |
Access a mitk-image with a floating point pixel type by an ITK image. More... | |
#define | AccessVectorPixelTypeByItk(mitkImage, itkImageTypeFunction) |
#define | AccessFixedDimensionByItk(mitkImage, itkImageTypeFunction, dimension) |
Access a mitk-image with known dimension by an itk-image. More... | |
#define | AccessVectorFixedDimensionByItk(mitkImage, itkImageTypeFunction, dimension) |
#define | AccessFixedTypeByItk(mitkImage, itkImageTypeFunction, pixelTypeSeq, dimSeq) |
Access a mitk-image with known type (pixel type and dimension) by an itk-image. More... | |
#define | AccessByItk_n(mitkImage, itkImageTypeFunction, va_tuple) |
Access a MITK image by an ITK image with one or more parameters. More... | |
#define | AccessFixedPixelTypeByItk_n(mitkImage, itkImageTypeFunction, pixelTypeSeq, va_tuple) |
Access a mitk-image with known pixeltype (but unknown dimension) by an itk-image with one or more parameters. More... | |
#define | AccessIntegralPixelTypeByItk_n(mitkImage, itkImageTypeFunction, va_tuple) |
Access an mitk::Image with an integral pixel type by an ITK image with one or more parameters. More... | |
#define | AccessFloatingPixelTypeByItk_n(mitkImage, itkImageTypeFunction, va_tuple) |
Access an mitk::Image with a floating point pixel type by an ITK image with one or more parameters. More... | |
#define | AccessVectorPixelTypeByItk_n(mitkImage, itkImageTypeFunction, va_tuple) |
Access a vector mitk::Image by an ITK vector image with one or more parameters. More... | |
#define | AccessFixedDimensionByItk_n(mitkImage, itkImageTypeFunction, dimension, va_tuple) |
Access a mitk-image with known dimension by an itk-image with one or more parameters. More... | |
#define | AccessVectorFixedDimensionByItk_n(mitkImage, itkImageTypeFunction, dimension, va_tuple) |
Access a vector mitk-image with known dimension by a ITK vector image with one or more parameters. More... | |
#define | AccessFixedTypeByItk_n(mitkImage, itkImageTypeFunction, pixelTypeSeq, dimSeq, va_tuple) |
Access a mitk-image with known type (pixel type and dimension) by an itk-image with one or more parameters. More... | |
#define | AccessByItk_1(mitkImage, itkImageTypeFunction, arg1) |
#define | AccessFixedPixelTypeByItk_1(mitkImage, itkImageTypeFunction, pixelTypeSeq, arg1) |
#define | AccessFixedDimensionByItk_1(mitkImage, itkImageTypeFunction, dimension, arg1) |
#define | AccessFixedTypeByItk_1(mitkImage, itkImageTypeFunction, pixelTypeSeq, dimSeq, arg1) |
#define | AccessByItk_2(mitkImage, itkImageTypeFunction, arg1, arg2) |
#define | AccessFixedPixelTypeByItk_2(mitkImage, itkImageTypeFunction, pixelTypeSeq, arg1, arg2) |
#define | AccessFixedDimensionByItk_2(mitkImage, itkImageTypeFunction, dimension, arg1, arg2) |
#define | AccessFixedTypeByItk_2(mitkImage, itkImageTypeFunction, pixelTypeSeq, dimSeq, arg1, arg2) |
#define | AccessByItk_3(mitkImage, itkImageTypeFunction, arg1, arg2, arg3) |
#define | AccessFixedPixelTypeByItk_3(mitkImage, itkImageTypeFunction, pixelTypeSeq, arg1, arg2, arg3) |
#define | AccessFixedDimensionByItk_3(mitkImage, itkImageTypeFunction, dimension, arg1, arg2, arg3) |
#define | AccessFixedTypeByItk_3(mitkImage, itkImageTypeFunction, pixelTypeSeq, dimSeq, arg1, arg2, arg3) |
#define | _accessTwoImagesByItk(itkImageTypeFunction, pixeltype1, dim1, pixeltype2, dim2) |
#define | _accessTwoImagesByItkArgs2(itkImageTypeFunction, type1, type2) |
#define | _accessTwoImagesByItkArgs(product) |
#define | _accessTwoImagesByItkIter(r, product) |
#define | _accessTwoImagesByItkForEach(itkImageTypeFunction, tseq1, tseq2) |
#define | AccessTwoImagesFixedDimensionByItk(mitkImage1, mitkImage2, itkImageTypeFunction, dimension) |
Access two mitk-images with known dimension by itk-images. More... | |
#define _accessByItk | ( | itkImageTypeFunctionAndImageSeq, | |
pixeltype, | |||
dimension | |||
) |
Definition at line 76 of file mitkImageAccessByItk.h.
#define _accessByItk_n | ( | itkImageTypeFunctionAndImageSeq, | |
pixeltype, | |||
dimension, | |||
args | |||
) |
Definition at line 104 of file mitkImageAccessByItk.h.
#define _accessByItkArgs | ( | itkImageTypeFunction, | |
type | |||
) |
Definition at line 85 of file mitkImageAccessByItk.h.
#define _accessByItkArgs_n | ( | itkImageTypeFunction, | |
type, | |||
args | |||
) |
Definition at line 114 of file mitkImageAccessByItk.h.
#define _accessByItkDimensionException | ( | dim, | |
validDims | |||
) |
Definition at line 56 of file mitkImageAccessByItk.h.
#define _accessByItkPixelTypeException | ( | pixelType, | |
pixelTypeSeq | |||
) |
Definition at line 48 of file mitkImageAccessByItk.h.
#define _accessByItkProductIter | ( | r, | |
product | |||
) |
Definition at line 94 of file mitkImageAccessByItk.h.
#define _accessByItkProductIter_n | ( | r, | |
product | |||
) |
Definition at line 126 of file mitkImageAccessByItk.h.
#define _accessFixedTypeByItk | ( | itkImageTypeFunction, | |
mitkImage, | |||
pixelTypeSeq, | |||
dimSeq | |||
) |
Definition at line 99 of file mitkImageAccessByItk.h.
#define _accessFixedTypeByItk_n | ( | itkImageTypeFunction, | |
mitkImage, | |||
pixelTypeSeq, | |||
dimSeq, | |||
va_tuple | |||
) |
Definition at line 132 of file mitkImageAccessByItk.h.
#define _accessTwoImagesByItk | ( | itkImageTypeFunction, | |
pixeltype1, | |||
dim1, | |||
pixeltype2, | |||
dim2 | |||
) |
Definition at line 595 of file mitkImageAccessByItk.h.
#define _accessTwoImagesByItkArgs | ( | product | ) |
Definition at line 617 of file mitkImageAccessByItk.h.
#define _accessTwoImagesByItkArgs2 | ( | itkImageTypeFunction, | |
type1, | |||
type2 | |||
) |
Definition at line 614 of file mitkImageAccessByItk.h.
#define _accessTwoImagesByItkForEach | ( | itkImageTypeFunction, | |
tseq1, | |||
tseq2 | |||
) |
Definition at line 632 of file mitkImageAccessByItk.h.
#define _accessTwoImagesByItkIter | ( | r, | |
product | |||
) |
Definition at line 629 of file mitkImageAccessByItk.h.
#define _checkSpecificDimension | ( | mitkImage, | |
dimSeq | |||
) |
Definition at line 68 of file mitkImageAccessByItk.h.
#define _checkSpecificDimensionIter | ( | r, | |
mitkImage, | |||
dim | |||
) |
Definition at line 63 of file mitkImageAccessByItk.h.
#define _msvc_expand_bug | ( | macro, | |
arg | |||
) |
Definition at line 72 of file mitkImageAccessByItk.h.
#define AccessByItk_1 | ( | mitkImage, | |
itkImageTypeFunction, | |||
arg1 | |||
) |
Definition at line 565 of file mitkImageAccessByItk.h.
#define AccessByItk_2 | ( | mitkImage, | |
itkImageTypeFunction, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 573 of file mitkImageAccessByItk.h.
#define AccessByItk_3 | ( | mitkImage, | |
itkImageTypeFunction, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 582 of file mitkImageAccessByItk.h.
#define AccessFixedDimensionByItk_1 | ( | mitkImage, | |
itkImageTypeFunction, | |||
dimension, | |||
arg1 | |||
) |
Definition at line 568 of file mitkImageAccessByItk.h.
#define AccessFixedDimensionByItk_2 | ( | mitkImage, | |
itkImageTypeFunction, | |||
dimension, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 577 of file mitkImageAccessByItk.h.
#define AccessFixedDimensionByItk_3 | ( | mitkImage, | |
itkImageTypeFunction, | |||
dimension, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 586 of file mitkImageAccessByItk.h.
#define AccessFixedPixelTypeByItk_1 | ( | mitkImage, | |
itkImageTypeFunction, | |||
pixelTypeSeq, | |||
arg1 | |||
) |
Definition at line 566 of file mitkImageAccessByItk.h.
#define AccessFixedPixelTypeByItk_2 | ( | mitkImage, | |
itkImageTypeFunction, | |||
pixelTypeSeq, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 575 of file mitkImageAccessByItk.h.
#define AccessFixedPixelTypeByItk_3 | ( | mitkImage, | |
itkImageTypeFunction, | |||
pixelTypeSeq, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 584 of file mitkImageAccessByItk.h.
#define AccessFixedTypeByItk_1 | ( | mitkImage, | |
itkImageTypeFunction, | |||
pixelTypeSeq, | |||
dimSeq, | |||
arg1 | |||
) |
Definition at line 570 of file mitkImageAccessByItk.h.
#define AccessFixedTypeByItk_2 | ( | mitkImage, | |
itkImageTypeFunction, | |||
pixelTypeSeq, | |||
dimSeq, | |||
arg1, | |||
arg2 | |||
) |
Definition at line 579 of file mitkImageAccessByItk.h.
#define AccessFixedTypeByItk_3 | ( | mitkImage, | |
itkImageTypeFunction, | |||
pixelTypeSeq, | |||
dimSeq, | |||
arg1, | |||
arg2, | |||
arg3 | |||
) |
Definition at line 588 of file mitkImageAccessByItk.h.
#define AccessFloatingPixelTypeByItk | ( | mitkImage, | |
itkImageTypeFunction | |||
) |
Access a mitk-image with a floating point pixel type by an ITK image.
See AccessByItk for details.
mitkImage | The MITK input image. |
itkImageTypeFunction | The templated access-function to be called. |
mitk::AccessByItkException | If mitkImage is of unsupported pixel type or dimension. |
Definition at line 248 of file mitkImageAccessByItk.h.
#define AccessFloatingPixelTypeByItk_n | ( | mitkImage, | |
itkImageTypeFunction, | |||
va_tuple | |||
) |
Access an mitk::Image with a floating point pixel type by an ITK image with one or more parameters.
See AccessByItk_n for details.
va_tuple | A variable length tuple containing the arguments to be passed to the access function itkImageTypeFunction, e.g. ("first", 2, THIRD). |
mitkImage | The MITK input image. |
itkImageTypeFunction | The templated access-function to be called. |
mitk::AccessByItkException | If mitkImage is of unsupported pixel type or dimension. |
Definition at line 444 of file mitkImageAccessByItk.h.
#define AccessIntegralPixelTypeByItk | ( | mitkImage, | |
itkImageTypeFunction | |||
) |
Access a mitk-image with an integral pixel type by an itk-image.
See AccessByItk for details.
mitkImage | The MITK input image. |
itkImageTypeFunction | The templated access-function to be called. |
mitk::AccessByItkException | If mitkImage is of unsupported pixel type or dimension. |
Definition at line 230 of file mitkImageAccessByItk.h.
#define AccessIntegralPixelTypeByItk_n | ( | mitkImage, | |
itkImageTypeFunction, | |||
va_tuple | |||
) |
Access an mitk::Image with an integral pixel type by an ITK image with one or more parameters.
See AccessByItk_n for details.
va_tuple | A variable length tuple containing the arguments to be passed to the access function itkImageTypeFunction, e.g. ("first", 2, THIRD). |
mitkImage | The MITK input image. |
itkImageTypeFunction | The templated access-function to be called. |
mitk::AccessByItkException | If mitkImage is of unsupported pixel type or dimension. |
Definition at line 420 of file mitkImageAccessByItk.h.
#define AccessVectorFixedDimensionByItk | ( | mitkImage, | |
itkImageTypeFunction, | |||
dimension | |||
) |
Definition at line 280 of file mitkImageAccessByItk.h.
#define AccessVectorPixelTypeByItk | ( | mitkImage, | |
itkImageTypeFunction | |||
) |
Definition at line 252 of file mitkImageAccessByItk.h.
#define AccessVectorPixelTypeByItk_n | ( | mitkImage, | |
itkImageTypeFunction, | |||
va_tuple | |||
) |
Access a vector mitk::Image by an ITK vector image with one or more parameters.
See AccessByItk_n for details.
va_tuple | A variable length tuple containing the arguments to be passed to the access function itkImageTypeFunction, e.g. ("first", 2, THIRD). |
mitkImage | The MITK input image. |
itkImageTypeFunction | The templated access-function to be called. |
mitk::AccessByItkException | If mitkImage is of unsupported pixel type or dimension. |
Definition at line 466 of file mitkImageAccessByItk.h.