Go Back   Steve's Digicams Forums > Post Your Photos > HDR

Reply
 
Thread Tools Search this Thread
Old Feb 4, 2010, 2:35 PM   #1
Senior Member
 
MartinSykes's Avatar
 
Join Date: Feb 2010
Location: Cheshire, UK
Posts: 854
Default 'HDR' effect from single JPEG

[EDIT]
This program has moved on a lot since the first version posted here. There is now a dedicated website available : http://www.autohdr.co.uk and it is still completely free to download. Here's a quick example from the latest version:

After:


Before:




Hi,

New to the forums - I recently stumbled across HDR photography and liked the images it produces. I know my next step should be to get a better digicam (mine doesn't even do RAW as far as I can tell) but in the meantime I've got a load of old jpegs that I wanted to do something with.

I tried a few freeware programs which just seemed to do some simple and unimpressive tone-mapping which wasn't the effect I wanted so I wrote my own program. I've put it here http://www.martinandanna.talktalk.net/autohdr.html if anyone would like to try it and feedback would be welcome. I've only been playing with it for a few days but I've found some ways to reduce halos in most pictures and keep sky and faces smooth in most situations. Got some more ideas but they'll be more work to program.

Very simple to use - you just open an image, process it automatically and save the result. There are a couple of options you can adjust but the defaults work well on most things I've tried. I think this is my favourite so far. I love the effect it gives on clouds and water.

Original:


Processed on default settings:

Last edited by MartinSykes; Jul 12, 2010 at 7:56 AM.
MartinSykes is offline   Reply With Quote
Sponsored Links
Old Feb 4, 2010, 3:57 PM   #2
Senior Member
 
Join Date: Jan 2010
Location: Western Ma. USA
Posts: 795
Default

Wow. you made this program? I'm impressed! I have been really searching for a way to make a psuedo HDR out of a jpeg (my camera also does not take RAW). Is there a way to make the "new" image on the right side look like what will be processed before you actually hit the "process image" button"?

That may be my only critique at this point. It took a few minutes to process is why i say that. I would like to see a preview before it happens.

But that is great!

Here, i have included the middle exposure of a bracketed set I took for HDR purposes.
The second image is the psuedo from your program in default (then added saturation).
The third image is from all three exposures done in photomatix.
Attached Images
   
__________________
ewheeler20 is offline   Reply With Quote
Old Feb 5, 2010, 2:30 AM   #3
Senior Member
 
MartinSykes's Avatar
 
Join Date: Feb 2010
Location: Cheshire, UK
Posts: 854
Default

My algorithm is pretty scaleable so I should be able to show a quick preview based on a scaled down image. With a small bit of work it should look exactly like the final version.

The program itself is based on a pretty simple concept but was quite tricky to get working right. It essentially measures the tonal range at many points on the image, interpolates between them to get a map and then applies a slightly different tonal mapping at every pixel. The first parameter just sets the level of mixing between the original and processed image. The second one controls how many sample points it uses and what is considered 'local' - LDR uses fewer points but looks at a large area round each. HDR++ uses lots of points and only a small area round each.

The other enhancement I was thinking of was searching for strong edges first and not measuring tonal changes across boundaries. If I get that right it should automatically remove the remaining halos that show up sometimes.
MartinSykes is offline   Reply With Quote
Old Feb 5, 2010, 3:22 AM   #4
Senior Member
 
MartinSykes's Avatar
 
Join Date: Feb 2010
Location: Cheshire, UK
Posts: 854
Default

Another one I just did:
MartinSykes is offline   Reply With Quote
Old Feb 5, 2010, 11:24 AM   #5
Senior Member
 
Join Date: Dec 2008
Location: UK
Posts: 2,193
Default

hey martin i will give it a go mate .....and see what i can come up with
__________________
Nikon D600 / Nikon 50 1.8 G / Nikon 85 1.8 G Always wanting more! MY FLICKR
simple is offline   Reply With Quote
Old Feb 5, 2010, 11:31 AM   #6
Super Moderator
 
Hards80's Avatar
 
Join Date: Nov 2004
Location: Cleveland, OH
Posts: 9,046
Default

i will give it a shot when i get home too

one thing i am noticing just from the few samples i have seen, and not trying it yet, it seems to be boosting global contrast maybe a bit too heavily.
Hards80 is offline   Reply With Quote
Old Feb 5, 2010, 1:42 PM   #7
Senior Member
 
MartinSykes's Avatar
 
Join Date: Feb 2010
Location: Cheshire, UK
Posts: 854
Default

Thanks guys - There is a very soft/soft/normal/hard/very hard setting which is used to blend the final image with the original so you can reduce the effect easily.
I think I've got a breakthrough on the halo problem too. Will see how it goes and then post a few intermediate pictures explaining what it's doing.
MartinSykes is offline   Reply With Quote
Old Feb 5, 2010, 2:16 PM   #8
Super Moderator
 
Hards80's Avatar
 
Join Date: Nov 2004
Location: Cleveland, OH
Posts: 9,046
Default

Martin,

here is my test shot from your program.

The parameters were Soft / HDR++, no other processing.
HDR on top, original on bottom.
Attached Images
 
Hards80 is offline   Reply With Quote
Old Feb 5, 2010, 2:30 PM   #9
Senior Member
 
Join Date: Dec 2008
Location: UK
Posts: 2,193
Default

haha im just uploading mine now ive also gone soft hdr as i think it gives the best results
__________________
Nikon D600 / Nikon 50 1.8 G / Nikon 85 1.8 G Always wanting more! MY FLICKR
simple is offline   Reply With Quote
Old Feb 5, 2010, 2:38 PM   #10
Senior Member
 
Join Date: Dec 2008
Location: UK
Posts: 2,193
Default

original


autohdr pseudo soft / hdr


above psuedo image with a little xtra editing


i find if you go any higher than soft the blue sky aquires a bit too much noise and dark patches but you have enough choices there so i guess it is not really a problem .
__________________
Nikon D600 / Nikon 50 1.8 G / Nikon 85 1.8 G Always wanting more! MY FLICKR

Last edited by simple; Feb 5, 2010 at 3:11 PM.
simple is offline   Reply With Quote
 
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 9:53 AM.