Active Topics

 


Reply
Thread Tools
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#21
Originally Posted by longcat View Post
What does that + do in every sentence ? some obscure Christianity or unknown dialect of l33t speak ?
Probably can't spell "Plus"

Just found this on Symbianfreak http://www.symbian-freak.com/news/00..._3d_photos.htm.
I know it's not what we're after really, but it's a pointer I suppose.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#22
Given you have two photos, one taken from your left eye (left.jpg) and one from your right eye (right.jpg), this is what you are going to do with imagemagick (available in Extras):

Code:
convert left.jpg -rotate 270 -geometry 270x480 left2.jpg
convert right.jpg -rotate 270 -geometry 270x480 right2.jpg
montage right2.jpg left2.jpg -geometry +0+0 both.jpg
Then cross your eyes upon both.jpg

Maybe there are other options to make it even shorter.

Now somebody make a nice QT program to choose the two photos and apply the conversion automatically!
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-08-18 at 09:28.
 

The Following User Says Thank You to debernardis For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#23
Originally Posted by debernardis View Post
Given you have two photos, one taken from your left eye (left.jpg) and one from your right eye (right.jpg), this is what you are going to do with imagemagick (available in Extras):

Code:
convert left.jpg -rotate 270 -geometry 270x480 left2.jpg
convert right.jpg -rotate 270 -geometry 270x480 right2.jpg
montage right2.jpg left2.jpg -geometry +0+0 both.jpg
Then cross your eyes upon both.jpg

Maybe there are other options to make it even shorter.

Now somebody make a nice QT program to choose the two photos and apply the conversion automatically!
This would be fairly easy to do with Imagemagick and Zenity. Then do a quick little bash-script for it. It would not look nice as in a real gui but would be easy and have a little take on resources.
 

The Following User Says Thank You to AlMehdi For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#24
Here a simple basic script and the output. Needs installing imagemagick and zenity from the repos. Processing took one minute on the n900.


Code:
#!/bin/sh

        FILE=`zenity --file-selection --title="Select left photo"`

        case $? in
                 0)
                        echo "\"$FILE\" selected.";;
                 1)
                        echo "No file selected.";;
                -1)
                        echo "No file selected.";;
        esac
      
export LEFT=$FILE

FILE=`zenity --file-selection --title="Select right photo"`

        case $? in
                 0)
                        echo "\"$FILE\" selected.";;
                 1)
                        echo "No file selected.";;
                -1)
                        echo "No file selected.";;
        esac

export RIGHT=$FILE
echo $LEFT
echo $RIGHT



convert $LEFT -rotate 270 -geometry 270x480 left2.jpg
convert $RIGHT -rotate 270 -geometry 270x480 right2.jpg
montage right2.jpg left2.jpg -geometry +0+0 -frame 5 both.jpg

          zenity --info  --text="Done - your 3d photo is both.jpg"
Attached Images
 
Attached Files
File Type: zip prova.sh.zip (452 Bytes, 122 views)
__________________
Ernesto de Bernardis

 

The Following 2 Users Say Thank You to debernardis For This Useful Post:
Posts: 96 | Thanked: 12 times | Joined on Jun 2008
#25
Wow, this looks great. Only problem is I can't get the images to be 3d no matter how cross eyed and ridiculas I look .
__________________
n810.
n900
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#26
Originally Posted by jackdoor View Post
Wow, this looks great. Only problem is I can't get the images to be 3d no matter how cross eyed and ridiculas I look .
Needs some experience. Just try on your our finger, try to fix your eyes on it, firstly at one arm distance then slowly getting it closer until it reaches your nose. At that time your eyes should be crossed
__________________
Ernesto de Bernardis

 
Posts: 130 | Thanked: 51 times | Joined on Sep 2009
#27
Maybe this could be a start for what you want:

http://www.schrammel.org/stereo-plascolin.php?l=en
 
mr_xzibit's Avatar
Posts: 220 | Thanked: 49 times | Joined on Aug 2010 @ england
#28
wow some amazing work guys
 
Posts: 96 | Thanked: 12 times | Joined on Jun 2008
#29
I figuered it out, you have to cross your eyes until the two images combine and make a third one in the middle, then try to focus on that middle image.
The images look great aswell.
__________________
n810.
n900
 
Posts: 466 | Thanked: 418 times | Joined on Jan 2010
#30
Debian package;
stereograph

Stereograph is a stereogram generator. In detail it is a single image
stereogram (SIS) generator. That is a program that produces two-dimensional
images that seem to be three-dimensional (surely you know the famous works of
"The Magic Eye", Stereograph produces the same output). You do _not_ need
any pair of colored spectacles to regard them - everyone can learn it.
It only depends on libpng, zlib and libc6. So should be extremely easy to port.

No actual GUI, but that sounds exactly like what you'd want. Then have someone implement it in fcam, since it's open source. Granted, I make that sound easy... I can't even get my SDK set up again... had it working once...

slaapliedje
 
Reply

Tags
photograph


 
Forum Jump


All times are GMT. The time now is 19:18.