Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 07 Dec 2010 (Tuesday) 17:21
Search threadPrev/next
sponsored links (only for non-logged)

A comparison between the RAW and RGB Histograms in DPP

 
yb98
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Dec 07, 2010 17:21 |  #1

DPP offers a view on 2 histograms : the RAW histogram and the RGB histogram. One question that often comes to the mind is which one should I use ? and in particular is it better to modify the white/black points in the RGB histogram or in the RAW histogram ?
Some people recommend to not use the RAW histogram because it is hard to control its sliders, in particular the white point slider as the variation is very strong for a small movement. However the following test shows that, with a little patience , the result obtained by modifying the black/white points in the RAW histogram produces better results. I think this is not surprising as the RAW histogram has more information than the RGB histogram.

My personal conclusion is that both histograms are useful : the RAW histogram to make the modifications and the RGB histogram to check the result of these modifications (as the final image will be an RGB image). So the rule could be : "Modify the RAW histogram and Check the RGB histogram"

The following pics present :

  • first the original test image
  • then the image processed by modifying the white/black points of the RGB histogram
  • and at last the image processed by modifying the white/black points of the RAW histogram


In each pic, you can see in the RGB histogram, some quantitative data :
  • B : is the percentage of black points in the final image
  • W : is the percentage of white points in the final image
  • BW : is the percentage of white and black points in the final image (the sum of the previous data)
  • CG : is the position of the center of gravity of the RGB histogram. A normal exposed image should have its center of gravity at the middle of the range [0,255] ie. 127,5.


To have a reference for the comparaison, I choosed to maintain almost the same percentage of black and white pixels in both converted images.
As you can see, the image obtained by modifying the white/black points in the RAW histogram have better colors, better lighting and better contrast.

IMAGE: http://digitol.free.fr/ORG.jpg

IMAGE: http://digitol.free.fr/RGB.jpg

IMAGE: http://digitol.free.fr/RAW.jpg

Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
agedbriar
Goldmember
Avatar
2,657 posts
Likes: 399
Joined Jan 2007
Location: Slovenia
     
Dec 09, 2010 03:05 |  #2

What a difference! Thanks for bringing this up.

I also feel I need to research DPP more, unsophisticated as it seems to be.




  
  LOG IN TO REPLY
jetcode
Cream of the Crop
6,235 posts
Likes: 1
Joined Jul 2009
Location: West Marin
     
Dec 09, 2010 10:22 |  #3
bannedPermanently

Not sure why you are making distinction between Raw and RGB since the file is a raw RGB file. The only difference between hard presets (the sliders) and the graph is granularity of control. Why not use the curves graph in RGB tab?




  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Dec 09, 2010 10:27 |  #4

jetcode wrote in post #11422437 (external link)
Not sure why you are making distinction between Raw and RGB since the file is a raw RGB file. The only difference between hard presets (the sliders) and the graph is granularity of control. Why not use the curves graph in RGB tab?

because RAW data is coded on 12 or 14 bits, while in RGB it is on 8 bits. So it is less destructive I think to make the modifications on the RAW histogram rather than on the RGB histogram. See how the colors are more near to the original in the RAW version than the RGB version. I suppose there are also more chances to preserve highlights and shadows by modifying the raw histogram than the RGB histogram.


Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
jetcode
Cream of the Crop
6,235 posts
Likes: 1
Joined Jul 2009
Location: West Marin
     
Dec 09, 2010 10:33 |  #5
bannedPermanently

Raw is raw until you export the file where you select 8 or 16 bit. As far as I know it's the same data set but if that's not the case then they should have 2 exclusive tabs: control for 8 bit and control for 16 bit.

I use a combination of all those controls and export at 16 bits. According to your information this means that some adjustments are done at the 8 bit level and others at the full resolution. In color it may not matter much but in terms of luminance gradation it matters a lot.

There is only one histogram in DPP.




  
  LOG IN TO REPLY
chauncey
Cream of the Crop
Avatar
9,696 posts
Gallery: 1 photo
Likes: 467
Joined Jun 2007
Location: MI/CO
     
Dec 09, 2010 10:38 as a reply to  @ jetcode's post |  #6

I thought that going to 8 bit, in and of itself, is quite destructive...you're dumping a wide range of colors by the wayside.
Are you suggesting that you're going back and forth between 16 to 8 to 16 and not noticing anything happening?


The things you do for yourself die with you, the things you do for others live forever.
A man's worth should be judged, not when he basks in the sun, but how he faces the storm.

My stuff...http://1x.com/member/c​hauncey43 (external link)

  
  LOG IN TO REPLY
jetcode
Cream of the Crop
6,235 posts
Likes: 1
Joined Jul 2009
Location: West Marin
     
Dec 09, 2010 10:42 |  #7
bannedPermanently

chauncey wrote in post #11422553 (external link)
I thought that going to 8 bit, in and of itself, is quite destructive...you're dumping a wide range of colors by the wayside.
Are you suggesting that you're going back and forth between 16 to 8 to 16 and not noticing anything happening?


I don't know the specific internals of the controls themselves but I presume that until you export the file and select resolution everything is done on the raw full range resolution. I believe the sliders are convenient calculations and changes in the curve so the user doesn't have to tweak the histogram directly such as curves in the RGB tab. If not then I've been using the wrong information and Canon is clumsy in not making the distinction more obvious. As it stands I've switched to Lightroom which I assume manipulates the entire data set as is.

Chauncy color is computed as RGB channels which are each 8 (or 16 bit for 48 bit color) bit yielding 24 bit color which has 16 million plus variations. There may be some subtle color that is lost in the conversion but you will never see it on a screen since that gamut is even further reduced in spectrum.




  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Dec 09, 2010 10:46 |  #8

There are 2 histograms in DPP and 2 Tabs : RAW and RGB
If you go to the RGB tab, you'll see the RGB histogram and you'll see that the range of values for this histogram is between 0 and 255, which means 8 bits.
May be I'm wrong but I think that the modifications on the RGB histogram are applied after the data are converted to 8 bits.


Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
jetcode
Cream of the Crop
6,235 posts
Likes: 1
Joined Jul 2009
Location: West Marin
     
Dec 09, 2010 10:51 |  #9
bannedPermanently

I was a little confused about the two histograms existing in the Raw tab controlled by sliders and the histogram end points. Yes the RGB tab has it's own histogram and it appears to be 8 bit which clearly affects how the data is redistributed based on the curve. In other words 8 bit remap of 'n' bit raw data. Curves are about remapping in and out values. So imagine using a 8 bit table to affect a 'n' bit file. You don't lose the resolution of the data you lose resolution of the curve itself.

This is a theory. Again I'd have to see the code to know for sure.




  
  LOG IN TO REPLY
Wilt
Reader's Digest Condensed version of War and Peace [POTN Vol 1]
Avatar
46,453 posts
Gallery: 1 photo
Likes: 4545
Joined Aug 2005
Location: Belmont, CA
     
Dec 09, 2010 10:57 |  #10

Convetional wisdom is that when setting exposure in camera, one wants RGB histograms so that one can see if any single color is driven to the point of clipping. One would assume that is what you want in setting exposure in RAW adjustment, too.
As for 8-bit vs. 14-bit...the range (min to max) is the same. 14-bit simply gives more steps in between the two extremes. Think of counting 0 to 100, but one allows you to include three decimal values to the right of the decimal point, not merely integers.


You need to give me OK to edit your image and repost! Keep POTN alive and well with member support https://photography-on-the.net/forum/donate.p​hp
Canon dSLR system, Olympus OM 35mm system, Bronica ETRSi 645 system, Horseman LS 4x5 system, Metz flashes, Dynalite studio lighting, and too many accessories to mention

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Dec 09, 2010 11:16 |  #11

Well, by checking again the RGB histogram, I discovered that my histogram was in luminance mode when I have done the modifications. So I switched it to the RGB mode and here is the pic I obtain.

IMAGE: http://digitol.free.fr/RGB2.jpg

The colors look better but the brightness and contrast is still less good than the RAW version below.

IMAGE: http://digitol.free.fr/RAW.jpg

Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Dec 09, 2010 11:33 |  #12

To check if the modifications done on the RGB histogram are done before or after the data are converted to 8 bits, I have converted the image to TIFF 8 bits without modifying the RGB histogram in DPP and then I opened the image in photoshop and adjusted the black and white levels at the same values (73,250) as in DPP RGB version.
And here is the result. Both images look the same which let me think that the modifications on DPP RGB histogram are done after data are converted to 8 bits.

RGB Histogram modified in Photoshop after pic has been converted to TIFF 8 bits

IMAGE: http://digitol.free.fr/RGBPSP.jpg

RGB Histogram modified in DPP
IMAGE: http://digitol.free.fr/RGB2.jpg

Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
jetcode
Cream of the Crop
6,235 posts
Likes: 1
Joined Jul 2009
Location: West Marin
     
Dec 09, 2010 11:48 |  #13
bannedPermanently

It would be handy to find some real documentation. What I do know is that both Raw and RGB controls affect the output simultaneously. I assume that this is done on raw data and the downscale in resolution occurs on the export function. That premise however requires inside information of the image process itself because the way data is processed does matter.




  
  LOG IN TO REPLY
MGH
Senior Member
Avatar
266 posts
Likes: 47
Joined Jan 2010
Location: Malaga,Spain
     
Dec 09, 2010 12:09 |  #14

Hi...What if I use the controles in the RGB tab (that you think is in 8-bit) and then convert the RAW file to a 16-bit TIFF ?


flickr (external link)

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Dec 09, 2010 12:54 |  #15

MGH wrote in post #11423105 (external link)
Hi...What if I use the controles in the RGB tab (that you think is in 8-bit) and then convert the RAW file to a 16-bit TIFF ?

Same result.


Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

10,372 views & 0 likes for this thread, 7 members have posted to it.
A comparison between the RAW and RGB Histograms in DPP
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is vinceisvisual
941 guests, 175 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.