[vtkusers] Change pixel value from vtkImageData

flory florysf at gmail.com
Sun Nov 2 13:13:15 EST 2008


Hello,

I want to change the value of a pixel given its coordinates(x, y, z). I am
using VTK with Java wrapping. I have tried to set the value with
img.SetScalarComponentFromDouble(x, y, z, 0, value);
but the value is not changed.
Unfortunately in Java the GetScalarPointer is not available so I cannot use
this solution.
Has anyone tried to do this before?
I would appreciate any help or suggestion.

Regards,
              Flory

-- 
View this message in context: http://www.nabble.com/Change-pixel-value-from-vtkImageData-tp20292218p20292218.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list