Pages: [1]   Go Down

Author Topic: Image conversion path - RAW to Lightroom/ACR  (Read 1243 times)

alecdann

  • Newbie
  • *
  • Offline Offline
  • Posts: 30
Image conversion path - RAW to Lightroom/ACR
« on: November 06, 2018, 03:02:39 pm »

I'm trying to understand the path that a RAW image takes into Lightroom/ACR.

Does the image pass through the camera profile (Adobe Color for Nikon D850) into the Profile Conversion Space (L*a*b*) then from the PCS to Lightroom/ACR Prophoto?

Or is Lightroom/ACR Prophoto part of the camera profile? 

What role does the PCS play, in other words?
Logged

Denis de Gannes

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 319
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #1 on: November 06, 2018, 05:28:41 pm »

Lightroom / Adobe Camera Raw (ACR) are processing applications that will render raw data from files produced from Digital Cameras they will utilise their own proprietary default settings and profiles to process the raw data which is different to the processing engine utilised by the camera manufacturer, or other raw processing software.LR / ACR utilise a variant of Prophoto RGB as the colour working space. When you render the file to a image file tiff, jpeg etc you can assign a color space of your choice.
I am not aware what "PCS" is, or what role it plays if any.
Logged
Equip: iMac (Ret. 5K,27"Mid 2015),macOS 10.15.6

Mark D Segal

  • Contributor
  • Sr. Member
  • *
  • Offline Offline
  • Posts: 12512
    • http://www.markdsegal.com
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #2 on: November 06, 2018, 06:18:02 pm »

PCS is the Profile Connection Space that sits in the computer operating system's colour management module (CMM). Normally, conversions from one space to another require two profiles and they connect through the CMS.
Logged
Mark D Segal (formerly MarkDS)
Author: "Scanning Workflows with SilverFast 8....."

digitaldog

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 20651
  • Andrew Rodney
    • http://www.digitaldog.net/
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #3 on: November 06, 2018, 06:35:39 pm »

Not sure if this helps or not but this is what I was told by Adobe and was posted awhile back on the ColorSync list so it's not a secret  ;)  :

ACR/LR does perform internal color transforms as needed to carry out its various image processing routines (e.g., noise reduction, vibrance, etc.). However, this is all done internally and has no real connection to the user-specified color space of the rendered output file (e.g., sRGB, Adobe RGB, etc.).
The camera profiles produced by DNG Profile Editor and other software (e.g., X-Rite's ColorChecker Passport) are responsible for transforming the camera-native image values (e.g., the primaries determined by a sensor's color filters) to RIMM. At least a color matrix is required, but other components (such as optional lookup tables and a tone curve) can be included, too. This is largely independent of the other internal color transform described in the previous paragraph.
No, L*a*b* is not the ACR internal working space.
ACR's primary internal representation uses the ProPhoto/RIMM/ROMM RGB primaries. ACR's primary internal representation uses the ProPhoto/RIMM/ROMM RGB primaries. Exposure and brightness are based on the traditional logarithmic base 2 formulation (i.e., in stops). So boosting Exposure to +1, for example, means doubling the linear scene-referred values (i.e., increasing exposure by 1 stop). The white balance math (color temperature and tint) simply associates user-chosen white points (e.g., tungsten) to corresponding camera whites, by means of a profile's color matrix or matrices. More details (for developers) can be found in public DNG SDK on the Adobe site.

There may be some 'kind' of PCS used as there has to be some translation above, but it isn't Lab.
Logged
http://www.digitaldog.net/
Author "Color Management for Photographers".

DP

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 727
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #4 on: November 06, 2018, 07:10:09 pm »

Does the image pass through the camera profile (Adobe Color for Nikon D850)

"Adobe Color" is not a "camera profile", it is a set of adjustments that ACR/LR apply after "Adobe Standard" DCP (actual
"camera profile") for your specific camera model is applied... at the end of the pipeline.

DNG specifications will tell you how ACR/LR code executes color transforms using data in DCP camera profiles = https://www.adobe.com/content/dam/acom/en/products/photoshop/pdfs/dng_spec_1.4.0.0.pdf
Logged

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2197
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #5 on: November 06, 2018, 07:24:53 pm »

Possibly some of the confusion is with ICC profiles which do have a PCS, either XYZ or Lab. Adobe's ACR's processing is a completely different as are their camera "profiles."
Logged

alecdann

  • Newbie
  • *
  • Offline Offline
  • Posts: 30
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #6 on: November 06, 2018, 11:59:50 pm »

Thanks all.  I appreciate your helpful responses.

Clearly I had a misconception about the process where raw conversion is concerned.  Adobe's Raw Conversion Process is 100% proprietary. 

After my original post I went so far as to open the Lightroom package and navigate to the Adobe Standard camera profile for Nikon D850.  It is not an "open" format (<snip> >¶«Nikon D850,'—Ïˇˇ'†˝ˇˇ'Rˡˇ'î7'®'ì¸ˇˇ'E'µ'•('UÒˇˇ' <snip>).

Some of my confusion doubtless came from Adobe's use of the word profile but that's a reasonable use of the term and my mistake was conflating Adobe's profiles with ICC profiles.

Scanners, of course, require ICC input profiles so that's a different process.

Thanks again for your help.
Logged

Dave Ellis

  • Full Member
  • ***
  • Offline Offline
  • Posts: 103
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #7 on: November 07, 2018, 01:11:03 am »


DNG specifications will tell you how ACR/LR code executes color transforms using data in DCP camera profiles = https://www.adobe.com/content/dam/acom/en/products/photoshop/pdfs/dng_spec_1.4.0.0.pdf

Yes that would be my recommendation too - Chapter 6 in particular, it's entitled "Mapping Camera Color Space to CIE XYZ Space". It's not the easiest read though!

There's nothing secret about it, it's information that is freely available to anyone and is presumably aimed at software developers who need to process DNG files or RAW files using DCP profiles.

In very much simplified terms,

White Balance/CCT is determined using a camera color matrix

A Forward Matrix is used to convert the raw data to XYZ space which is then converted  into linear RGB Prophoto which is the "working space" in ACR/Lightroom.

An optional HSV look-up table is used to fine tune the color

A software tool like EXIFTool GUI can be used to read the color matrix data contained in a DNG or DCP file.

Dave

Logged

Jack Hogan

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 798
    • Hikes -more than strolls- with my dog
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #8 on: November 07, 2018, 04:36:49 am »

Does the image pass through the camera profile (Adobe Color for Nikon D850) into the Profile Conversion Space (L*a*b*) then from the PCS to Lightroom/ACR Prophoto?

Or is Lightroom/ACR Prophoto part of the camera profile? 

What role does the PCS play, in other words?

It's a multi-step process outlined in the DNG document, as Dave suggests (step 1 is not necessarily the first one performed, the others need to be in the shown sequence though):

1) White balance the raw data / demosaic
2) Convert to XYZ (PCS) via appropriate linear matrix
3) Apply colorimetric HueSaturationValue corrections (table 1) via ProPhoto RGB and back to PCS (recently desaturated, no longer colorimetric)
4) Apply a subjective look (e.g. Color, Neutral, Landscape, Camera Matching etc.) using HueSaturationValue adjustments (table 2) via ProPhoto RGB and back to PCS.
5) Apply tone curve
6) Convert to final color space (say Adobe RGB)
7) Apply appropriate gamma

The data for steps 2-5 is contained in a dcp profile, as described in the DNG standard.  In ACR they used to be in the camera tab but in 2018 Adobe re-branded these 'Raw Profiles' and moved them to the front tab.  You can see the effect they have on an image step-by-step here
https://www.strollswithmydog.com/raw-file-conversion-steps/

As of this year Adobe have also added a set of presets that they call 'Creative Profiles' (Artistic, Modern, Vintage, etc.).  These can be used on non-raw images and are applied after step 7).  They appear to have nothing to do with dcp profiles or PCS.

Jack
« Last Edit: November 07, 2018, 04:49:31 am by Jack Hogan »
Logged

alecdann

  • Newbie
  • *
  • Offline Offline
  • Posts: 30
Re: Image conversion path - RAW to Lightroom/ACR
« Reply #9 on: November 07, 2018, 10:09:22 am »

Thanks, Dave and Jack.  Great resources. 
Logged
Pages: [1]   Go Up