6 images (cube map) into equirectangular?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 6 images (cube map) into equirectangular?

Post by fmw42 »

I am not sure I understand what you need. Can you explain further? Are you talking about multiple panoramas or one panorama with multiple output images.

My next script will be to take one panorama and have the user specify a direction (or point on the panorama) and a field of view and correct that to a perspective view. You could script that to move around a panorama or extract one frame from multiple panoramas.

Nevertheless, it will be slow due to the use of -fx.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 6 images (cube map) into equirectangular?

Post by fmw42 »

I have posted my new script, sphericalpano2rect, at my link below.
jumpjack
Posts: 69
Joined: 2010-12-10T05:29:16-07:00
Authentication code: 8675308

Re: 6 images (cube map) into equirectangular?

Post by jumpjack »

I'll check if I can use this script to automate the task of obtaining sub-frames from spherical frames of a video.
curiousLurker
Posts: 1
Joined: 2017-12-13T02:36:03-07:00
Authentication code: 1152

Re: 6 images (cube map) into equirectangular?

Post by curiousLurker »

Stuka,

I registered here, now just to help you. What you are looking for is made by Facebook (a filter to convert between cubemap and equirectangular projection formats) and they have released it to general public https://github.com/facebook/transform360. An integration of this with FFMPEG is easy to do. I have done it and used it on Linux platform, but it should be straight forward on many other platforms which supports ffmpeg builds. Hope this helps. If you need further help, do reach out. Good luck
jumpjack
Posts: 69
Joined: 2010-12-10T05:29:16-07:00
Authentication code: 8675308

Re: 6 images (cube map) into equirectangular?

Post by jumpjack »

I'm very in trouble using Linux, but thanks fo the link.
Post Reply