Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 08:59
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
mpoview 0.3 (Fuji 3D cam viewer) mpo and jpeg support
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 29 Jul 2012, 18:54    Post_subject:  mpoview 0.3 (Fuji 3D cam viewer) mpo and jpeg support
Sub_title: Puppy and Windows version written in Genie
 

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:
cd /usr/local/mpoview
./compile.sh



- To run the viewer from console, use something like

Code:
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/Programming/Vala/Vala-for-Windows/mpoview-0.3/setup-mpoview-03.exe

It runs in wine like this:
Code:
wineconsole "c:/Program Files/mpoview/mpoview.bat" "z:/root/test.mpo"


or:
Code:
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
mpoview.pet
Description  version 0.3
pet

 Download 
Filename  mpoview.pet 
Filesize  34.56 KB 
Downloaded  264 Time(s) 
mpoviewb.jpg
Description  the buttonbar
jpg

 Download 
Filename  mpoviewb.jpg 
Filesize  8.63 KB 
Downloaded  272 Time(s) 
mpoview.jpg
 Description   
 Filesize   53.32 KB
 Viewed   1199 Time(s)

mpoview.jpg


_________________
my recommended links

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
Makoto


Joined: 03 Sep 2009
Posts: 1798
Location: Out wandering... maybe.

PostPosted: Sun 29 Jul 2012, 19:21    Post_subject:  

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 Mr. Green ).
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 29 Jul 2012, 19:51    Post_subject:  

Makoto,just tried it with a mpo file from http://kurifuri.com/2011/07/04/3d-photos-for-the-nintendo-3ds.

But mposplit cannot handle it, it gives the errror:
Quote:
No views found.


I do not know enough about mpos to fix this.

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 30 Jul 2012, 10:25    Post_subject:  

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

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
Makoto


Joined: 03 Sep 2009
Posts: 1798
Location: Out wandering... maybe.

PostPosted: Mon 30 Jul 2012, 14:02    Post_subject:  

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

But mposplit cannot handle it, it gives the errror:
Quote:
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. Very Happy)).

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 11 Aug 2012, 20:36    Post_subject:  

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

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 12 Aug 2012, 17:54    Post_subject:  

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

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0674s ][ Queries: 13 (0.0051s) ][ GZIP on ]