[Insight-users] [ITK Community] newbie C++ question

Massinissa Bandou Massinissa.Bandou at USherbrooke.ca
Thu Jan 9 14:49:29 EST 2014


the problem still persist even if I modify my Read_Image function to:


const ScalarPixelType pixelType = imageIO->GetComponentType();
Read_Image(pixelType);

template <typename TYPE1>
void Read_Image(TYPE1 input)
{
        typedef itk::Image< input, 3 >  ImageType1;
        ...
        ...
}


I don't understand why it doesn't compile with two same pixel types  




--
View this message in context: http://itk-users.7.n7.nabble.com/newbie-C-question-tp33081p33157.html
Sent from the ITK - Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list