Replace Color Command Saturation Algorithm

GA
Posted By
George_Austin
Feb 22, 2009
Views
494
Replies
2
Status
Closed
For the Replace Color Command (not the Replace Color Tool), the meaning of the Saturation slider is clear only when the slider value is negative (reducing saturation). In that case the slider reading is the percent by which the (H-L) gap is to be reduced, where H and L are the highest and lowest RGB channel values. A reading of 100 means the gap is to be completely closed. Whatever the percentage closure, it is effected by decreasing H and increasing L in equal increments proportional to the slider setting.

When the saturation slider is set to a positive number (increasing saturation), however, the meaning is not easily unearthed. The incremental changes in H and L, although still equal and opposite in algebraic sign, are now a non-linear function of the slider and the initial H and L values, but I have not been able to nail it.

BTW, The middle RGB channel plays no role in either case. With H and L set, it is adjusted to keep hue constant.

Any help out there? Gernot? Anybody?

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

GA
George_Austin
Feb 22, 2009
Bump—with apologies. First time ever (honest). Apart from staving off the post’s oblivion, I want to verify just where in the ladder a bump jumps.
GA
George_Austin
Feb 22, 2009
Now I know. Right to the "top"—immediately following the last of the "permanent" posts (currently nine).

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections