How to generate a panoramic image from a 3D rendering in Matlab?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
itzhak
2017-6-26
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...)
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!