Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#41
Originally Posted by davost View Post
I compiled a quick and dirty script which uses this C utility and takes a -2, 0, +2 sequence with the current settings in focus and exposure.

to run it

1) Place the files contained in the attached file in a non vfat folder eg., ~.
2) Compose and take a picture in with the default camera application.
3) Close camera application without moving the camera too much.
4) Run photo_bracketing.sh from the command line. Wait.

the three files will be called rawHDRtest0.png rawHDRtest1.png and rawHDRtest2.png
Originally Posted by davost View Post
Ok, so this is my first HDR pic made with the N900.

Made from 11 pics EV -5.0 to EV 5.0 .

On the desktop I ran enfuse to merge them to this

Nothing impressive but I think there is potential for a cool app if someone want to pick it up.
The question that I have now is: can you automate the whole process on-device using Easy Debian enfuse? How long does enfuse take on the desktop?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 45 | Thanked: 54 times | Joined on Oct 2009 @ Uppsala,Sweden
#42
Originally Posted by qole View Post
The question that I have now is: can you automate the whole process on-device using Easy Debian enfuse? How long does enfuse take on the desktop?
A quick benchmark of enfuse on the my desktop (Quad core i7; 6 GB RAM):

11 source pictures: 14.2 seconds. Top displays about 600 MB memory usage
2 source pictures: 2.8 seconds. Top displays about 180 MB memory usage.

I don't have easy debian installed atm.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#43
Ok:

I balanced my N900 in a video tape box (boy, I wish there was a tripod mount on the N900) and took the pictures with davost's script. Then installed enfuse in Easy Debian (apt-get install --no-install-recommends enfuse).

I can report that enfuse takes approximately 6.5 minutes on the N900 to process the three output pictures from davost's script into a somewhat reasonable HDR jpeg picture.

Command line:

Code:
enfuse -o FinalHDRimage.jpg rawHDRtest_0.png rawHDRtest_1.png rawHDRtest_2.png
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following 2 Users Say Thank You to qole For This Useful Post:
Posts: 105 | Thanked: 23 times | Joined on Nov 2009
#44
qole, I would love to see the picture you took.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#45
It is awful, but in the name of science, I will post it.

It isn't original resolution, but it is good enough for the purposes of this discussion.

I purposely chose an extremely demanding light situation. The blue box at the bottom was in total darkness, or the light at the top was completely blasted out.

Notice the noise.

__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2010-01-09 at 08:34.
 

The Following 3 Users Say Thank You to qole For This Useful Post:
Posts: 45 | Thanked: 54 times | Joined on Oct 2009 @ Uppsala,Sweden
#46
My first HDR pic done in daytime. And before you say it. I know my windows are horribly dirty.
Attached Images
    
 

The Following 7 Users Say Thank You to davost For This Useful Post:
spinnukur's Avatar
Posts: 569 | Thanked: 159 times | Joined on Sep 2009 @ District of Columbia
#47
A program would be so awesome for this, as I being the maemo noob that I am, I'd be too afraid to mess up my N900 via xterminal.
__________________
To find yourself, think for yourself

-Socrates 469 BC

Last edited by spinnukur; 2010-01-16 at 09:05.
 
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#48
Edited Davosts script to start at -4 and output 5 files.
Ran through enfuse -l 20

N900 iso 100, exposure +0.5, white balance Cloudy, high res.

Gimped a bit to make warmer.
Attached Images
     
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following 6 Users Say Thank You to rcull For This Useful Post:
ZackMorris's Avatar
Posts: 355 | Thanked: 245 times | Joined on Jul 2009 @ Northern VA
#49
Ok so just ordered the GorillaPod to do this. So to be correct enfuse is needed to combine the .png files for the hdr image? Are there any programs for windows that accomplish the same thing that anyone has used in conjunction with the N900 shots? Is a port of Enfuse available for Maemo to run off the N900 to combine the photos so we can upload directly from the device to photosharing sites?

Wish: Someone creates a simple gui app of Davost's script to get these hdr images with one or two clicks combined with Enfuse. Would be epic to have that capability by just getting a tripod and downloading an app.
 
Posts: 45 | Thanked: 54 times | Joined on Oct 2009 @ Uppsala,Sweden
#50
Originally Posted by ZackMorris View Post
Ok so just ordered the GorillaPod to do this. So to be correct enfuse is needed to combine the .png files for the hdr image?
Yes, or some other tone mapping software. There are many. It can also be done manually in gimp, photoshop.

Is a port of Enfuse available for Maemo to run off the N900 to combine the photos so we can upload directly from the device to photosharing sites?
Sort of. Further up in the thread qole successfully ran enfuse on the tablet using easy debian. However, for high res pictures this is quite resource intensive. I.e., several minutes of numbercrunching.


Wish: Someone creates a simple gui app of Davost's script to get these hdr images with one or two clicks combined with Enfuse. Would be epic to have that capability by just getting a tripod and downloading an app.
Agreed. My code snippet is just a proof of concept. I would improve it but at the moment I am very busy with work. Hopefully I'll be able to put this together in a while.
 

The Following 2 Users Say Thank You to davost For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:33.