Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ICC correction to specify intent #1066

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Allow ICC correction to specify intent #1066

merged 1 commit into from
Feb 22, 2023

Conversation

manthey
Copy link
Member

@manthey manthey commented Feb 22, 2023

Based on the LittleCMS docs, the intents don't have particularly profound changes and the perceptual intent is clearly the correct default. In practice, perceptual, relative_colorimetric, and saturation are the same for most TCGA samples, while absolute_colorimetric is often a different brightness since the white point differs.

From the LittleCMS tutorial, roughly:
PERCEPTUAL: Hue hopefully maintained (but not required), lightness and saturation sacrificed to maintain the perceived color. White point changed to result in neutral grays. Intended for images.
RELATIVE_COLORIMETRIC: Within and outside gamut; same as Absolute Colorimetric. White point changed to result in neutral grays.
SATURATION: Hue and saturation maintained with lightness sacrificed to maintain saturation. White point changed to result in neutral grays. Intended for business graphics.
ABSOLUTE_COLORIMETRIC: Within the destination device gamut; hue, lightness and saturation are maintained. Outside the gamut; hue and lightness are maintained, saturation is sacrificed. White point for source and destination; unchanged. Intended for spot colors.

@manthey manthey merged commit a4682cd into master Feb 22, 2023
@manthey manthey deleted the icc-intent branch February 22, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant