🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.image.processing
Article #968

Re: Sorting RGB Palette in Intensity Order. Please Help !

#968
From: smith
Date: Sat, 09 Jan 1993 18:48
11 lines
1119 bytes
> I would like to sort an array of RGB Palette in intensity order,
> but do not know how.  Does anybody please help ?
> 
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.

+----------------------------------------------------------------------------+
|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: <1993Jan9.134848.7175@mcclb0.med.nyu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!rutgers!mcclb0.med.nyu.edu!smith
References: <1ie20sINNe78@charnel.ecst.csuchico.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!rutgers!mcclb0.med.nyu.edu!smith
From: smith@mcclb0.med.nyu.edu
Newsgroups: sci.image.processing
Subject: Re: Sorting RGB Palette in Intensity Order.  Please Help !
Message-ID: <1993Jan9.134848.7175@mcclb0.med.nyu.edu>
Date: 9 Jan 93 18:48:48 GMT
References: <1ie20sINNe78@charnel.ecst.csuchico.edu>
Organization: NYU Medical Center, New York, NY 10016, USA
Lines: 11