[Insight-users] Problem with registration using unsigned int as pixel type
Luis Ibanez
luis.ibanez at kitware.com
Tue Mar 17 19:07:58 EDT 2009
Hi Huanxiang,
What *specific* example are you using ?
There are 80 files in the Insight/Examples/Registration directory :-)
It will be a lot easier for us to help you if you let us know
which one of the 80 you are using.
Also,
what images are you passing as input to this registration class ?
Because, some image modalities do require negative
values (CT for example). It may be the case that you are truncating
(or worst, overflowing) the pixel values of the input images.
Please let us know the answers to the questions above
so we have some support to assist you.
Thanks,
Luis
--------------------
Huanxiang Lu wrote:
> Hello everyone,
>
>
>
> I am trying the registration example in ITK. But I found out a problem
> that if I use unsigned int as pixel type. The registration will not do
> the iteration, which means everytime I got the result of 0,0,0. However,
> if I use other pixel type such as int or short, the registration works
> normally.
>
> Could anybody tell me what's wrong?
>
>
>
> Thanks a lot!
>
> _____________________________________________
>
> Huanxiang Lu
>
> Ph.D. Student, Medical Image Analysis
>
>
>
> University of Bern
>
> ARTORG Center for Biomedical Engineering Research
>
> Stauffacherstrasse 78
>
> CH-3014 Bern
>
> Tel +41 31 631 59 49
>
> Fax +41 31 631 59 60
>
> huanxiang.lu at artorg.unibe.ch <mailto:huanxiang.lu at artorg.unibe.ch>
>
> www.artorg.unibe.ch/ <http://www.artorg.unibe.ch/>
>
>
>
>
> ------------------------------------------------------------------------
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> 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 Insight-users
mailing list