• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

RGB value conversion from Dot Gain 20 to Dot Gain 0?

New Here ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

Hi,

 

I was wondering if there was a mathematical function for converting between PS' default Dot Gain 20 colour picked RGB values and the "true" colour picked RGB values (Dot Gain 0).

The images I'm working with are GrayScale depth maps.

I've been looking around but I can't really seem to find anything on the PS Dot Gain algorithms.

 

Thanks,

Paulo

 

 

TOPICS
Windows

Views

3.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
LEGEND ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

Dot gain isn’t applicable to RGB, this has no real meaning. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

Hey,

Sorry maybe I didn't make sense.

Basically when I colour pick a pixel with Dot Gain 20 as the assigned profile, I get an RGB value of (129,129,129). But when I colour pick the same pixel with sGRAY as the assigned profile I get an RGB value of (106,106,106). 

 

Is there a mathematical function for converting between those? 

I took some other data points to check and it's not a linear relationship.

Any help would be appreciated!

(Also sorry, I'm not really that familiar with Dot Gain)

 

Thanks,

Paulo

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

Basically when I colour pick a pixel with Dot Gain 20 as the assigned profile, I get an RGB value of (129,129,129)

 

The RGB numbers you get on a conversion from Grayscale to RGB would depend on both the source Gray space and the destination RGB space.

 

So here the conversion is from Dot Gain 20% to sRGB:

 

Screen Shot 11.pngexpand image

 

The conversion from Dot Gain 20% to AppleRGB results in different numbers:

 

Screen Shot 12.pngexpand image

 

As Stephen notes, Dot Gain profiles are legacy offset press output profiles. You can also use Black Ink Profiles which are more accurate and match the more modern instrument derived CMYK profiles (which are no longer curve based).

 

You could make and save a dot gain profile with 0% gain as an .icc profile via Color Settings>Gray>Custom Dot Gain, but it is unlikely that a press would run with 0% gain, and if it did it would surely blow out all of the highlights and turn blacks to gray:

 

Screen Shot 8.pngexpand image

 

My 0% profile assigned to the grayscale. It changes the Grayscale soft proof —the expected appearance on a press if it is really running with no gain—and the conversion to sRGB is much different reflecting the lighter values whn there is no gain:

 

Screen Shot 13.pngexpand image

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

Hi Paulo,

"Dotgain20" and "sGRAY" are for grayscale files only, not for working in RGB

sGRAY is a greyscale colourspace designed to mimic the curve of sRGB.

 

You need to get dotgain out of the picture when workign on RGB files.

https://en.wikipedia.org/wiki/Dot_gain

 

You mention assigning a different ICC profile, but assigning a different profile to an RGB image does not change the colour numbers - only the file's appearance changes (due to a recalculation as to the "meaning" of the numbers). Converting from one ICC colourspace to another obviously does change the RGB numbers.

more here: https://www.colourmanagement.net/advice/about-icc-colour-profiles/

 

Basically you should probably not be working in RGB with an assigned profile of "Dotgain 20" or "sGRAY" - Only RGB colourspaces are applicable to RGB files and it's almost always better to use a recognised standard RGB colourspaces like Adobe RGB or sRGB. If you want RGB values then I recommend you work in an RGB colourspace.

 

Dotgain is entirely associated with expected gains in density when ink dots are placed on paper and the ink spreads, (maybe a 20% dot becomes 23%).https://en.wikipedia.org/wiki/Dot_gain

This is not applicable to RGB files.

 

If we are getting our wires crossed please explain your needs. What are the files you are working on - how will they be used and where did they come from etc? And why do you need the RGB values?

 

 

I hope this helps

if so, please "like" my reply

 

thanks

neil barstow, colourmanagement.net

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

They are both very different tone response curves:

 

trc.pngexpand image

 

I'm not sure of the accuracy of these Apple ColorSync plots, however, the differences are great enough.

 

The legacy Photoshop gray 20% dot gain pre-dates modern ICC profiles.

 

I believe that sGray has the same TRC as sRGB, which is sort of based on a 2.2 gamma TRC, however, sRGB is meant to have a custom curve... Then there are "simplified" versions of sRGB that have a "standard" 2.2 gamma TRC.

 

Just Google for 2.2 gamma vs. sRGB TRC etc.

 

I am still a little unsure of the practical concerns/issues as these are all device dependent colour modes.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

LATEST

I'm not sure, but it seems like you want the gray percentages converting to the same relative percentage on the RGB scale. So, 50% gray converts to 127 (255-(255 x .50)), 75% gray converts to 191 (255-(255 x .25)), or 25% gray to 64 (255-(255 x .75)) etc.

 

If that’s the case, assign sGray to the Grayscale, and set the destination to sRGB—they both use the same gamma:

 

Screen Shot 19.pngexpand image

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines