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

I see that the calibrate and uncalibrate function with k1 distortion is not correct. #79

Open
lastsupper108 opened this issue Jan 30, 2024 · 0 comments

Comments

@lastsupper108
Copy link

pub struct CameraIntrinsicsK1Distortion {

As per opencv to move from 3d point ( or barring ) to 2D point the transform is not as required by equations.
X,Y,Z points -> U, V image point should be as per ,

distortion

that is first after scaling by Z, ( X/Z, Y/Z) it should be mulitplied by (1+k1*r^2) whereas in function ,
uncalibrate(&self, projection: UnitVector3) -> Option
opposite is happening. Can someone correct me ?

Ref:
https://docs.opencv.org/4.x/d9/d0c/group__calib3d.html#:%7E:text=The%20next%20figures,monotonically%20increasing

Can somebody please guide if it is correct.

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

No branches or pull requests

1 participant