Creating matrices for fast rectification of stereo images

버전 1.0.0.1 (3.86 MB) 작성자: Peter Seibold
This GUI determines the calibration data of several stereo pair images in an easy way.
다운로드 수: 209
업데이트 날짜: 2019/5/15

라이선스 보기

Purpose:
This script creates bilinear parameters for fast stereo image rectification and determines the calibration data
with several stereo checkerboard image pairs in an easy way.
The parameters are reduced to get the largest rectangular image pairs with only valid pixel values
and are sorted in the way images are read in (First pixels of first row, then pixels of 2nd row etc.).
The bilinear parameters are placed in matrices. The rectification of distorted images is done
by simple matrix multiplications and additions.
This results in much faster image rectification.

Requirements:
The script works only in conjunction with the Matlab Computer Vision System Toolbox.
Tested with Matlab R2016a.

Procedure:
0.) Take approx. 15 stereo pictures from a checker board.
Name left and right images similar (e.g. left01.tif, right01.tif)
Place the left in an empty folder. Place right images into another folder.
Hint: Put '_Xmm' at the end of the folder name. X is the square size in mm.
e.g.: LeftImages_10.5mm
Not mandatory, helps to fill out GUI.
Run GUIrectParameters.m
Follow the steps 1.) to 3.) in the GUI.
4.) In step 4.): Select the desired precision for the bilinear parameters.
Double is recommended for use in Matlab only.
Uint8 is suitable for most cases, especially with FPGA.
Uint8 produces a few intensity errors of +- 1.
Uint16 is like uint8, but with even less intensity errors.
Nearest neighbor has many intensity errors, is very fast for rectifying.
5a.) OR 5b.) Run and follow instructions in message box.
6.) Compares the rectification speeds.
7.) Compares the intensity errors according to 4.)

Output:
Outputs of this script are matrices with bilinear parameters for the largest image rectangle
which contains only image pixels.
You find the matrices in in the folder 'Parameters'. E.g. the mat-file for double precision is
'StereoParameterNiDouble.mat'.
Process to rectify images:
You will find all examples in 'compareRectificationSpeed.m'.

Demo:
Select folders 1.) LeftImages and 2.) RightImages
Click on 5b.)

Acknowledge:
Some files out of "Camera Calibration Toolbox for Matlab" by Jean-Yves Bouguet
(http://www.vision.caltech.edu/bouguetj/calib_doc/) are implemented and altered slightly.
/FindLargestRectangles.m)

인용 양식

Peter Seibold (2025). Creating matrices for fast rectification of stereo images (https://kr.mathworks.com/matlabcentral/fileexchange/62827-creating-matrices-for-fast-rectification-of-stereo-images), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Display Point Clouds에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.1

Faster determination of parameters. (Rectifying speed remains)

1.0.0.0

Removed some spelling errors