Ask Your Question

How can an undistorted image have the same resolution as the original?

asked 2020-01-22 02:05:07 -0500

Rufus gravatar image

When barrel distortion / radial distortion occurs, pixels at the edge map to larger real world distance than pixels at the center. In order to undistort this, pixels near the center must be "compressed".

The non-uniform distribution of pixels mean that the final undistorted image must have lower resolution than the original image.

However, when using getOptimalNewCameraMatrix with alpha=0, the final image ROI is the same as the original image.

How is that possible?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-01-22 04:07:55 -0500

mvuori gravatar image

The pixels on optical axis are ok, so they will not be shrunk. Instead, the pixels away from the axis will be expanded.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-01-22 02:05:07 -0500

Seen: 30 times

Last updated: Jan 22