[vtkusers] Convert RGB to greyscale

Jérôme jerome.velut at gmail.com
Thu Mar 4 06:29:34 EST 2010


Hi,
You can use either vtkImageMagnitude or vtkImageLuminance.

HTH
Jerome

2010/3/4 Christian Werner <christian.werner at rwth-aachen.de>

> Hello!
>
> Maybe I am blind, but I don't find any filters for converting from RGB(3
> scalars) to greyscale(1 scalar). I found vtkImageHSVToRGB and such, but not
> this one.
>
> Best regards,
> Christian
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100304/c8895ff7/attachment.htm>


More information about the vtkusers mailing list