#include <mitkImageCast.h>
#include <itkImage.h>
#include <itkCastImageFilter.h>
Go to the source code of this file.
Namespaces | |
namespace | mitk |
Qmitk. | |
Defines | |
#define | TYPE_VECS(HUN) |
#define | TYPE_TEN_VECS(HUN) |
#define | TYPE_N_VEC(N_DIRS) |
#define | _TYPE_N_VEC(N_DIRS, PIXTYPE) |
Functions | |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itkImageRGBUC2 > (const mitk::Image *mitkImage, itk::SmartPointer< itkImageRGBUC2 > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itkImageDTIF2 > (const mitk::Image *mitkImage, itk::SmartPointer< itkImageDTIF2 > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itkImageDTID2 > (const mitk::Image *mitkImage, itk::SmartPointer< itkImageDTID2 > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itkImageRGBUC3 > (const mitk::Image *mitkImage, itk::SmartPointer< itkImageRGBUC3 > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itkImageDTIF3 > (const mitk::Image *mitkImage, itk::SmartPointer< itkImageDTIF3 > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itkImageDTID3 > (const mitk::Image *mitkImage, itk::SmartPointer< itkImageDTID3 > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 3 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 3 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 3 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 3 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 3 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 3 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 3 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 3 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 6 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 6 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 6 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 6 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 6 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 6 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 6 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 6 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 42 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 42 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 42 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 42 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 42 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 42 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 42 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 42 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 92 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 92 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 92 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 92 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 92 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 92 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 92 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 92 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 162 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 162 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 162 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 162 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 162 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 162 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 162 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 162 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 252 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 252 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 252 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 252 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 252 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 252 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 252 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 252 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 362 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 362 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 362 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 362 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 362 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 362 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 362 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 362 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 492 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 492 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 492 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 492 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 492 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 492 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 492 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 492 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 642 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 642 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 642 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 642 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 642 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 642 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 642 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 642 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 812 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 812 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 812 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 812 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 812 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 812 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 812 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 812 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 1002 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 1002 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< double, 1002 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< double, 1002 >, 3 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 1002 >, 2 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 1002 >, 2 > > &itkOutputImage) |
template<> | |
void MITK_CORE_EXPORT | mitk::CastToItkImage< itk::Image< itk::Vector< float, 1002 >, 3 > > (const mitk::Image *mitkImage, itk::SmartPointer< itk::Image< itk::Vector< float, 1002 >, 3 > > &itkOutputImage) |
#define _TYPE_N_VEC | ( | N_DIRS, | |
PIXTYPE | |||
) |
template <> void MITK_CORE_EXPORT CastToItkImage<itk::Image<itk::Vector<PIXTYPE,N_DIRS>, 2> >(const mitk::Image * mitkImage, itk::SmartPointer<itk::Image<itk::Vector<PIXTYPE,N_DIRS>, 2> >& itkOutputImage) \ { \ typedef itk::Vector<PIXTYPE,N_DIRS> VECTORTYPE; \ typedef itk::Image<VECTORTYPE, 2> ItkOutputImageType2; \ AccessFixedTypeByItk_1(mitkImage, _CastToItkImage2Access, VECTORTYPE, ::itk::GetImageDimension<ItkOutputImageType2>::ImageDimension, itkOutputImage); \ } \ template <> void MITK_CORE_EXPORT CastToItkImage<itk::Image<itk::Vector<PIXTYPE,N_DIRS>, 3> >(const mitk::Image * mitkImage, itk::SmartPointer<itk::Image<itk::Vector<PIXTYPE,N_DIRS>, 3> >& itkOutputImage) \ { \ typedef itk::Vector<PIXTYPE,N_DIRS> VECTORTYPE; \ typedef itk::Image<VECTORTYPE, 3> ItkOutputImageType3; \ AccessFixedTypeByItk_1(mitkImage, _CastToItkImage2Access, VECTORTYPE, ::itk::GetImageDimension<ItkOutputImageType3>::ImageDimension, itkOutputImage); \ } \
Definition at line 101 of file mitkImageCastPart4.cpp.
#define TYPE_N_VEC | ( | N_DIRS ) |
_TYPE_N_VEC(N_DIRS,double) \ _TYPE_N_VEC(N_DIRS,float) \
Definition at line 97 of file mitkImageCastPart4.cpp.
#define TYPE_TEN_VECS | ( | HUN ) |
TYPE_N_VEC(HUN + 1) \ TYPE_N_VEC(HUN + 2) \ TYPE_N_VEC(HUN + 3) \ TYPE_N_VEC(HUN + 4) \ TYPE_N_VEC(HUN + 5) \ TYPE_N_VEC(HUN + 6) \ TYPE_N_VEC(HUN + 7) \ TYPE_N_VEC(HUN + 8) \ TYPE_N_VEC(HUN + 9) \ TYPE_N_VEC(HUN + 10) \
Definition at line 85 of file mitkImageCastPart4.cpp.
#define TYPE_VECS | ( | HUN ) |
TYPE_TEN_VECS(HUN) \ TYPE_TEN_VECS(HUN + 10) \ TYPE_TEN_VECS(HUN + 20) \ TYPE_TEN_VECS(HUN + 30) \ TYPE_TEN_VECS(HUN + 40) \ TYPE_TEN_VECS(HUN + 50) \ TYPE_TEN_VECS(HUN + 60) \ TYPE_TEN_VECS(HUN + 70) \ TYPE_TEN_VECS(HUN + 80) \ TYPE_TEN_VECS(HUN + 90) \
Definition at line 73 of file mitkImageCastPart4.cpp.