[vtkusers] transfer unsigned short data set to unsigned char data set.

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Fri May 16 06:19:11 EDT 2003


Jianlong,
	I am not sure what you call 'software' but there is class in VTK than 
can cast an image type to another: vtkImageCast.

In that case you can use:
  	SetOutputScalarTypeToUnsignedChar ()
HTH
mathieu

Jianlong Zhou wrote:
> Hi, all,
> 
> Is there a software to transfer unsigned short data set to unsigned char 
> data set? 
> 
> Thanks in advance.
> 
> Best regards,
> 
> Jianlong
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list