RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read Chat Room


Software Photoshop, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

Reply
 
Thread Tools
  #1  
Old 10-13-2004, 11:47 AM
Ed_L's Avatar
Senior Member
 
Join Date: Aug 2001
Location: northwest Indiana, about 45 minutes from Chicago, IL
Posts: 2,824
Histogram question

I think this has come up before, but I can't remember where. Attached is an image that has a background layer only. I checked the histogram (luminance), and the histogram (levels). Nothing was done to the image, but the histograms are a lot different. Why????

Ed
Attached Images
File Type: jpg histogram-difference.jpg (97.0 KB, 25 views)
Reply With Quote
  #2  
Old 10-13-2004, 02:38 PM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 6,218
Blog Entries: 21
It looks like the primary difference is simply of scale. It doesn't change the relative values.
Reply With Quote
  #3  
Old 10-13-2004, 05:18 PM
Ed_L's Avatar
Senior Member
 
Join Date: Aug 2001
Location: northwest Indiana, about 45 minutes from Chicago, IL
Posts: 2,824
Thanks for the reply Doug. For some reason, I expected it would be you who answered. I'll take a close look.

Ed
Reply With Quote
  #4  
Old 10-14-2004, 05:38 AM
byRo's Avatar
Moderator
 
Join Date: May 2004
Location: Goianésia, Brazil
Posts: 1,593
Quote:
Originally Posted by Doug Nelson
It looks like the primary difference is simply of scale. It doesn't change the relative values.
Disagree here, Doug.
Both histograms are telling us something about the overall grayscale image - independent of color.
Making a grayscale representation of a colored image is a big subject matter discussed in many threads around here.
Here basically each histogram used a different method:
- Histogram (luminance) is showing the luminosity
- Levels histogram is simply adding up the color values (desaturate).

Here's a quick way to test it by forcing the grayscale conversion:
1) Take your photo and desaturate it - now both histograms look like the "Levels" version;
2) Go back to the original colored photo and get the luminosity (put in a new empty layer, fill with black and set to blending to color) - now both histograms will look like the "Luminance" version.

Hope this helps out.

Reply With Quote
  #5  
Old 10-14-2004, 08:38 AM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 6,218
Blog Entries: 21
I shot from the hip, and didn't give a fair answer.

According to Adobe: "The Luminosity histogram in the histogram palette/dialog is calculated as the approximate gray value of the image (Gray = 0.3 * Red + 0.59 * Green + 0.11 * Blue)" whereas "The RGB histogram in the Levels dialog is the total of the individual channel histograms".

So I was incorrect by saying "scale", when I should have said "weight". But it still doesn't change relative values as long as you're comparing them simultaneously.
Reply With Quote
  #6  
Old 10-14-2004, 06:42 PM
Ed_L's Avatar
Senior Member
 
Join Date: Aug 2001
Location: northwest Indiana, about 45 minutes from Chicago, IL
Posts: 2,824
Thanks Ro and Doug. It's a little more clear now.

Ed
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick question, it's been awhile jenjen Photo Restoration 7 09-26-2007 07:31 AM
Moon pic - enhance attempt - question ? Nacoya Photo Retouching 0 06-23-2005 07:25 AM
A Photoshop question and A touch up question scw1217 Photo Restoration 4 03-23-2002 09:41 AM
This is probably a stupid question Doug Nelson Image Help 0 08-08-2001 04:59 PM


All times are GMT -6. The time now is 12:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2008 Doug Nelson. All Rights Reserved