Article View: sci.image.processing
Article #1035Re: Sorting RGB Palette in Intensity Order. Please Help !
From: Reiner Eschbach
Date: Tue, 12 Jan 1993 13:16
Date: Tue, 12 Jan 1993 13:16
20 lines
1652 bytes
1652 bytes
In article <1993Jan9.134848.7175@mcclb0.med.nyu.edu> smith@mcclb0.med.nyu.edu writes: >I sort first by min(r,g,b), then by saturation and then intensity. The goal >(I assume) is to get a sorted set of indices that displays reasonably as B&W. >Intensity=(r+g+b)/3. I would recommend Y = 0.253r + 0.684g + 0.0634b. Try to display (r,g,b)=(0,0,127) and = (0,127,0) and tell me whether you think they have the same intensity. In general I would recommend to be careful if you have to make any color to b&w conversions. HSV etc. do a very lousy job and one should stick to something like YES, YIQ, YCC, XYZ for the intensity part ( those four color spaces have the same Y component, although I am not absolutely certain for the Kodak YCC ) Reiner >+----------------------------------------------------------------------------+ >|Ross Smith, Research Computing Resource, Department of Cell Biology, NYU-MC| >|E-Mail: SMITH@NYUMED.BITNET (BITNET), SMITH@MCCLB0.MED.NYU.EDU (Internet)| >+----------------------------------------------------------------------------+
Technical Details
Message-ID:
<1993Jan12.131616.25662@spectrum.xerox.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!udel!rochester!rocksanne!abc.wrc.xerox.com!eschbachReferences:
<1ie20sINNe78@charnel.ecst.csuchico.edu> <1993Jan9.134848.7175@mcclb0.med.nyu.edu>Show Full Headers
Complete Article Headers
Newsgroups: sci.image.processing Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!udel!rochester!rocksanne!abc.wrc.xerox.com!eschbach From: eschbach@abc.wrc.xerox.com (Reiner Eschbach) Subject: Re: Sorting RGB Palette in Intensity Order. Please Help ! Message-ID: <1993Jan12.131616.25662@spectrum.xerox.com> Sender: news@spectrum.xerox.com Organization: Xerox References: <1ie20sINNe78@charnel.ecst.csuchico.edu> <1993Jan9.134848.7175@mcclb0.med.nyu.edu> Date: Tue, 12 Jan 1993 13:16:16 GMT Lines: 22