GetCameraPosFromCylinderSetup

[Twoc] = GetCameraPosFromCylinderSetup(vPi,dr, nN, nM, dThetaL, dThetaR, dPhiT, dPhiD)

 
Description: Computes the camera positon Cpos [X,Y,Z] from cylinder camera setup data (See figure 1)
Out parameters:
  • Twoc = Camera vector positions respect world axis  [X Y Z]. Row vectors. Camera one is top-left, second top left+1, etc… (rear view)
In parameters:
  • vPi = Point of interest. It’s the central point that all cameras surround. Vector [X Y Z]
  • dr = Distance from Pi to cameras. Radius of the sphere
  • nN = Number of cameras per row
  • nM = Numbers of cameras per col
  • dThetaL = Angle of cameras (left X-Y axis)
  • dThetaR = Angle of cameras (right X-Y axis)
  • dPhiT = Angle of cameras (top X-Z)
  • dPhiD = Angle of cameras (down X-Z)
Definition of Input parameters of GetcameraPosFromCylinderSetup
Figure 1 – Definition of Input parameters of GetcameraPosFromCylinderSetup. θl=45º, θr=45º, øt=45º, ød=22.5º, N=5,M=4,Up=[0X 0Y 1Z]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: