[vtkusers] HELP! pixel values from image data
Marcio Antonio Mathias
marcio_mathias at yahoo.com
Fri Aug 22 05:27:35 EDT 2003
Hi,
Cristos,
I am not an expert in VTK but I got some help in a
similar problem when trying to retrieve an specific
value from a 3D matrix stored in a data file.
Please check the method "GetScalarComponentAsFloat"
(thanks Mathieu). It might solve your problem.
/Marcio.
--- Christos Panagiotou <cpanagio at cs.ucl.ac.uk> wrote:
> hi all
>
> could someone "enlighten" me how could i access the
> pixel values of an
> image returned from the image reader?
> (256x256 image, is there any simple way to get the
> 256x256 array and
> lets say get the pixel value for pixel [18,48]?)
>
> in addition, if i use file prefix and the reader
> reads a number of
> slices is it possible to retrieve the array for a
> specific slice?
>
> i would really appreciate any response
>
> chris
>
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
=====
Marcio Antonio Mathias <marcio_mathias at yahoo.com>
Registered Linux user number 248543
Get counted: http://counter.li.org/
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the vtkusers
mailing list