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

camera calibration result #38

Open
Kaijun101 opened this issue Apr 10, 2022 · 0 comments
Open

camera calibration result #38

Kaijun101 opened this issue Apr 10, 2022 · 0 comments

Comments

@Kaijun101
Copy link

Kaijun101 commented Apr 10, 2022

Hi guys, i am not too sure what are the value to add in for rectification_matrix and the projection_matrix that is required for my USB camera. I got my camera result from kalibr.

cam0:
cam_overlaps: []
camera_model: ds
distortion_coeffs: []
distortion_model: none
intrinsics: [-0.008924692942985086, 0.9138075160533852, 420.0386682531036, 419.0136126237458,
303.3523319667734, 244.90890485641165] #(intrinsics vector: [xi alpha fu fv pu pv])
resolution: [640, 480]
rostopic: /image_converter/output_image


I need to covert it to this format. This is what i put but i am not too sure if i did it correctly.

image_width: 640
image_height: 480
camera_name: usb_cam
camera_matrix:
rows: 3
cols: 3
data: [357.7808547369238, 0, 329.66778704539, 0, 357.41035237313594, 240.04276942034474, 0, 0, 1]
distortion_model: radtan
distortion_coefficients:
rows: 1
cols: 4
data: [0.012252036342139852, 0.009736785998316986, 0.005191213687411114,
0.0009482505467547185]
rectification_matrix:
rows: 3
cols: 3
data: [1, 0, 0, 0, 1, 0, 0, 0, 1]
projection_matrix:
rows: 3
cols: 4
data: [357.7808547369238, 0, 329.66778704539, 0, 0, 357.41035237313594, 240.04276942034474, 0, 0, 0, 1, 0]

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