if i am converting a cv_32s to cv_8u do i need to scale down the values or will opencv do that for me. what is the equation to scale everything ?
new = (current - min) / (max - min) * 255 ?
1 | initial version |
if i am converting a cv_32s to cv_8u do i need to scale down the values or will opencv do that for me. what is the equation to scale everything ?
new = (current - min) / (max - min) * 255 ?