rotating image with WarpAffine crashes sometimes
Hi,
I am experiencing a random crash with WarpAffine when rotating images using OpenCV 3.1.
The image dimension is 4928 x 3264. Sometimes rotating works and other times rotating the same image by the same angle would crash the program
Does anyone have any idea what causes the crash?
Can you reproduce problem in a small program?
I am guessing that your code is somewhere moving some pixels out of scope of your image borders due to the warpAffine, and then trying to access them again. Without code it is hard to say however where it goes wrong.