[Insight-users] RescaleIntensityImageFilter

Michelangelo Paci pax.dark00 at gmail.com
Tue May 9 11:23:22 EDT 2006


Hi,
I'm trying to rescale an UNSIGNED INT image [-181;33] to the intensity range
[0;255] with the RescaleIntensityImageFilter.
The rescaler is templated on a float image.
The result is a totally white image (254) with some black (0) pixels, and,
of course, this is not what I want.
I've also tried to cast the output of the rescaler to an unsigned int
format, but it's useless.
The same for templating the rescaler on a unsigned int format.
Could you help me?


Thanks
Michelangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060509/b7a624de/attachment.htm


More information about the Insight-users mailing list