[ITK Community] [Insight-users] 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.
_____________________________________
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