PLofVLprojection

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - PL/Point Lists
Introduced first in SolidGeometry 3.8, Creation date: 2017-05-07, Last change: 2025-09-14

returns image point on a target screen

Description

Function to simulate a c-arm or central projection to a flat screen

See Also: TofcamVLPL

Example Illustration

 missing image of PLofVLprojection(VL,pc,pt,cup,sc,isize)

Syntax

[PL,T,VLT,Tc]=PLofVLprojection([VL,pc,pt,cup,sc,isize])

Input Parameter

VL: Vertex list
pc: camera center
pt: target image origin
cup: camera up center; default is [0 0 1]
sc: image scaling (pixel size); default is [1 1]
isize: image size; default is 512 512

Output Parameter

PL: Point List in image coordinate system
T: T matrix of image coordinate system
VLT: Position of the projektion points in VL's system
Tc: T matrix of camera coordinate system

Examples


PLofVLprojection(VLsample(7),[0 -50 0],[0 20 30],[1 0 0])
PLofVLprojection(VLsample(7),[0 -50 0],[0 20 30],[0 0 1])
VL=10*rand(10,3), PLofVLprojection(VL)




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