[vtkusers] get pixel value from vtkimagedata regardless of its data type

Lin M majcjc at gmail.com
Wed Mar 4 10:38:21 EST 2015


Hi guys,

Is there a way to get scalar data from vtkimagedata regardless of the data
type? Then I can always get the right value even though I don't know the
original data type.

I searched and vtkImageCast may change the entire data type which is not
what I mostly wanted.

Any ideas about that? Thank you very much!

Best,
Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150304/3affa2b8/attachment.html>


More information about the vtkusers mailing list