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

2 views (last 30 days)
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
itzhak
itzhak on 26 Jun 2017
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

Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!