The Windows software for this camera is so horrible that you’re really not missing out. Decoding photos taken with it is pretty easy. Videos is another topic – I haven’t dealt with that yet.
To decode photos you’ll need to install ImageMagick. Mac users can get this from MacPorts, or probably Fink too. Linux/Unix users can get it from wherever they normally get things.
You’ll also need to install “Exiftool”. In MacPorts, it’s called “p5-image-exiftool”, otherwise the above paragraph still applies.
To extract the left and right images from an MPO file:
exiftool -trailer:all= MPO_FILE.MPO -o left.jpg
exiftool MPO_FILE.MPO -mpimage2 -b > right.jpg
To extract the parallax information (which is stored only in the right image):
parallax=$(exiftool -b -Parallax right.jpg)echo $offset
width=$(exiftool -b -ImageWidth right.jpg)
offset=$(echo "($parallax * ($width/100) + 0.5)/1" | bc)
(Updated November 2011 to work with images shot in any aspect ratio or size.)
This gives you an integer number of pixels which you need to crop from the sides of the left and right images to make them line up nicely.
To crop the images based on the parallax value:
convert left.jpg -crop +"$offset"+0 left-cropped.jpg
convert right.jpg -crop -"$offset"+0 right-cropped.jpg
(If the parallax value is negative, you’ll need to reverse the “+” and “-”.)
And, if you have some red/cyan glasses, you can make an anaglyph like this:
composite -stereo 0 right-cropped.jpg left-cropped.jpg anaglyph.jpg
