Ask Your Question

Transparent border after calibration

asked 2013-08-26 06:27:22 -0500

SergioBasurco gravatar image

I have remapped camera undistortion using initUndistortRectifyMap, when remapping this is the image I'm getting:

image description

I'm wondering whether the remapping can give me an alpha value for the black borders. I need them to be invisible and show only the image.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-06 03:12:54 -0500

SergioBasurco gravatar image

updated 2013-09-06 03:13:12 -0500

When remapping use:

cv::remap(temp, rview, map1, map2, cv::INTER_LINEAR, cv::BORDER_TRANSPARENT);
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-08-26 06:27:22 -0500

Seen: 567 times

Last updated: Sep 06 '13