Accessing pixel values

Anthony Sacramone asacramone at
Wed Sep 1 17:44:44 EDT 1999

I am using vtkImageReader to read in an entire 
volume from a series of 2-D slices (1byte/pixel).

How would I access the raw pixel data ???
It is segmented into one "blob" or region per slice.
I would like to find the center of mass of each blob.

Thanks in advance.

Anthony Sacramone     Image Recognition Systems Group
C.S. Draper Labs      Phone: 617-258-4206 
555 Technology Sq     FAX:   617-258-2555
Cambridge, MA 02139   email: asacramone at

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list