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 29 May 2016 (Sunday) 12:07
Search threadPrev/next
sponsored links (only for non-logged)

I'm back down the colour management rabbit hole . . . Canon RAW Gamut & Colour Space (6D & 5D3)

 
neacail
Goldmember
Avatar
1,188 posts
Gallery: 43 photos
Likes: 441
Joined Dec 2013
Location: Calgary, AB, Canada
     
May 29, 2016 12:07 |  #1

So, someone said something to me yesterday that has me scratching my head and looking for documentation. I'm having a terrible time turning documentation up in searching Google.

My understanding, for the last several years, is that when a photograph is captured by the sensor it is 14bit and has no colour space, but when written to the RAW file it is 14bit LAB (with the sRGB or aRGB settings just affecting LCD preview and JPGs).

From what I read yesterday (a DP Review thread from 2004), it may actually be 14bit sYCC (YCbCr colour space). I had never heard of this before, but apparently it is an extended format RGB colour space. I don't know if Canon moved to using LAB more recently, or if they've used sYCC since 2003 (when the DP thread indicated the colour space information was from).

What was said to me yesterday was that my camera RAW files were RGB. My "inside voice" said, "No. They're LAB." But, if they're sYCC they are probably technically RGB . . . in which case it is a good thing I didn't use my "outside voice" to express what I thought was fact.

I'm regularly wrong about things, and I'm perfectly content with that, but I hate to discover that I'm wrong after emphatically arguing my erroneous understanding of the facts with someone. I just wind up feeling like an opinionated and uneducated jerk.

Whether this person was right or wrong doesn't matter to me. Whether right or wrong I won't be discussing it the person in question. I respect the person, and I have no desire to engage in a pissing match, or let the person know that I even questioned his/her knowledge on the matter. It just isn't important. Life is too short to complicate relationships with people I enjoy and respect.

Interestingly, it was my first Photoshop instructor who told me my RAW files are LAB. It is my second one who told me my RAW files are RGB.

What is important to me is that I may have developed my own personal colour management system based on an error in my understanding of the original RAW file colour space that I'm starting with.

I'm looking at the graphic posted here: http://sonyalphalab.co​m …and-which-should-you-use/ (external link).

My understanding is that LAB covers the coloured area of the diagram (the gamut of human vision). As a result, I edit in 16 bit ProPhoto RGB. I want to cover as much of the original colour space of the RAW files as possible when editing them. ProPhoto RGB includes theoretical colours, and it doesn't cover all the visible gamut, but it is the closest I can get without editing in LAB. I'll export my edited photos to 8bit sRGB. Only in very rare instances will I export to aRGB, and in even rarer circumstances to CYMK. I'll sometimes use LAB as an intermediary between ProPhoto RGB and CYMK.

In looking once again at the diagram, I'm wondering if the sYYC colour space is closely represented by the "Wide Gamut RGB" triangle, or if it covers a different region of the gamut of human vision. If it is the wide gamut RGB triangle, then I think it still makes sense for me to edit in ProPhoto RGB (unless I want to move to editing in LAB, which I don't think I want to do . . . should I? . . . maybe I should try).

I use a 6D and a 5D3. Can anyone direct me to any official documentation to confirm the colour space of my RAW files? If no official documentation is known of, I'll settle for an educated hypothesis and try to do my best with that. While I'm at it, maybe I should also confirm that my RAW files are actually 14bit.

In addition to being a photographer, I'm a specialist in digital cartography. The two fields are incredibly closely related in the digital world, and understanding colour and colour management is very, very important to me ("anal retentive" might be a good description of me in this context): whether I'm taking a photograph from capture to print or a digital map from the planning stages to plotting. I thought I had things figured out for my RAW files, but now I'm questioning things and trying to sort through this newly introduced confusion and the seeming lack of available technical information is very frustrating.

I would be greatly appreciative if anyone can help to clarify things for me.


Shelley
Image Editing Okay

  
  LOG IN TO REPLY
agedbriar
Goldmember
Avatar
2,657 posts
Likes: 398
Joined Jan 2007
Location: Slovenia
     
May 30, 2016 08:11 |  #2

My view on this.

In both RGB and Lab color systems, a pixel's color is determined by three parameters.

In the RAW file, for each pixel, there is only the information about the amount of the single (filtered) color component, either Red, Green or Blue. It's only after demosaicing, performed by the raw converter, that a pixel is assigned the complete RGB triplet, which determines its final color.

Well, let's hear the gurus! :-)




  
  LOG IN TO REPLY
chauncey
Cream of the Crop
Avatar
9,696 posts
Gallery: 1 photo
Likes: 466
Joined Jun 2007
Location: MI/CO
     
May 30, 2016 10:14 |  #3

Guru # 1 might say...I work in LR/PS CC and use ProPhoto for my PP, having learned from the majordomo of color theory, Andrew Rodney http://digitaldog.net/ (external link)
After PP is accomplished, I would consider the end use of my work...sRGB for internet taking browser profiles into consideration,
or, softprooofing for whatever printer profiles are required. One must consider that every monitor/every browser/every printer coughs out different results.

In the end, the only thing that matters is the "eye"...how it perceives your object d'art.


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
Wilt
Reader's Digest Condensed version of War and Peace [POTN Vol 1]
Avatar
46,420 posts
Gallery: 1 photo
Likes: 4508
Joined Aug 2005
Location: Belmont, CA
Post edited over 7 years ago by Wilt. (2 edits in all)
     
May 30, 2016 10:30 |  #4

RAW does not inherently 'have a color space'.


  1. 14-bit RAW merely records the electrical response of each single color sensel on the sensor;
  2. then, later groupings of two Green, one Red, and one Blue sensel are used collectively to later determine a pixel value in an R-G-B color space,
    first a very large color space within Lightroom during postprocessing
  3. and then a limited 8-bit color space when the JPG is output.

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
Damo77
Goldmember
Avatar
4,699 posts
Likes: 115
Joined Apr 2007
Location: Brisbane, Australia
     
May 30, 2016 15:49 |  #5

I don't mean any offence, but ... you know there are thousands of people out there creating beautiful images while you're worrying about this stuff, right?


Damien
Website (external link) | Facebook (external link)

  
  LOG IN TO REPLY
neacail
THREAD ­ STARTER
Goldmember
Avatar
1,188 posts
Gallery: 43 photos
Likes: 441
Joined Dec 2013
Location: Calgary, AB, Canada
Post edited over 7 years ago by neacail.
     
May 30, 2016 16:41 |  #6

Thank you. :) It seems so obvious now that it has been laid out the way it has.

So, RGB is absolutely correct.

I wonder if instructor #1 was referencing the gamut of human vision when he referenced LAB.

So, what is important is the gamut covered by my cameras' sensors, and determining what colour space completely encompasses that gamut: without going too far beyond it.

I'll see if a Google search can provide the information with regards to the cameras' sensors.

Damo77 wrote in post #18023974 (external link)
I don't mean any offence, but ... you know there are thousands of people out there creating beautiful images while you're worrying about this stuff, right?

Yes. But, most of those thousands of people don't have the same relationship with data that I do. They don't deal with the various remote sensing technologies (including LiDAR, satellite DEMs, satellite imagery, and aerial imagery). They don't process survey data (current or historical), generate 3D surfaces, or generate digital and hard copy map products. They don't spend their lives worrying about data integrity and quality to anywhere near the same degree that I do. In legal land surveys, data must be clearly understood and properly managed.

I can't turn it off. It is part of what makes me so good at what I do. It also makes me a bit of an anal retentive freak in this department.;-)a

Edit: I'll add that if I make an error with a dataset and no one catches it, it could cost millions to correct and potentially years of litigation. As it presently stands, I've only made one costly mistake in twenty years. Fortunately it only cost around 12k, and it didn't result in litigation of any sort. I somehow mirrored the coordinates for a proposed pipeline when I created a GPX file (for a helicopter scouting mission) on a weird angle bisecting the equator and the proposed pipeline wound up in Brazil instead of Alberta. To this day I have no idea what I did, and I can't believe that no one who proofed the file caught it before the file was loaded into the helo's GPS system.


Shelley
Image Editing Okay

  
  LOG IN TO REPLY
Left ­ Handed ­ Brisket
Combating camera shame since 1977...
Avatar
9,925 posts
Gallery: 15 photos
Likes: 2398
Joined Jun 2011
Location: The Uwharrie Mts, NC
     
May 30, 2016 17:13 |  #7

Damo77 wrote in post #18023974 (external link)
I don't mean any offence, but ... you know there are thousands of people out there creating beautiful images while you're worrying about this stuff, right?

i was going to say something similar. I first started color correcting images (professionally) and then converting RGB > CMYK back in the mid 90s with Photoshop 4, we used Matchprints® before we went to film. It was quite a process to insure accurate color for apparel manufacturers catalogs that were sent to retailers. We had to be perfect. However, we only worried about what we needed to know, and there was plenty we didn't need to know.

things are pretty darn simple now.

neacail wrote in post #18024027 (external link)
Yes. But, most of those thousands of people don't have the same relationship with data that I do. They don't deal with the various remote sensing technologies (including LiDAR, satellite DEMs, satellite imagery, and aerial imagery). They don't process survey data (current or historical), generate 3D surfaces, or generate digital and hard copy map products. They don't spend their lives worrying about data integrity and quality to anywhere near the same degree that I do. In legal land surveys, data must be clearly understood and properly managed.

I can't turn it off. It is part of what makes me so good at what I do. It also makes me a bit of an anal retentive freak in this department.;-)a

I see your point of view too.

I'm not saying you should, but i try to redirect some of that energy to other things when I feel I'm getting too far down the rabbit hole. That is unless i seriously have nothing better to do.

The way I look at it is that RAW has no color space.

We are constantly bombarded with radio waves from space, the background noise of the universe. If we hook up just the right equipment we can hear those waves, but without them, we cant. Once those satellite receivers are hooked up and the computer starts recording and processing, they can be moved into another format that is easily processed as audio. Same with light, sensors and recording media. It doesn't exist as an image/sound until is is processed into a format that can be seen/heard.

the image on your screen, and the sound coming from the speaker are the first iterations of the source that can be processed by us humans. It is at that point (or slightly before) that they are assigned something approaching a color space or audio format.

film, monitors, and output devices have gamuts and color spaces, RAW does not.

dang, that was more than i intended to type out, i need to redirect my energy to this cold beer sitting beside me. :D


PSA: The above post may contain sarcasm, reply at your own risk | Not in gear database: Auto Sears 50mm 2.0 / 3x CL-360, Nikon SB-28, SunPak auto 322 D, Minolta 20

  
  LOG IN TO REPLY
Alveric
Goldmember
Avatar
4,598 posts
Gallery: 38 photos
Likes: 1061
Joined Jan 2011
Location: Canada
     
May 30, 2016 18:48 as a reply to  @ neacail's post |  #8
bannedPermanent ban

I'm suddenly happier I didn't complete my geology major.


'The success of the second-rate is deplorable in itself; but it is more deplorable in that it very often obscures the genuine masterpiece. If the crowd runs after the false, it must neglect the true.' —Arthur Machen
Why 'The Histogram' Sux (external link)

  
  LOG IN TO REPLY
BigAl007
Cream of the Crop
Avatar
8,118 posts
Gallery: 556 photos
Best ofs: 1
Likes: 1681
Joined Dec 2010
Location: Repps cum Bastwick, Gt Yarmouth, Norfolk, UK.
     
May 30, 2016 18:54 |  #9

neacail wrote in post #18024027 (external link)
Thank you. :) It seems so obvious now that it has been laid out the way it has.

So, RGB is absolutely correct.


No the RAW file contains ZERO specific colour information in the data. All of the colour information is infered by the demosaicer when it processes the image. The demosaicing algorithm has data about the spectral responce of each colour of filter in the Bayer CFA. Since it also knows that those filters are arranged as alternating Red, Green and Green, Blue rows. It is possible to then calculate a set of RGB, CMYK, or even LAB values for each pixel location from the knowlege of the filter responces and the recorded value of each sensel, which in Canon bodies since the 40D have been recorded as 14 bit values. In older cameras it was 12 bit. It is the demosaicing software that decides what sort of colour system you will end up with, and then specific colour space within the colour system.

Using a program like RAW Digger it is possible to look at the RAW data values for each sensel. It will become very clear if the RAW file uses 12 or 14 bits from the maximum sensel value. 12 bit will have a max sensel value of 4096 while 14 bit can reach 16384. The program will also show you true RAW histograms based on the RGGB CFA arrangement of the sensor.

Alan


alanevans.co.uk (external link)

  
  LOG IN TO REPLY
chauncey
Cream of the Crop
Avatar
9,696 posts
Gallery: 1 photo
Likes: 466
Joined Jun 2007
Location: MI/CO
     
May 30, 2016 19:11 |  #10

Am I correct in assuming that the OP is not referencing photography as we know it?


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
Benitoite
Goldmember
Avatar
4,792 posts
Gallery: 438 photos
Best ofs: 1
Likes: 2164
Joined Jan 2015
Location: Morgan Hill, CA
     
May 30, 2016 20:07 |  #11

I like to think of RAW as RGBG. I think some sensors have done other things. Foveon with RGB pixels. Sony with RGBE(merald) cybershots.




  
  LOG IN TO REPLY
neacail
THREAD ­ STARTER
Goldmember
Avatar
1,188 posts
Gallery: 43 photos
Likes: 441
Joined Dec 2013
Location: Calgary, AB, Canada
     
May 30, 2016 20:18 |  #12

Benitoite wrote in post #18024270 (external link)
I like to think of RAW as RGBG. I think some sensors have done other things. Foveon with RGB pixels. Sony with RGBE(merald) cybershots.

That is exactly where my understanding has gone with this RGBG (or simply RGB, so my mildly dyslexic brain doesn't jumble the position of the first G).

I need to mull this over some more, but things are coming together.


Shelley
Image Editing Okay

  
  LOG IN TO REPLY
neacail
THREAD ­ STARTER
Goldmember
Avatar
1,188 posts
Gallery: 43 photos
Likes: 441
Joined Dec 2013
Location: Calgary, AB, Canada
     
May 30, 2016 20:20 |  #13

chauncey wrote in post #18024215 (external link)
Am I correct in assuming that the OP is not referencing photography as we know it?

I really am down the rabbit hole on this one. But, my brain is working through it.


Shelley
Image Editing Okay

  
  LOG IN TO REPLY
skid00skid00
Senior Member
511 posts
Likes: 43
Joined Mar 2004
     
May 30, 2016 21:40 |  #14

Bigal007 has this one right. I think it was Andrew Rodney that said that RAW files don't even have a gamut. A gamut is an artificial limit on a color space. The RGBG pixel's color filters don't have that limit on response.

But the simple answer to the question that I didn't see the OP ask, is: use the post-processing gamut that just contains the color information you want to retain. In many cases, Adobe RGB will give you the extent of coverage you need, while not posterizing things like the sky. If you are shooting flowers, or highly-saturated dyes or paints, you might need a wider gamut that won't clip important colors.




  
  LOG IN TO REPLY
BigAl007
Cream of the Crop
Avatar
8,118 posts
Gallery: 556 photos
Best ofs: 1
Likes: 1681
Joined Dec 2010
Location: Repps cum Bastwick, Gt Yarmouth, Norfolk, UK.
     
May 31, 2016 03:36 |  #15

skid00skid00 wrote in post #18024361 (external link)
Bigal007 has this one right. I think it was Andrew Rodney that said that RAW files don't even have a gamut. A gamut is an artificial limit on a color space. The RGBG pixel's color filters don't have that limit on response.

But the simple answer to the question that I didn't see the OP ask, is: use the post-processing gamut that just contains the color information you want to retain. In many cases, Adobe RGB will give you the extent of coverage you need, while not posterizing things like the sky. If you are shooting flowers, or highly-saturated dyes or paints, you might need a wider gamut that won't clip important colors.

Just remember that posterisation has as much to do with bit depth as it does with the gamut of the chosen RGB colourspace. Which is why you should be doing as much editing as possible in as many bits as possible. When I have to edit in RGB, rather than working on a RAW file, I try to keep everything in 16 bit, where you should get a much smaller step between colours in ProPhotoRGB than you do in even 8 bit sRGB. Also I would always do the colourspace conversion first, then throw away the extra bits of information.

Alan


alanevans.co.uk (external link)

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

5,615 views & 7 likes for this thread, 11 members have posted to it and it is followed by 2 members.
I'm back down the colour management rabbit hole . . . Canon RAW Gamut & Colour Space (6D & 5D3)
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 Niagara Wedding Photographer
1078 guests, 124 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.