converting equirectangular panorama to cube faces
Posted: 2010-03-19T11:54:25-07:00
I need to know (if there is) a way to use ImageMagick to convert an equirectangular spherical panorama to a set of cube faces. I have a very large equirect. Panorama (greater than 8000 pixels wide) and i'd like to get it into a cubic format. I'd prefer if I could get each face as a seperate image, and I also need it to be doable via commandline from a C# program that I'm writing.
I know that IM has the ability to take a set of cube faces and put them into a single cubic projection strip, but I need to take an existing equirect image and make it cubic. The program I'm writing needs to be automatic, so I have to be able to take a user's input picture and automatically convert it to cube faces so I can process them.
Is something like this possible? I'd really rather not require my users download a second program to do the cube face conversion if I can help it.
I know that IM has the ability to take a set of cube faces and put them into a single cubic projection strip, but I need to take an existing equirect image and make it cubic. The program I'm writing needs to be automatic, so I have to be able to take a user's input picture and automatically convert it to cube faces so I can process them.
Is something like this possible? I'd really rather not require my users download a second program to do the cube face conversion if I can help it.