Ask Your Question
0

Transparent border after calibration

asked Aug 26 '13

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Sep 6 '13

SergioBasurco gravatar image

updated Sep 6 '13

When remapping use:

cv::remap(temp, rview, map1, map2, cv::INTER_LINEAR, cv::BORDER_TRANSPARENT);
Preview: (hide)

Question Tools

1 follower

Stats

Asked: Aug 26 '13

Seen: 1,074 times

Last updated: Sep 06 '13