[vtkusers] Convert RGB to greyscale

David Doria daviddoria+vtk at gmail.com
Thu Mar 4 08:56:28 EST 2010


On Thu, Mar 4, 2010 at 6:29 AM, Jérôme <jerome.velut at gmail.com> wrote:

> Hi,
> You can use either vtkImageMagnitude or vtkImageLuminance.
>
> HTH
> Jerome
>
>
Here is an example:

http://www.vtk.org/Wiki/VTK/Examples/ConvertToGreyScale
http://www.vtk.org/Wiki/VTK/Examples/ImageLuminance

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100304/8fef78f8/attachment.htm>


More information about the vtkusers mailing list