Skip to content
Snippets Groups Projects

gamut_mapping: greatly simplify perceptual tone mapping

Merged Niklas Haas requested to merge haasn/libplacebo:linear_perceptual into master

Instead of applying this complicated soft-knee along the gamma axis, as inspired by the gamut mapping paper this method was originally based on, I found that simply scaling the chromaticity axis by the equivalent knee function works extremely well, together with hard-clipping for out-of-gamut parts of the image.

(Maybe we need to re-introduce some soft clipping to the source gamut)

Merge request reports

Pipeline #359321 passed

Pipeline passed for 17aecaf7 on haasn:linear_perceptual

Test coverage 80.73% (-0.09%) from 1 job
Approved by

Merged by Niklas HaasNiklas Haas 1 year ago (Jul 3, 2023 10:58am UTC)

Merge details

  • Changes merged into master with 17aecaf7.
  • Did not delete the source branch.

Pipeline #359322 passed

Pipeline passed for 17aecaf7 on master

Test coverage 80.73% (-0.09%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading