I am Charmie

メモとログ

MatLab Toolbox for Camera Calibration and Simulation

I found a cool toolbox!!

I tried the basic functions for synthesize images with different parameters. It runs faster than my MatLab code! I'll dive into the code for more detail, especially how to apply intrinsic/extrinsic parameters and lens distortion to known object such as a chessboard.

A function dibuja_ptos() renders either control points or a chessboard. This switching is done by menu Calibration points->Chessboard (only coplanar), calling a function menu_board_T_Callback(), and Calibration points->Calibration points, calling a function menu_puntos_genera_T_Callback(). Unfortunately, dibuja_ptos() is not what I expected... The function

  1. first apply intrinsic/extrinsic parameters and lens distortion to control points
  2. then render either the points or corresponding rectangle on a plot

Therefore, I cannot apply the transformation to an arbitrary input image.

Hmm, should I go back to PovRay then?