Citation | [1] Rigoberto Juarez-Salazar, Juan Zheng, and Victor H. Diaz-Ramirez, “Distorted pinhole camera modeling and calibration,” Applied Optics, Vol. 59, Issue 36, pp. 11310-11318 (December 2020). DOI: https://doi.org/10.1364/AO.412159 |
Links | Software BibTeX Paper Other Apps |
Disclaimer
1The provided code can be freely used for academic purposes. However, the reference article [1] must be properly cited.
2The provided code is illustrative and should not be used as the final product. The users will employ this code at their criterion. The authors will not be responsible for damages or loss of information.
Help: DPDEV Class Properties
- DT % Device type 'tel'|'pin'|'dpin'
- MN % [M,N] size of the device pixel array
- Kn % Pixel coordinates normalizing matrix
- K % Device intrinsic parameter matrix
- R % Rotatation matrix (device orientation)
- t % Translation vector (device position)
- d % Radial distortion parameters
- g % Tangential distortion parameters
Help: DPDEV Class Methods
- dpdev % Class constructor
- estimate % Device parameter estimation from point correspondences
- oriapos % Orientation and position from point correspondences
- rsp2dev % Transforms reference or space points to device points
- dev2rsp % Transforms device points to reference or space points
- dev2ray % Point and direction of the light ray at a given pixel
- dev2pln % Point and normal of the light plane at a given pixel
- pxl2dev % Pixel coordinates to device (normalized) coordinates
- dev2pin % Transforms distorted surface points to pinhole points
- draw % Graphical representation of the device in the 3D space
- imgtransf % Image transformation (image/slide)<-->(reference plane)
- texture3d % Image texture for 3D point clouds
- setres % Set device's resolution
- setdist % Set device's distortion
- setpose % Set device's pose
- revpose % Reverse device's pose