Optica Publishing Group
Browse
code_matlab.zip (14.11 MB)

DevCalib: Homography-based device calibration

Download (14.11 MB)
software
posted on 2023-07-26, 20:22 authored by Rigoberto Juarez-Salazar
This upload contains the implementation of the calibration methodology, test images, and data sets reported in the paper "Are camera, projector, and camera-projector calibration different?" of Applied Optics. The following are the Matlab functions constructed. * DevCalib. This function estimates the intrinsic and extrinsic parameters of the device (camera or projector) given as input sets of point correspondences between the reference plane (rho) and the device image/slide plane (mu). The calibration employs the homography-based method. * hom. This function implements the homogeneous coordinate operator for the particular base s = 1. This function receives a matrix of size NxK where each column represents the Cartesian coordinates of points in the N-dimensional space. The output is a matrix of size (N+1)xK, where each column is the homogeneous coordinates of the input points. * ihom. This function implements the inverse homogeneous coordinate operator for the particular base s = 1. This function receives a matrix of size (N+1)xK, where each column is the homogeneous coordinates of a point. The output is a matrix of size NxK with the corresponding cartesian coordinates. We also included three scripts for testing the DevCalib function to calibrate cameras and projectors, as described below. 1. example_cam. Test script for camera calibration. 2. example_proj. Test script for projector calibration. 3. example_camproj. Test script for camera-projector calibration. The folders Cam, Proj, and Camproj in this upload contain the corresponding test images and data sets for running the test scripts.

History

Usage metrics

    Applied Optics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC