- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks,
Mike
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.
Thanks,
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
we do not have functions whichdo wrap around instead of saturation
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page