Page 2 of 2

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Tue Mar 01, 2011 6:19 pm
by philipkd
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

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Tue Mar 01, 2011 6:33 pm
by cybereality
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.

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Tue Mar 01, 2011 7:34 pm
by cybereality
@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.

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Tue Mar 01, 2011 7:49 pm
by philipkd
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;

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Wed Mar 02, 2011 11:37 am
by philipkd
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!

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Sat Mar 26, 2011 12:56 pm
by Mich
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 :)

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Fri Jun 17, 2011 9:21 pm
by shortcipher
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()

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Sat Jun 18, 2011 8:42 am
by cybereality
Ok cool.

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Wed Apr 18, 2012 9:11 pm
by ozzman2020
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!.

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Wed Apr 18, 2012 9:29 pm
by cybereality
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

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Fri Apr 20, 2012 10:04 pm
by ozzman2020
Thank you very much cybereality. I tried the MPO2JPS and it seems to work now. Thanks!!!

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Thu Jun 05, 2014 12:08 pm
by idushy
ozzman2020 wrote:Thank you very much cybereality. ..
+1
But. How to work with multiple images simultaneously?
that is, how to handle multiple photos at a time?

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Thu Jun 05, 2014 9:10 pm
by cybereality
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 ...

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Fri Jun 06, 2014 12:37 pm
by idushy
tried - http://yadi.sk/d/3aE7NALUSXHpk
I do something wrong?

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Fri Jun 06, 2014 9:49 pm
by cybereality
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

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Sat Jun 07, 2014 1:40 am
by idushy
cybereality wrote:...Please use the exe file from this post: http://www.mtbs3d.com/phpBB/viewtopic.p ... 19&p=31457
It works! Thank you very much.
And what about the video processing? ;)

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Sat Jun 07, 2014 11:59 am
by cybereality
You should check out Stereo Movie Maker. Also Stereo Photo Maker can process MPO files with more options than my tool.

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Mon Dec 29, 2014 7:20 pm
by stereoscopic1234
I have compiled a version of MPO2STEREO for mac. It will work on intel mac 10.6 or later.

Re: MPO2Stereo: Convert Fujifilm MPO files to JPEG stereo pa

Posted: Mon Dec 29, 2014 9:25 pm
by cybereality
Cool man!