I'm not clear as to what you mean by desaturating by a factor. I've tried:
s = s - factor
s = s * factor
s = s / factor
s = s + factor
with limits of [0, 1] but none of my output images appear the same as the provided example. My hue_shift looks correct so I don't think the problem is with my rgb-hsv functions.
I'm not clear as to what you mean by desaturating by a factor. I've tried: s = s - factor s = s * factor s = s / factor s = s + factor with limits of [0, 1] but none of my output images appear the same as the provided example. My hue_shift looks correct so I don't think the problem is with my rgb-hsv functions.