Camera Calibration Toolbox

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen

Autor:

Dieser Artikel beschreibt die Arbeit mit der Camera Calibration Toolbox for Matlab von Jean-Yves Bouguet.

Matlab 2014a beinhaltet eine ähnliche Toolbox, aber bei diese Variante hat man die Möglichkeit den Quelltext nachzuvollziehen.

Installation

  1. Download der Toolbox
  2. Einbindung der Toolbox mit Set Path.
  3. Start der Toolbox mit calib_gui.

Berechnung extrinsischer Parameter

  1. Der Knopf Comp. Extrinsic der GUI ruft extrinsic_computation.m auf.
  2. Laden Sie die Kameraparameter Calib_Results.mat oder Kalibrieren Sie Ihre Kamera
  3. Sie werden aufgefordert die verzerrte Bilddatei zu laden.
Image name (full name without extension): VRmDC_Boden1
Image format: ([]='r'='ras', 'b'='bmp', 't'='tif', 'p'='pgm', 'j'='jpg', 'm'='ppm') t

Extraction of the grid corners on the image
Window size for corner finder (wintx and winty):
wintx ([] = 5) = 5
winty ([] = 5) = 5
Window size = 11x11
Click on the four extreme corners of the rectangular complete pattern (the first clicked corner is the origin)...
Could not count the number of squares in the grid. Enter manually.
Number of squares along the X direction ([]=10) = 5
Number of squares along the Y direction ([]=10) = 5
Size dX of each square along the X direction ([]=30mm) = 16.6
Size dY of each square along the Y direction ([]=30mm) = 16.6
Corner extraction...