It is currently Wed Sep 30, 2026 12:32 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Desaturation Settings
PostPosted: Tue Dec 30, 2014 3:40 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 875
GIMP Version: 2.8.10
Operating System: Linux
OS Version: Ubuntu 14.04 LTS
GIMP Experience: Beginner Level



Desaturation has three options - Lightness, Luminosity, and Average.
I can see that they produce slightly different results.
Could someone explain the difference for a, not very bright, new boy?

david.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Desaturation Settings
PostPosted: Tue Dec 30, 2014 3:49 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14219
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
Lightness
The graylevel will be calculated as, Lightness = ½ × (max(R,G,B) + min(R,G,B)
Luminosity
The graylevel will be calculated as, Luminosity = 0.21 × R + 0.72 × G + 0.07 × B
Average
The graylevel will be calculated as, Average Brightness = (R + G + B) ÷ 3


This only works on layers of RGB images. If the image is in Grayscale or Indexed, it does nothing.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Desaturation Settings
PostPosted: Tue Dec 30, 2014 4:20 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 875
Many thanks for a lightning fast reply!

david.


Top
 Post subject: Re: Desaturation Settings
PostPosted: Tue Dec 30, 2014 5:04 pm  (#4) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14219
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
david wrote:
Many thanks for a lightning fast reply!

david.

Okay David. ;)

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Desaturation Settings
PostPosted: Tue Dec 30, 2014 11:40 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
If you need a more visual explanation, this might help as well (though Wallace pretty much summed it all up nicely):

http://pixls.us/articles/digital-black- ... rate-gimp-

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: Desaturation Settings
PostPosted: Wed Dec 31, 2014 4:18 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 875
patdavid,

As you say, Wallace summed it up nicely. However, the reference you gave me was fascinating. I have read it once quickly, but I think my "homework" will be to read it several times and think about the implications of the many ways to convert to greyscale.

Many thanks,
david.


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group