Camera measurements after calibration

3 次查看(过去 30 天)
Hi all,
I have calibrated a camera successively using the calibrator app and a checkerboard pattern. I plan to use the camera to measure distances in an industrial process. In the Matlab documentation there is an example of measuring distances between two coins, which is similar to my plan.
However, in my industrial process I cannot have the checkerboard to compare the objects I like to measure. My camera is calibrated keeping the distance from the camera to objects approximately the same as I aspect it be in the process where I plan to put the camera.
Can I measure distances without the checkerboard? What do I have to change in the example code to make it work if it is possible?

采纳的回答

Dima Lisin
Dima Lisin 2015-2-12
Hi Erik,
If you need to measure planar objects with a single camera, then you need to know the camera extrinsics, which are the 3D rotation and translation between your plane of interest (table, conveyor belt, etc.) and the camera's coordinate system. If your camera does not move relative to that plane, then you only need to compute the extrinsics once. You can place a checkerboard on the plane once, compute the rotation and translation using the extrinsics function, save the results, and re-use them for measurements.
Alternatively, you can use a calibrated stereo pair of cameras. In that case, all the measurements will be in the coordinate system attached to one of the cameras, and you do not need a checkerboard in the scene.
  3 个评论
Ifigeneia
Ifigeneia 2018-3-23
Hello Dima, I am quite new in Matlab and trying to find out several things. I am an Oceanographer in the field of Coastal Observing Systems and I am going to install a single camera on a tripod at the beach in order to measure the swash elevation of the waves. My question is bit similar to Erik's. Once I calibrate the camera with the Matrix in the Lab, let's say, how can I re-use the obtained results and apply them in the images from the beach monitoring? Thank you in advance.
Dana R
Dana R 2019-4-5
Hi All, has anyone figured out this problem yet? I also am hoping to measure distances in an image without the calibration grid being present. Thank you!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by