MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pairs
-
- One Eyed Hopeful
- Posts: 9
- Joined: Mon Feb 28, 2011 11:25 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
I tried the hex technique that cybereality suggested, and I noticed that the first image isn't always the left image. Here are two MPO files. What's interesting is they both have the same camera make, model, and software. I'm working on parsing the MPO file specification to see how I can determine the difference between the two.
DSCF0006 (chess) has the left-eye content as the first image.
DSCF0035 (bench) has the right-eye content as the first image
I have a batch of 25 sample MPO files, and 6 of them has the left-eye first, but 19 of them have the right-eye first. These are taken from Fjufilm's Real 3D W1, W3, and Sony DSC-TX9
Any ideas?
Thanks,
- Phil
DSCF0006 (chess) has the left-eye content as the first image.
DSCF0035 (bench) has the right-eye content as the first image
I have a batch of 25 sample MPO files, and 6 of them has the left-eye first, but 19 of them have the right-eye first. These are taken from Fjufilm's Real 3D W1, W3, and Sony DSC-TX9
Any ideas?
Thanks,
- Phil
You do not have the required permissions to view the files attached to this post.
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
Interesting. Not sure what the answer is. All the MPOs I was testing with I believe were Left eye first, and I tried at least a dozen. But its possible there is something else going on. I am planning on picking up the W3 at some point, so that will make it a lot easy for me to test these things and update the program.
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
@philipkd: I just looked at those images you posted and they are fine. Tried them with the DDD photo viewer and they looked good. Then I converted them to JPS using my MPO2JPS utility and the JPS files were rendered correctly. So I assume those images had left image first, just like all the other ones I tried. So I am not sure what they were supposed to prove.
-
- One Eyed Hopeful
- Posts: 9
- Joined: Mon Feb 28, 2011 11:25 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
Thank you for verifying this. You're right. I made the wrong guesses as to which eyes the images corresponded to. My mistake was not cropping appropriately according to parallax information. I found out how to do it here:
http://www.davidglover.org/2010/09/usin ... xunix.html" onclick="window.open(this.href);return false;
http://www.davidglover.org/2010/09/usin ... xunix.html" onclick="window.open(this.href);return false;
-
- One Eyed Hopeful
- Posts: 9
- Joined: Mon Feb 28, 2011 11:25 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
I just wanted to let you know I finished my website that'll convert MPO to various formats: http://3dporch.com/" onclick="window.open(this.href);return false;
I gained a lot from the resources in this thread, so I want to thank you. Have a go at the site, and let me know what you think!
I gained a lot from the resources in this thread, so I want to thank you. Have a go at the site, and let me know what you think!
-
- One Eyed Hopeful
- Posts: 1
- Joined: Sat Mar 26, 2011 12:40 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
Surry guys for stupid question, but I'am beginer on your forum and in 3D technologies also and not in good english speaking performance (Iam ukrainian). In this topic I found lot of useful link and participant of this forum seems very professional. In this case let me ask you, is the any analog of StereoTracer software for mac for making this lovely GIF. I mean not a simple gif animation from MPO file, I mean good mathematic algorithm as in link above.
Thank for reply before
Thank for reply before

-
- One Eyed Hopeful
- Posts: 1
- Joined: Thu Jun 16, 2011 1:53 am
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
I used cybereality's idea to get the left and right images in Python using the Python Imaging Library. This example doesn't save the images, as I am using them in a Python app:-
from PIL import Image
from StringIO import StringIO
file = open(r'F:\My Pictures\FinePix W3 3D\DCIM\100_FUJI\DSCF0007.MPO', 'rb')
left = Image.open(file)
left.show()
file.seek(4) # skip SOI and APP1 markers of 1st image
data = file.read() # read both images
file.close()
offset = data.find('\xFF\xD8\xFF\xE1') # find SOI and APP1 markers of 2nd image
file = StringIO(data[offset:]) # make a file containing the 2nd image
right = Image.open(file)
right.show()
file.close()
from PIL import Image
from StringIO import StringIO
file = open(r'F:\My Pictures\FinePix W3 3D\DCIM\100_FUJI\DSCF0007.MPO', 'rb')
left = Image.open(file)
left.show()
file.seek(4) # skip SOI and APP1 markers of 1st image
data = file.read() # read both images
file.close()
offset = data.find('\xFF\xD8\xFF\xE1') # find SOI and APP1 markers of 2nd image
file = StringIO(data[offset:]) # make a file containing the 2nd image
right = Image.open(file)
right.show()
file.close()
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
-
- One Eyed Hopeful
- Posts: 2
- Joined: Wed Apr 18, 2012 8:48 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
Hey guys, thanks for all the great work. I recently bought a viewsonic 3DPF8 3d Digital frame. I converted my .mpo files to side-by-side .jpg using Mpo2Stereo, but when I view the image on the digital frame, it displays it as 2 2D side-by-side images instead of 1 3D image. Its not the frame, because I tried loading some side-by-side images that I found online and they seem to work great. I also tried the stereo photo maker, but get the same results. Any help is greatly appreciated. Thanks in advance!.
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
Can you post one of the images that works so I can see the format? Also, you may want to try MPO2JPS and then renaming the files to JPG.
http://www.mtbs3d.com/phpBB/viewtopic.p ... 19&p=31457
http://www.mtbs3d.com/phpBB/viewtopic.p ... 19&p=31457
-
- One Eyed Hopeful
- Posts: 2
- Joined: Wed Apr 18, 2012 8:48 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
Thank you very much cybereality. I tried the MPO2JPS and it seems to work now. Thanks!!!
-
- One Eyed Hopeful
- Posts: 3
- Joined: Thu Jun 05, 2014 11:56 am
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
+1ozzman2020 wrote:Thank you very much cybereality. ..
But. How to work with multiple images simultaneously?
that is, how to handle multiple photos at a time?
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
You can just drag multiple files onto the exe file at once.
Or you can use a command window and type each name out, ie:
MPO2Stereo.exe img1.mpo img2.mpo img3.mpo ...
Or you can use a command window and type each name out, ie:
MPO2Stereo.exe img1.mpo img2.mpo img3.mpo ...
-
- One Eyed Hopeful
- Posts: 3
- Joined: Thu Jun 05, 2014 11:56 am
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
tried - http://yadi.sk/d/3aE7NALUSXHpk
I do something wrong?
I do something wrong?
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
That batch file is not my work, and I don't know how to use it.
Please use the exe file from this post: http://www.mtbs3d.com/phpBB/viewtopic.p ... 19&p=31457
Please use the exe file from this post: http://www.mtbs3d.com/phpBB/viewtopic.p ... 19&p=31457
-
- One Eyed Hopeful
- Posts: 3
- Joined: Thu Jun 05, 2014 11:56 am
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
It works! Thank you very much.cybereality wrote:...Please use the exe file from this post: http://www.mtbs3d.com/phpBB/viewtopic.p ... 19&p=31457
And what about the video processing?

- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
You should check out Stereo Movie Maker. Also Stereo Photo Maker can process MPO files with more options than my tool.
- stereoscopic1234
- One Eyed Hopeful
- Posts: 3
- Joined: Mon Dec 29, 2014 6:51 pm
Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa
I have compiled a version of MPO2STEREO for mac. It will work on intel mac 10.6 or later.
You do not have the required permissions to view the files attached to this post.
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11416
- Joined: Sat Apr 12, 2008 8:18 pm