HDR image creating algorithm
Asked Answered
R

4

11

Do you know any algorithm to create HDR images, like photomatix or photoshop "merge hdr" function?

Ruse answered 8/8, 2010 at 16:29 Comment(0)
B
8

Are you referring to Pseudo HDR (HDR look from 1 image) or HDR from few different images (Each with different Exposure)?

Usually HDR starts with Edge Preserving Smoothing operator. This allows to differentiate between the details, where we want to keep data, to flat areas, where we can compress the data.

The next step would be applying a compressing function to the data we want to compress.

The last step would be to blend the compressed data.

I would start by reading about Tone Mapping: http://en.wikipedia.org/wiki/Tone_mapping

Bruch answered 9/5, 2011 at 15:52 Comment(0)
U
2

Matlab has merge HDR function. If you have matlab installed, you can get source code of it in installation directory.(but you cannot use it for licensed app).

For few more details:
Open Source HDR library recommendations

Unpile answered 24/4, 2013 at 4:38 Comment(0)
D
2

I would suggest the HDR Toolbox which has open source (GPL v3) code and advanced alignment modes: https://github.com/banterle/HDR_Toolbox/tree/master/source_code/Generation

http://www.advancedhdrbook.com

Deutschland answered 2/10, 2013 at 21:59 Comment(0)
P
1

I don't know what language you use, but you can always take a look at the source code for Luminance (Qtpfsgui) and see how they do it.

Remember though, that that code is copyrighted so you can't really copy & paste into a differently licensed app.

Phoneme answered 8/8, 2010 at 17:1 Comment(2)
I have checked luminance, but I am not familiar with c++. Is there any Java or PHP code?Ruse
I don't know anything other than Python so I just put this as a suggestion b/c I use the program myself. I can't really say much about its code though.Phoneme

© 2022 - 2024 — McMap. All rights reserved.