Syntax
[I,cax,pc]=projectionimage(pc,vdist,vwidth,[pixel,w])
Input Parameter
pc : | | camera view point |
vdist : | | camera target point |
vwidth : | | virtual screen width |
pixel : | | pixel size of virtual screen |
w : | | single angle value or list an angles; default is 0 |
Output Parameter
I : | | Image of pixel size or image stack |
cax : | | color axis [min max] |
pc : | | center point or list of center points |
Examples
SGfigure; SGsample(17); view(-30,30);
projectionimage([0 0 -10],10,200,512,0:pi/32:2*pi-1e-3); % central beam projection
[I,ca]=projectionimage([0 0 -10],10,200,512,0:pi/32:2*pi-1e-3);
projectionimage([0 0 -100000],10,200,512); % parallel projection
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