Camera Calibration Toolbox for Matlab
摄像头标定工具箱Matlab版本
Getting started
- Go to the download page, and retrieve the latest version of the complete camera calibration toolbox for Matlab.
- Store the individual matlab files (.m files) into a unique folderTOOLBOX_calib (default folder name).
- Run Matlab and add the location of the folder TOOLBOX_calib to the main matlab path. This procedure will let you call any of the matlab toolbox functions from anywhere. Under Windows, this may be easily done by using the path editing menu. Under Unix or Linux, you may use the command path or addpath (use thehelp command for function description).
- Run the main matlab calibration function calib_gui (or calib).
A mode selection window appears on the screen:
开始前:
下载最新版本的摄像头标定工具箱
将工具箱加载到Matlab的默认搜索路径,这样工具箱内的函数就可以随时随地的使用了
命令行中运行:calib_gui或者calib
This selection window lets you choose between two modes of operation of the toolbox: standard or memory efficient. In standard mode, all the images used for calibration are loaded into memory once and never read again from disk. This minimizes the overall number of disk access, and speeds up all image processing and image display functions. However, if the images are large, or there are a lot of them, then theOUT OF MEMORY error message may be encountered. If this is the case, the new memory efficient version of the toolbox may be used. In this mode, every image is loaded one by one and never stored permanently in memory.
If you choose to run the standard version of the toolbox now, you can always switch to the other memory efficient mode later in case theOUT OF MEMORY error message is encountered. The two modes of operation are totally compatible (for input and output) and interchangeable.
这个窗口提供两种模式:标准模式和省内存模式。标准模式一次全部加载进内存,有可能出现内存不够的情况。两种模式可以相互兼容和转换。
Since both modes have the exact same user interface, in the context of this documentation, let us select the standard mode by clicking on the top button of the window. The main calibration toolbox window appears on the screen (replacing the mode selection window):
两种模式提供相同的交互界面。
Note that the mode selection step can be bypassed altogether by directly runningcalib_gui(0) for the normal mode orcalib_gui(1) for the memory efficient mode (tryhelp calib_gui for more information).
可以用过calib_gui(0)直接跳到标准模式,calib_gui(1)直接跳到省内存模式。
- You are now ready to use the toolbox for calibration.
现在可以使用标定工具箱了。