TofcamVLPL
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 3.8, Creation date: 2017-05-07, Last change: 2025-09-14
returns the coordinate system and calibration matrix of a camera
Use carefully: The 'TofcamVLPL' function has not yet been extensively tested
Description
Useful for calucating the center and camera angle of a c-arm.
VL and PL must have the same length!
In case of a real c-arm it is tried that the image should have the focus length is the distance between the x-ray source and the detector.
See Also: PLofVLprojection
Example Illustration
Syntax
[T,K,s,azxz]=TofcamVLPL([VL,PL])
Input Parameter
VL: | | Vertex List in world coordinates |
PL: | | Point List in the image coordinate system |
Output Parameter
T: | | Transformation matrix of the camera position |
K: | | Intrinsic camera parameter |
s: | | scaling factor |
azxz: | | rotation angle zxz |
References
Michael Langer (2010): "Fundamentals of Computer Vision", COMP 558 lecture 19, McGill University, Montreal, Quebec, Canada
Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21