How to generate a panoramic image from a 3D rendering in Matlab?

I have a rather complicated patch object that I'd like to create a 360° panorama of. Specifically I've repositioned a the camera at a point in space and what I'd like to do is simply turn the camera and as I turn it, generate a panoramic image. Now I could simply save images then run stitching software to generate the panorama, but since I know the camera view angle, projection, and camera orientation in Matlab, there must be an easier way to generate one image. Anyone done this?

1 Comment

The way matlab renders images is by using the opengGL, and implementing standard functions. So you can create a projected view, but you cannot access most of the low-level functions. So, you can't access the data needed to do what you want in a more elegant manner. Your approach seems to be the best. I have many projection problems, and I would love to have access to more fundamental properties of the rendering (if anyone is listening...)

Sign in to comment.

Answers (0)

Categories

Asked:

on 17 Aug 2016

Commented:

on 26 Jun 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!