mpoview 0.3 (Fuji 3D cam viewer) mpo and jpeg support

Paint programs, vector editors, 3d modelers, animation editors, etc.
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

mpoview 0.3 (Fuji 3D cam viewer) mpo and jpeg support

#1 Post by MU »

This program allows to view "MPO" files as well as stereoscopic JPGs on monitors that suport 3D, e.g. LG monitors with polarized glasses.

Supported JPG are two seperate files of full size (must have ".v1." and ".v2." in the filename), and single JPGs with half-size side by side pictures. Those are created by 3dpic for example:
http://www.murga-linux.com/puppy/viewtopic.php?t=78945

The Fuji Finepix 3D camera creates stereoscopic 3D fotos saved as MPO.

Description at amazon

They are saved as ".MPO" files, which are basically 2 jpegs merged after each other.

They could be extracted with "mposplit" from http://cstein.kings.cam.ac.uk/~chris/mposplit/


You then could use my converter "3dpic" to create a side by side jpeg of those two single jpegs.

You then could watch them in 3D with a standard 2D picture viewer on a 3D-monitor.


So why an own utility like mpoview?

1.) it automates the above steps (it uses mposplit itself, a binary is included in the pet).

2.) It uses an own window to display the resulting side-by-side image, allowing manipulations.

You have a "parallax control" on the X-axis as well on the Y-axis.

So if your fotos have "ghosting" as they are not well aligned (this even happens with an expensive solution like the finepix), you now may correct the view on the monitor.

The Finepix also has an inbuilt parallax control, and allows to save the corrected view.
mpoview has an additional Y control, and it is easier to adjust the view on a huge monitor than on the small inbuilt display of the camera.

I wrote the viewer in Genie, and compiled it in fluppy 013.

If the binary will not work, you had to install vala and compile it like this:

Code: Select all

cd /usr/local/mpoview
./compile.sh

- To run the viewer from console, use something like

Code: Select all

mpoview /root/my-photos/001.MPO
- You also can drag /usr/local/bin/mpoview on your Rox-Desktop, and then drop a mpo file from the filer on it to watch it.

- Or right-click a mpo in Rox-Filer, and set the "run-action" to mpoview "$1"
Rox-Filer shows MPOs as thumbnails, so you can use a filerwindow to preview the images and view them with a doubleclick.


On the top of the viewer there is a buttonbar (twice, so it looks correct in the 3D-mode of monitors). It has buttons to save, for Parallax-control and to exit.

Updates:

V002: If you click on an image, the next one in that directory is loaded. With a rightclick, the previous one.

V003: If you click on "save", the modified image will be saved in /root/mpoview/save. (or c:\users\yourname\mpoview\save\ on Windows.
You will have a left (v1), a right(v2) and a combined left/right halfsize(v4) .jpg there


Windows Version:
Added a standalone Windows Version 003 (compiled in Wine, not tested on other systems):
http://dotpups.de/puppy4/dotpups/Progra ... iew-03.exe

It runs in wine like this:

Code: Select all

wineconsole "c:/Program Files/mpoview/mpoview.bat" "z:/root/test.mpo"
or:

Code: Select all

wine "c:/Program Files/mpoview/3dviewer.exe" "z:/root/test.mpo"
Wine is set to run as WinXP, so it should work fine on "real" 32 bit XP systems, too.

Example mpos:

http://ast-ra.de/machzwei/GK/mpo7275aThripiti.mpo

from:
http://www.fotocommunity.de/pc/pc/display/26464744

You'll find more there.

Mark
Attachments
mpoview.pet
version 0.3
(34.56 KiB) Downloaded 488 times
mpoviewb.jpg
the buttonbar
(8.63 KiB) Downloaded 605 times
mpoview.jpg
(53.32 KiB) Downloaded 1532 times
Last edited by MU on Sun 12 Aug 2012, 22:15, edited 25 times in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#2 Post by Makoto »

Hmm... wonder if that'd work with the pictures my Nintendo 3DS takes. Reportedly, it also takes MPO format pictures, though some have said it's not exactly the same. I haven't bothered to take the SD card out of the 3DS and grab a photo to test (not that I've taken any interesting pictures with it, anyway :mrgreen: ).
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

Makoto,just tried it with a mpo file from http://kurifuri.com/2011/07/04/3d-photo ... ntendo-3ds.

But mposplit cannot handle it, it gives the errror:
No views found.
I do not know enough about mpos to fix this.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

Added a link to the windows version in the first message.
It includes the GPL and the required Gtk libraries (Download: 4 MB).

After installation you can drop a mpo file from the explorer on the mpoview desktopicon to view it.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#5 Post by Makoto »

MU wrote:Makoto,just tried it with a mpo file from http://kurifuri.com/2011/07/04/3d-photo ... ntendo-3ds.

But mposplit cannot handle it, it gives the errror:
No views found.
I do not know enough about mpos to fix this.

Mark
The files on that page are 'converted' from another camera, though, right? I'm sure it would be better to test with a natively-created file (although I've read people were having similar results with those).

Unfortunately, I don't have a way of getting the files from my 3DS' SD card to a computer at the moment (apparently, Puppy isn't seeing the card reader on this system, or something... (Or, I'm doing it wrong. Wouldn't surprise me in the least. :D)).
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

Updated mpoview.pet in the first message (not the windows-version).

Changes:
- save button.
It saves the current view (so actually your parallax correction) to /tmp/mpoview/save/

3 files are created, like
001.v1.jpg (left)
001.v2.jpg (right)
001.v4.jpg (left/right halfwidth)

Files of the same name are overwritten without request.

You also can show the next/previous image in the current folder with left/rightclick on an image.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

updated to version 0.3

- support for JPG files (2 single or one with two halfsize fotos)

- saves to /root/mpoview/save instead of /tmp

- Windows Release

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply