[vtkusers] Set pixel intensity
Marc Cotran
marc at cotran.ca
Tue Oct 10 09:12:27 EDT 2006
Andres E. Munarriz Soto wrote:
>
> I've successfully managed to obtain the pixel intensity at a certain
> index. After certain calculations I now need to set the pixel
> intensity at a particular index in an output image. Does anyone know
> if a method such as ITK's SetPixel exists in VTK? Thanks in advance.
Take a look at the vtkImageData::GetScalarPointer() methods.
Marc
More information about the vtkusers
mailing list