[ITK Community] [Insight-users] 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.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users



More information about the Community mailing list