undistort() and remap() give different results

asked 2020-09-29 06:44:22 -0500

Shassk gravatar image

I was trying to figure out things for my previous question but suddenly found out that undistort() and remap() give different results.

Any ideas why can it be and what result can be considered more "correct"?





edit retag flag offensive close merge delete


post data and runnable code that reproduce this issue.

crackwitz gravatar imagecrackwitz ( 2020-09-30 08:29:15 -0500 )edit

Sorry for such a late response, for some reason I did not get notification on email about your comment, still figuring out how to set up this properly. Here's the link: source code and a folder with images. At first run it creates maps.yml with data for undistort/remap, on second — loads it from the file and applies to a single image. UPD: Source is in C++

Shassk gravatar imageShassk ( 2020-10-28 06:30:32 -0500 )edit