<div>Hi,</div>
<div> </div>
<div>it is not a trivial step to convert a color image to a gray scale one. It depends what is your final goal.</div>
<div> </div>
<div>There is an entire field in CG that is dealing with this conversion.</div>
<div> </div>
<div>You can use just the Y information once you have converted the RGB image to XYZ, but you loose detail of the original color image. In case you have to deal with isoluminant colors (colors with teh same luminance Y), this simple. technique will not work .</div>

<div> </div>Alessandro.<br><br>
<div class="gmail_quote">On Fri, Jan 22, 2010 at 2:45 PM, circass <span dir="ltr">&lt;<a href="mailto:circass@gmail.com">circass@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>Hi my friends,<br>i wanna reverse the image colors on a grayscale dicom file.<br><br>How i can do that ?<br>
<br>Thanx.<br>Circass<br>--<br>View this message in context: <a href="http://old.nabble.com/Reversing-Color-tp27272638p27272638.html" target="_blank">http://old.nabble.com/Reversing-Color-tp27272638p27272638.html</a><br>Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>