[vtkusers] Set pixel intensity

Andres E. Munarriz Soto munarriz.a at gmail.com
Wed Oct 11 21:22:42 EDT 2006


Hi Marc,

Thanks you for your reply.   You've pointed me in the right direction.

Regards,
Andres E. Munarriz Soto


On Oct 10, 2006, at 8:12 AM, Marc Cotran wrote:

> 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