[Insight-users] [ITK Community] newbie C++ question
Massinissa Bandou
Massinissa.Bandou at USherbrooke.ca
Mon Jan 6 21:25:32 EST 2014
Hi Matt,
thanks for replying! I used the template function below to read two images
but I don't know how can I extract their types (float, double or short)
before calling Read_Image?
template <class TYPE1,class TYPE2>
void Read_Image(TYPE1 input1, TYPE2 input2)
{
typedef itk::Image< input1, 3 > ImageType1;
typedef itk::Image< input2, 3 > ImageType2;
...
...
}
Massi
--
View this message in context: http://itk-users.7.n7.nabble.com/newbie-C-question-tp33081p33137.html
Sent from the ITK - Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list