PDA

View Full Version : 3D Photo Capture Program - Hope ya guys love 3D


May Maple
08-18-2010, 02:23 AM
+ Ya know, in Apple Store, they have some programs allow people to take 3D image by combine 2 photos into 1 and measure the distance from the Eyes to the Screen to calculate the 2 photo layers dimension...or something :D

+ I ckecked out an app like that, and I see they have 1 line with 1 bing button. And to capture, ya put 1 fingure on that button, then slide the screen with that fingure stand still. Till the end of the line. And the result is 2 photos are combined into 1 with Some RED and BLUE lines appear, or Stereo Grams...etc...:rolleyes:

+ I hope this gonna be a good idea to have 3D Photo capture by N900 5MP Camera. Awwwww! I just love taking photo...:D

F2thaK
08-18-2010, 02:52 AM
quit asking for iphone apps for n900.

its not going to happen.

go buy an iphone.

:P

May Maple
08-18-2010, 03:45 AM
quit asking for iphone apps for n900.

its not going to happen.

go buy an iphone.

:P

+ I do have an iPhone, and? and what? :confused:

+ I'm not asking people to port iPhone App to N900. Please read my thread carefully before post a non-sense comment! :D

+ I bring the idea from iPhone App to N900 but I didn't ask to port the iPhone App to N900. And so? :confused: Is it a problem to that? :confused:

+ Before I post a thread, I make sure a thing that N900 can do it too. Because any phone that have Camera can do that! Not just the iPhone and N900!

+ Not only the iPhone, but the 3D Camera also avaible for N97 too, and what do you blame me for bring up new idea? :confused:

+ If you can't make that kind of program, then just keep quiet :). Don't blame people for bringing up idea! Thanks! ;)

AlMehdi
08-18-2010, 03:46 AM
quit asking for iphone apps for n900.

its not going to happen.

go buy an iphone.

:P


That was beeing rude.. the guy/girl just want to be able to do some photo effects.

I am not aware of such a program as of now. I am not even sure if sucha a program exists on the linux platform.

Ohh.. just realized how you meant. It might be possible to do through Gimp using Easy Debian. It would not be as easy as that though. Gimp is similar to Photoshop but for the linux system.

Just take a foto > duplicate it > lower the opacity and tilt little > done!

F2thaK
08-18-2010, 03:52 AM
see the tongue?? :P

plus thread title is misleading, sounds like an app release thread.!

Spotfist
08-18-2010, 03:52 AM
would be pretty cool especially combined with a 3d headtracking program I saw on this forum a while ago! kinda like taking a picture on the 3DS then show all ur mates the cool 3D effect ;)

May Maple
08-18-2010, 03:52 AM
That was beeing rude.. the guy/girl just want to be able to do some photo effects.

I am not aware of such a program as of now. I am not even sure if sucha a program exists on the linux platform.

+ Thanks AlMehdi :)

+ Since most programs which are ported to N900 is made for PC, ofcourse no-one would bring a PC along to take photo outside their home.

+ If we don't have that kind of App, then make one. I would be grateful for that!

+ The program is just combine 2 photo, one of each is taken from different angle. And combine together, it become a stereogram image which ya can see 3D in the image by naked eye. Or making a Cyan-Red 3D image, and using Cyan-Red 3D glasses to see 3D. That is the idea :)

AlMehdi
08-18-2010, 03:53 AM
Ohh.. just realized how you meant. It might be possible to do through Gimp using Easy Debian. It would not be as easy as that though. Gimp is similar to Photoshop but for the linux system.

Just take a foto > duplicate it > lower the opacity and tilt little > done!

johnel
08-18-2010, 04:01 AM
It's an interesting idea.

Especially with the Fcamera software.

So basically you would:
Take 1st photo.
"slide" the n900 to the side (left or right?) - an on-screen guide will help you.
Take 2nd photo.
Some kind of "depth" measurement between 2 photos.
Render the final image from photo 1 & photo 2

Is that right?

Sounds cool!

May Maple
08-18-2010, 04:14 AM
It's an interesting idea.

Especially with the Fcamera software.

So basically you would:
Take 1st photo.
"slide" the n900 to the side (left or right?) - an on-screen guide will help you.
Take 2nd photo.
Some kind of "depth" measurement between 2 photos.
Render the final image from photo 1 & photo 2

Is that right?

Sounds cool!

+ Ek! Finally some one understand this completely! Oh! I'm so happy, thank you! :o

debernardis
08-18-2010, 04:15 AM
fcam has also rephotography, if you remind, which could help a lot when taking the second shot. The images could be shown together, to be seen in 3d with eyes crossed.
http://www.google.com/search?client=ubuntu&channel=fs&q=crossed+eyes+3d&ie=utf-8&oe=utf-8

See also this: How to take 3d photos (http://www.neilcreek.com/blog/2008/03/21/how-to-take-3d-photos/)

chase15
08-18-2010, 04:16 AM
This girl keeps on asking iPhone apps... come here at my place I got the best iPhone apps... you'll like it :D

May Maple
08-18-2010, 04:24 AM
This girl keeps on asking iPhone apps... come here at my place I got the best iPhone apps... you'll like it :D

+ Ohhhh! Can anyone please release your brain a little bit?
=> Here, look! I already own an iPhone, and an N900. But! May we enrich N900 (Maemo) app contents by using iPhone App's ideas? :)

debernardis
08-18-2010, 04:39 AM
I've done this quite quickly with my n900. It's meant to be seen with eyes crossed.

AlMehdi
08-18-2010, 04:40 AM
+ Ohhhh! Can anyone please release your brain a little bit?
=> Here, look! I already own an iPhone, and an N900. But! May we enrich N900 (Maemo) app contents by using iPhone App's ideas? :)

Chase15 was just playing with you.. a bit immature though.

jedi
08-18-2010, 04:42 AM
+ Howabout downgrading the camera
+ removing Flash
+ removing multi-tasking
+ forcing everyone to use some sucky software just to sync their phone
+ And preceding all sentences with a "+"

:)

debernardis
08-18-2010, 04:48 AM
Combining two portrait-oriented photos in one, while reducing the size, should be trivial for any developer. I guess that a shell one-liner in imagemagick or similar could be enough.
I am not a developer unfortunately :)

May Maple
08-18-2010, 04:50 AM
I've done this quite quickly with my n900. It's meant to be seen with eyes crossed.

Ek! How nice! :o
+ But you have to do it manually. And it take a long time (15 minutes).
+ Then please please please make an app for a newbie like me to use :( May the program automatically make a cross-eye photo like that >_<

stickymick
08-18-2010, 04:57 AM
I'm sure there's some tutorials on the web that show you how to take 3D images with a digicam and then you upload the results to PC and a small program flickers between the two images at high speed, giving the 3D effect.

I think (not quite sure though) that a Symbian blogger called P@sco actually did a feature on his site. Need to have a good search.

longcat
08-18-2010, 05:02 AM
+ But you have to do it manually. And it take ...
+ Then please please please make an app for a newbie like me to ...

What does that + do in every sentence ? some obscure Christianity or unknown dialect of l33t speak ?

stickymick
08-18-2010, 05:07 AM
What does that + do in every sentence ? some obscure Christianity or unknown dialect of l33t speak ?

Probably can't spell "Plus" :p

Just found this on Symbianfreak http://www.symbian-freak.com/news/007/06/create_your_own_3d_photos.htm.
I know it's not what we're after really, but it's a pointer I suppose. :confused:

debernardis
08-18-2010, 05:26 AM
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):

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.jpgThen 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!

AlMehdi
08-18-2010, 05:39 AM
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):

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.jpgThen 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.

debernardis
08-18-2010, 06:13 AM
Here a simple basic script and the output. Needs installing imagemagick and zenity from the repos. Processing took one minute on the n900.


#!/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"

jackdoor
08-20-2010, 10:33 AM
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 :).

debernardis
08-20-2010, 01:08 PM
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 ;)

gunni
08-20-2010, 02:08 PM
Maybe this could be a start for what you want:

http://www.schrammel.org/stereo-plascolin.php?l=en

mr_xzibit
08-24-2010, 06:05 AM
wow some amazing work guys

jackdoor
08-24-2010, 12:23 PM
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.

slaapliedje
08-24-2010, 12:45 PM
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

jflatt
08-24-2010, 12:57 PM
Cool! Is it difficult to line up the camera for those shots?

mastac
08-24-2010, 01:03 PM
see the tongue?? :P

plus thread title is misleading, sounds like an app release thread.!

you're a 'tard.

:P

see the tongue??

debernardis
08-24-2010, 01:27 PM
Cool! Is it difficult to line up the camera for those shots?

Nope. Just stand in front of your target, move your weight on your left foot, shoot first photo, move on your right foot, shoot second photo, done.

dana.s
08-24-2010, 01:41 PM
do you have any samples?

plues, what are all these + signs... looks like a virus

PradaBrada
08-24-2010, 08:55 PM
+ Ek! Finally some one understand this completely! Oh! I'm so happy, thank you! :o

Verily, I say: expose thy bosom, else I implore thee in a crude manner, take thine leave!

southwalesboy
08-24-2010, 09:11 PM
Nice 3D pics.. but my head hurts now! and my optic nerves feel about an inch longer. QT app would be nice for us non techies

TiagoTiago
08-24-2010, 09:21 PM
Perhaps it would be better to use wiggle stereoscopy while capturiing the second image of the pair, quickly alternating between live view and the first image.

For those that don't know wiggle stereoscopy, here are a few examples:
http://www.blueswami.com/images/3d/gif6.gif
http://www.well.com/~jimg/stereo/Flippant_Venus_Plunge.gif
http://www.well.com/~jimg/stereo/Old_Stone_Gate.gif
http://www.blueswami.com/images/3d/stereoview_11.gif

PradaBrada
08-24-2010, 10:07 PM
Perhaps it would be better to use wiggle stereoscopy while capturiing the second image of the pair, quickly alternating between live view and the first image.

For those that don't know wiggle stereoscopy, here are a few examples:
http://www.blueswami.com/images/3d/gif6.gif
http://www.well.com/~jimg/stereo/Flippant_Venus_Plunge.gif
http://www.well.com/~jimg/stereo/Old_Stone_Gate.gif
http://s3.amazonaws.com/files.posterous.com/9aul/utxHJuuvDFIenkEouxrzdxufCqfqjhFdeBguAezJJkCCvgtBkk txyxmmtpal/media_httpimgsabduzee_FcyCF.gif?AWSAccessKeyId=1C9 REJR1EMRZ83Q7QRG2&Expires=1282699440&Signature=RBnDhkzjz2nMcAjwJ4Bku37a2FI%3D

http://threadbombing.com/data/media/2/party_hard_cat.gif

Descalzo
08-24-2010, 10:15 PM
Kids, don't do drugs.

Seriously, though, this is pretty cool.

CepiPerez
08-24-2010, 11:03 PM
Maybe this could be a start for what you want:

http://www.schrammel.org/stereo-plascolin.php?l=en

I've compiled it for maemo 5.
It works fine but it need to be hildonized.
Anyone interested?

TiagoTiago
08-24-2010, 11:22 PM
hm, the one with the T-Rex from JP isn't showing anymore...

debernardis
08-25-2010, 01:04 AM
I didn't know of wiggle stereoscopy. Nice. Still, I prefer eye crossing.
See also http://www.start3d.com for its piku-piku photos :)
Also, time to resurrect this thread: http://talk.maemo.org/showthread.php?t=51345 (imagine a piku-piku with that)


BTW anybody knows how to instruct the camera to shoot a 400x480 photo - with the viewfinder on, of course? (I know of dbus commands to shoot a photo but in blind, without viewfinder, and don't know how to select size)

dov
08-25-2010, 01:28 AM
Regarding the alignment of the images, it should be possible to use the accelerometers to guide the user of where to place the camera while taking the second shot. I can imagine an application that uses arrows instructing the user in what direction to move and rotate the camera and when ready takes the snapshot.

A more interesting 3D application would be to instruct the user to take multiple images of an object and then build a 3D polygon file out of it, e.g. in the PLY file format (http://en.wikipedia.org/wiki/PLY_%28file_format%29).

debernardis
08-25-2010, 01:54 AM
I've compiled it for maemo 5.
It works fine but it need to be hildonized.
Anyone interested?

Me. Please attach :)