vtkImageData

Charles Law charles.law at kitware.com
Wed May 10 14:38:29 EDT 2000


There are many ways to access the pixel values in an vtkImageData object.
The following method is not efficient, but is wrapped in Tcl ...

float vtkImageData::GetScalarComponentAsFloat(int x, int y, int z, int 
component) ...


Charles.


At 08:50 PM 5/10/00 +0300, AHMED MAHMOUD wrote:
>Hi All ,
>I have a bmp image . How can I access the brightness of the pixels ??
>Thanks
>
>--------------------------------------------------------------------
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at public.kitware.com>. For help, send message body containing
>"info vtkusers" to the same address.
>--------------------------------------------------------------------

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list