[Insight-users] CastImageFilter Error (Signed Short -> Unsigned Char)

Antonio Calabrese calantoanto at gmail.com
Fri Aug 23 16:51:34 EDT 2013


Hi Everyone,
I am trying to convert an Image from one type to another using ITK's class
CastImageFilter.
Usually i never met issues when i used it, but now i would convert an signed
short image to an unsigned char image, but the CastImageFilter fails and it
return me an image that is like an only noisy image.
Why?
Can't i convert a PixelType signed short (int16) to unsigned char (uint8)?




--
View this message in context: http://itk-users.7.n7.nabble.com/CastImageFilter-Error-Signed-Short-Unsigned-Char-tp32246.html
Sent from the ITK - Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list