Virtual camera in CloudCompare

Feel free to ask any question here
Post Reply
Evan
Posts: 24
Joined: Wed Jul 08, 2020 12:54 am

Virtual camera in CloudCompare

Post by Evan »

Hello (Daniel),

I am interested in using CloudCompare to create a virtual camera. I would like to replicate the view from a real camera on a real scene with a virtual camera on a point cloud. The real camera comes with some radial distortion.

The first question I have is about the field of view value (see attachment FOV.jpg). I have set up this camera to have a FOV of 42.3 deg. Is this the horizontal, vertical, or diagonal FOV? On the options you indicate vertical (see attachment FOV_Options.jpg). This doesn't seem to reconcile with what I have in another program that also uses virtual cameras. What about the FOV when adjusting the current camera? (see attachment FOV_camera.jpg) If I remember correctly, through trial and error, I found that this was the diagonal FOV.

Finally, is there any way to bring in distortion, or is this for future use? (see attachment distortion.jpg)

Thank you.
Attachments
distortion.jpg
distortion.jpg (9.47 KiB) Viewed 975 times
FOV_camera.jpg
FOV_camera.jpg (14.66 KiB) Viewed 975 times
FOV_Options.jpg
FOV_Options.jpg (19.15 KiB) Viewed 975 times
FOV.jpg
FOV.jpg (17.46 KiB) Viewed 975 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Virtual camera in CloudCompare

Post by daniel »

Normally it should be horizontal FOV (we deduce the width of the viewport from the f.o.v. and the distance to the camera optical center).

And since OpenGL is doing most of the work, I'm not sure how you could apply the distortion parameters (even if it's probably technically possible).
Daniel, CloudCompare admin
Post Reply