1 | initial version |
Hi! As docs says saturate_cast will be applied after conversion. If you downscale precision (from CV_32S to CV_8U) than all converted values that are more than 255 becomes 255 and less than 0 becomes 0. So, now you should decide is that behavior one that you want?