[ITK] pixeltype define and template lost in python warped ITK

Matt McCormick matt.mccormick at kitware.com
Mon Sep 15 13:54:09 EDT 2014


>
> Hi,
>


>
>    -      The imagetype of itk.Image.UC3 should be used for 16 bit image
>    in all the itk instructions. But in my case it only has a range of 0-255.
>    Then I take itk.Image.F3, then it get a range of '-3.40282346639e+38
>    3.40282346639e+38' . The grey value of my image is 0-9000 . How could I
>    read it proprietorially?
>
> itk.Image.UC3 is an itk::Image with unsigned char pixels (range 0-255) and
with three dimension.  For the correspondence between mangled names and
basic types see [1].  For a 16 bit image use 'US' or 'SS'.

HTH,
Matt

[1]
http://itk.org/gitweb?p=ITK.git;a=blob;f=Wrapping/WrapBasicTypes.cmake;h=f303a1c245a541e702674f969dac8209b12f2e93;hb=HEAD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140915/d0c3c78b/attachment-0002.html>


More information about the Community mailing list