Pages: 1 [2]   Go Down

Author Topic: Photoshop - Perceptual colour space conversion not working  (Read 1804 times)

digitaldog

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 20651
  • Andrew Rodney
    • http://www.digitaldog.net/
Re: Photoshop - Perceptual colour space conversion not working
« Reply #20 on: November 17, 2019, 07:16:37 pm »

That is understood by everyone.
Gotta say,  I personally don't know what everyone understands. ;D 

Quote
I think what shadowblade is asking for is what would the proper workflow be to achieve a genuine Perceptual conversion to sRGB that really prevents clipping. I.e. what in-between steps to do to convert his Adobe RGB/ProPhoto RGB into sRGB achieving real colour compression for those colours falling out of the sRGB gamut. And I'd like to know about this workflow as well
That's easy, get the sRGB profile that has a perceptual table. I provided a link for one such profile.
Logged
http://www.digitaldog.net/
Author "Color Management for Photographers".

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2197
Re: Photoshop - Perceptual colour space conversion not working
« Reply #21 on: November 18, 2019, 12:26:27 am »

What the OP needs is a device link profile that goes perceptually directly from Adobe RGB to sRGB. This would bypass the PCS and should produce the best results since both source and destination gamuts are known. But I haven't run across one.
Logged

digitaldog

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 20651
  • Andrew Rodney
    • http://www.digitaldog.net/
Re: Photoshop - Perceptual colour space conversion not working
« Reply #22 on: November 18, 2019, 10:02:48 am »

“There seems to be some perverse human characteristic that likes to make easy things difficult.” -Warren Buffet  ;D
Logged
http://www.digitaldog.net/
Author "Color Management for Photographers".

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2197
Re: Photoshop - Perceptual colour space conversion not working
« Reply #23 on: November 18, 2019, 02:26:10 pm »

That's easy, get the sRGB profile that has a perceptual table. I provided a link for one such profile.

Here's how you apply the transformation in Photoshop using your link to the Perceptual sRGB profile at color.org.
http://www.color.org/profiles/srgb_appearance.xalter

0. download and install the profile.
1. Load the image that's in Adobe RGB.
2. select and use the sRGB Appearance profile with Photoshop's Convert Profile selecting Perceptual intent.
3. Assign the standard sRGB profile to the converted image. This prevents undoing the conversion accidentally.

Should prevent abrupt clipping at gamut edges in most cases. Whether one likes the outcome or not one has to live with the smaller sRGB gamut and colors will shift a bit.
Logged

shadowblade

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2839
Re: Photoshop - Perceptual colour space conversion not working
« Reply #24 on: November 19, 2019, 05:43:25 am »

Found that same profile and gave it a try after I posted this thread.

Either Perceptual intent still doesn't work properly, or parts of the gamut contained in that profile still fall outside sRGB.

I tried it first by creating a colour gradient in Adobe RGB (Red values 10-245 from left to right, Green values 10-245 from top to bottom, Blue at 10 throughout, creating a two-dimensional gradient from 10,10,10 to 245,245,10 in Adobe RGB space). Conversion using the default sRGB profile just clipped large swathes of it, as expected. On conversion to sRGB (Perceptual, using the color.org profile), all the colours shifted, many quite dramatically - as expected with Perceptual conversion - but many parts of the gradient were still clipped at 0 or 255 in one or more channels.

I then tried it with several real photos. The results were better - significantly better than relative colorimetric conversion, given that a lot of my photos are highly saturated - but still clipped in areas.
Logged

Doug Gray

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2197
Re: Photoshop - Perceptual colour space conversion not working
« Reply #25 on: November 19, 2019, 11:08:53 am »

Found that same profile and gave it a try after I posted this thread.

Either Perceptual intent still doesn't work properly, or parts of the gamut contained in that profile still fall outside sRGB.

I tried it first by creating a colour gradient in Adobe RGB (Red values 10-245 from left to right, Green values 10-245 from top to bottom, Blue at 10 throughout, creating a two-dimensional gradient from 10,10,10 to 245,245,10 in Adobe RGB space). Conversion using the default sRGB profile just clipped large swathes of it, as expected. On conversion to sRGB (Perceptual, using the color.org profile), all the colours shifted, many quite dramatically - as expected with Perceptual conversion - but many parts of the gradient were still clipped at 0 or 255 in one or more channels.

I then tried it with several real photos. The results were better - significantly better than relative colorimetric conversion, given that a lot of my photos are highly saturated - but still clipped in areas.

The sRGB Appearance profile still clips when source colors fall outside the PRMG (Perceptual Reference Media Gamut). There are many colors near the edges (10 and 245) of Adobe RGB that are outside the colors possible from reflective media (with standard illuminants). The profile itself has no idea what the source image gamut is and doesn't know whether it is coming from ProPhoto RGB, Adobe RGB, or any other source. By the time it sees data to map to Perceptual that data is in CIELAB.

The PRMG is supposed to be roughly a gamut bounded by reflective colors found in real life. Lots of Adobe RGB (1998) colors are outside that. Expect that they will clip at gamut boundaries.

Added: Since even some sRGB colors are outside of the PRMG, you can actually see some expansion in some areas though most changes are compression. For instance the green color that is sRGB value (125,250,125) will clip on the green channel when converted through the sRGB Appearance profile.
« Last Edit: November 19, 2019, 03:05:52 pm by Doug Gray »
Logged
Pages: 1 [2]   Go Up