Camera Calibration with Two Cameras.

5 ビュー (過去 30 日間)
Daniel Noble
Daniel Noble 2019 年 6 月 18 日
コメント済み: Daniel Noble 2019 年 6 月 18 日
Hello,
I have been trying to make a code to align two checker board images taken from two different cameras. I have tried imreg and have had no luck. If anyone knwos how to do this that would be great!

回答 (1 件)

pankhuri kasliwal
pankhuri kasliwal 2019 年 6 月 18 日
Hi,
try first using the detectCheckerboardPoints from matlab for each set of images (check the matlab manual) and then when you have the points use : imagePoints = cat(4, poitnsRGB, pointsIR); Then feed these to the estimateCameraParameters (check the manual for more info).
You may be able to calibrate your cameras using the estimateCameraParameters function. It takes detected image points from each camera irrespective of the sizes of the images.
The rectifyStereoImages function only supports images of the same size. Use undistortImage to undistort the two images.
  1 件のコメント
Daniel Noble
Daniel Noble 2019 年 6 月 18 日
I need the two images to line up with each other as well. I have a code to get my files how can I use it in detectCheckerboardPoints? This code is needed to be able to select any file needed later on.
[tiffilename, tifpath] = uigetfile('*.tif', 'Select .tif file');
tiffilename = sprintf('%s%s', tifpath, tiffilename);
im = imread(tiffilename);

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB 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