Index: Algorithms/mitkImageCastPart3.cpp =================================================================== --- Algorithms/mitkImageCastPart3.cpp (revision 19441) +++ Algorithms/mitkImageCastPart3.cpp (working copy) @@ -103,6 +103,7 @@ //CAST_N_VEC(11) //CAST_N_VEC(12) CAST_N_VEC(3) +CAST_N_VEC(6) CAST_N_VEC(42) CAST_N_VEC(92) CAST_N_VEC(162) Index: Algorithms/mitkImageCastPart4.cpp =================================================================== --- Algorithms/mitkImageCastPart4.cpp (revision 19441) +++ Algorithms/mitkImageCastPart4.cpp (working copy) @@ -131,6 +131,7 @@ //TYPE_N_VEC(11) //TYPE_N_VEC(12) TYPE_N_VEC(3) +TYPE_N_VEC(6) TYPE_N_VEC(42) TYPE_N_VEC(92) TYPE_N_VEC(162) Index: IO/mitkPixelType.cpp =================================================================== --- IO/mitkPixelType.cpp (revision 19441) +++ IO/mitkPixelType.cpp (working copy) @@ -22,8 +22,7 @@ #include #include #include -//#include "itkDiffusionTensor3D.h" -//#include "itkConfidenceDiffusionTensor3D.h" +#include "itkDiffusionTensor3D.h" #define HUNDRED_VECS(HUN) \ TEN_VECS(HUN) \ @@ -191,7 +190,7 @@ SET_TYPE(char, mitkIpPicInt) SET_TYPE(unsigned char, mitkIpPicUInt) - /* + if ( *m_TypeId == typeid( itk::DiffusionTensor3D ) ) { m_TypeId = & typeid( float ); @@ -208,26 +207,8 @@ m_Bpe = sizeof(double) * 8 * m_NumberOfComponents; m_ItkTypeId = &typeid( itk::DiffusionTensor3D ); } - else if ( *m_TypeId == typeid( itk::ConfidenceDiffusionTensor3D ) ) + else if ( *m_TypeId == typeid( itk::RGBPixel ) ) { - m_TypeId = & typeid( float ); - m_NumberOfComponents *= 7; - m_Type = mitkIpPicFloat; - m_Bpe = sizeof(float) * 8 * m_NumberOfComponents; - m_ItkTypeId = &typeid( itk::ConfidenceDiffusionTensor3D ); - } - else if ( *m_TypeId == typeid( itk::ConfidenceDiffusionTensor3D ) ) - { - m_TypeId = & typeid( double ); - m_NumberOfComponents *= 7; - m_Type = mitkIpPicFloat; - m_Bpe = sizeof(double) * 8 * m_NumberOfComponents; - m_ItkTypeId = &typeid( itk::ConfidenceDiffusionTensor3D ); - } - else - */ - if ( *m_TypeId == typeid( itk::RGBPixel ) ) - { m_Type = mitkIpPicUInt; m_NumberOfComponents = 3; m_Bpe = sizeof(unsigned char) * 8 * m_NumberOfComponents; @@ -259,6 +240,7 @@ //N_VEC(12) if(false){} N_VEC(3) + N_VEC(6) N_VEC(42) N_VEC(92) N_VEC(162)