Login  Register

Re: "Grayscale" values for RGB images

Posted by Karsten Rodenacker on Feb 14, 2007; 10:31am
URL: http://imagej.273.s1.nabble.com/Grayscale-values-for-RGB-images-tp3700260p3700268.html

Be careful, your 'green' image can be a green RGB image or an 8-bit  
image with green look-up-table.
Measure will apply for RGB images a default weighting which can be  
changed by setRGBWeights() macro function. See e.g. Edit->Options-
 >Conversions.
Quite surprising that you get the same results. Typically RGB  
Conversion is weighted, e.g. by red*.3+green*.59+blue*.11!  or any  
other values!

Regards
KR

Am 13.02.2007 um 22:24 schrieb Jacqui Ross:

> I think I must have missed an update somewhere. Usually, if I want to
> measure intensity of RGB images, I have to change them to grayscale
> first (8bit) but it seems that I don't need to include this extra step
> now. I seem to get the same results whether I change my green image to
> grey or not. Is this correct?

Karsten Rodenacker
-------------------------------------------------------------------- :-)
GSF - Institute of Biomathematics and Biometry
D-85758 Oberschleissheim    Postfach 11 29
Karsten.Rodenacker_AT_gsf.de | http://ibb.gsf.de/
http://ibb.gsf.de/homepage/karsten.rodenacker/
Voice: +49 89 31873401 | Voicemail/FAX: ..193401