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

CAM.make_diag_normalization #2

Open
samirabdd opened this issue Nov 8, 2021 · 4 comments
Open

CAM.make_diag_normalization #2

samirabdd opened this issue Nov 8, 2021 · 4 comments

Comments

@samirabdd
Copy link

After running the program, I get the following error, how do I fix it?

"Undefined variable "CAM" or class "CAM.make_diag_normalization".

Error in calibrate (line 52)
A = inv(CAM.make_diag_normalization(imcenter));

@ylochman
Copy link
Owner

ylochman commented Nov 8, 2021

Hello! Do you have VGTK as a submodule? If no, please run the following command:

git submodule update --init --recursive

@samirabdd
Copy link
Author

Dear ylochman
The problem was solved. thank you
I have a series of images from the chessboard with which I have calibrated my camera with OCamCalib (Davide Scaramuzza ~ University of Zurich). Can I use those images in your algorithm and calibrate my camera?
img9

@ylochman
Copy link
Owner

ylochman commented Nov 22, 2021

Hi @samirabdd,

I'm sorry for the late reply. Yes, you can calibrate you camera from these images with BabelCalib. You need to extract keypoints first, you can use any good chessboard detector for that (e.g., this one), and transform them into the format of corners and create boards. Then you can use calibrate function. Please let me know if you need any help with that.

@XavierQL
Copy link

@ylochman cc@pmoulon
Hi ylochman,
i deepdive in your babelcalib to want to find some clue for the corner detection. just see your reply above, inital corner detection is tough work, especially motion blur and high distortion for apriltag detection. So the cube in the repo and apriltag grid in your aritcle, can your share the sourcecode of inital corner detection?
much appreicated~

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

3 participants