[Insight-users] [ITK Community] newbie C++ question
Dženan Zukić
dzenanz at gmail.com
Tue Jan 7 07:09:08 EST 2014
Take a look at this
thread<http://www.itk.org/pipermail/insight-users/2010-December/038894.html>and
this
example <http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType>.
On Tue, Jan 7, 2014 at 3:25 AM, Massinissa Bandou <
Massinissa.Bandou at usherbrooke.ca> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140107/63d6c29e/attachment.htm>
More information about the Insight-users
mailing list