Hi all -
I'm writing a function that allows the user to shift the hue of an image. I convert the image into an HSV format, then use the AddC function. However, because the function automatically saturates pixel values in the case of overflow, the hue shift does not work correctly. Ideally, I need a function that does not saturate the pixel values, but wraps around in the case of addition overflow.
Is there some function that will not saturate overflow values? Or is there some other method to achieve the same result? I apologize if this is an elementary question.