Currently YCbCr is using uchar to store information cause data losses. Two solutions: 1. Change to HSV. 2. Fix YCbCr. (Use float instead of uchar)
Currently YCbCr is using uchar to store information cause data losses.
Two solutions: