Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image rectification script #21

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Conversation

YifuTao
Copy link
Collaborator

@YifuTao YifuTao commented Dec 3, 2024

This pull request adds a script for rectifying the fisheye images to rectified ones. This also address #16

Summary

  1. estimate the new camera matrix of the rectified image with
    cv::fisheye::estimateNewCameraMatrixForUndistortRectify
  2. use the estimated intrinsics and distortion parameters to rectify using cv2.fisheye.initUndistortRectifyMap
  3. cv2.remap

@YifuTao YifuTao merged commit 1fcac2f into main Dec 3, 2024
1 of 2 checks passed
@YifuTao YifuTao deleted the ho-add-img-undistort-rect-script branch December 3, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants