Hey,
In your implementation of hue shift using convertTo method there is a problem with overflow saturation. Since hue is coded in range 0-179 on uchar, if you want to shift it by value which will cause it to exceed 255 it gets saturated at 255 (opencv docs) and the adjustment is invalid. This way shifting hue by 360 degrees does not produce exact same image as input.
It is negligible for hue value of beta <= 76 which is 152 degrees so it shouldn't affect current SSD networks.
Are you aware of this?
Hey, In your implementation of hue shift using convertTo method there is a problem with overflow saturation. Since hue is coded in range 0-179 on uchar, if you want to shift it by value which will cause it to exceed 255 it gets saturated at 255 (opencv docs) and the adjustment is invalid. This way shifting hue by 360 degrees does not produce exact same image as input. It is negligible for hue value of beta <= 76 which is 152 degrees so it shouldn't affect current SSD networks. Are you aware of this?