[vtkusers] Casting scalar-type from 2^16 to 2^12 (hounsfield)

Charles Monty Burns ch.monty.burns at googlemail.com
Mon Nov 3 07:06:37 EST 2008


Hello,

I have a Problem with casting image scalars from a 16bit based greyscale
(unsignedShort) to the ~12bit hounsfield scala.

I m trying vtkImageShiftScale, but I don't get the result I want to have.
The hounsfield scala is from -1000 to 3000.

Any ideas?

Greetings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081103/6bb8f205/attachment.htm>


More information about the vtkusers mailing list