Converting from OpenCV 3.4 to 4.2 divide issue (different results)
I have two images I divide the one with the other. But I get different results in OpenCV 3.4 (expected answer) and 4.2 gives me and unexpected result using cv::divide.
I confirmed the inputs are bit for bit identical by cv::imwrite the imputs and output to files and comparing them.
Any suggestions or idea who be appreciated.
More often thab not, the problem is in the calling code rather than OpenCV - which is why you should show the code and describe the format of the files
Here is the code...
Images are converted to CV_32FC1 before I do this logic.