[vtkusers] How to convert scalar type from float to unsigned short

anast.jm at pg.com anast.jm at pg.com
Wed Feb 13 10:49:38 EST 2002


vtkImageCast

...john


                                                                
 Internet Mail Message                                          
 Received from host:      public.kitware.com                    
 [208.136.18.25]                                                
                                                                


From: "Jianlong Zhou" <zhou at isg.cs.uni-magdeburg.de>@public.kitware.com on
02/13/2002 04:29 PM CET
                                                                                                        
    "Jianlong Zhou" <zhou at isg.cs.uni-magdeburg.de>           To:   vtkusers at public.kitware.com          
                               @public.kitware.com           Cc:    (bcc: John Anast-JM/PGI)            
                                                     Subject:      [vtkusers] How to convert scalar     
                                                          type from float to unsigned short             
       Sent by:  vtkusers-admin at public.kitware.com                                                      
                               02/13/2002 10:29 AM                                                      
                                                                                                        
                                                                                                        




hi, all

How to convert the output of vtkImageNonMaximumSuppression from
its float type to unsigned short type? I want to use the output of
vtkImageNonMaximumSuppression as the input of
vtkVolumeRayCastMapper, but this input needs unsigned short type.

Thank you very much.

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






More information about the vtkusers mailing list