Playing with HDR

HDR stands for High Dynamic Range. HDR basically refers to an image having a range of brightnesses greater than the camera is capable of capturing, in a single photo. The way these are taken is with a series of exposures which with computer trickery are combined into a 32bit picture file. These cannot be displayed on normal computer screens/TVs so are 'photoshopped' back to a regular 16 or 8bit file. While this can give realistic results, it also allows for some wacky effects to be created.

I'm not going to go into the details on how to create these effects but will provide some links to tutorials at the bottom. I wanted to test the benefit of multiple exposure HDR over single exposure pseudo-HDR (the cheat method*). Additionally, I wanted to test how many exposures are needed for the best result. The three examples below show some of the effects HDR photography can lead to:

Mini in HDRSt David's Cathedral in HDRHDR of cars

 

Single Vs Multiple Exposure HDR

There are times when either are appropriate but traditionally, the 'best' results will always come from a multiple exposure HDR. If there is movement in the scene you will get ghosting, which is the name given to the strange grey halos found around the moving objects (this can include plants/leaves moving in the wind). Software can reduce ghosting and in certain cases, remove it completely but a detailed tree scene on a windy day is going to have too much movement. *In these cases you can try single exposure HDR; this is only effective if you camera saves in RAW mode.

7 Exposures of TableSingle Exposure of TableFake HDR of Table

 

The first image shows a wide range of exposures, just from looking at these is it clear that the sky and trees do not have detail at the same time, one is overexposed while the other is underexposed. The next two photos show the original photo and a pseudo-HDR edit. The pseudo-HDR image shows more detail in the sky and trees simultaneously than the original. The enhanced colours are for dramatic effect to match the multiple exposure HDR and are not a result of using one exposure. Compare these with a 7 exposure HDR image below:

Outdoor Table in HDR

 

The multiple exposure HDR can show significantly more detail in the trees and sky simultaneously. While this photo looks less real, it is a product of having more light information which allows the photo manipulation to be taken to a more extreme level. As already stated, HDR can be edited in such a way that it looks realistic.

How many exposures are needed?

I have already touched on the point that the more exposures the more chance of movement and therefore ghosting, so... it's a balance. The first three examples all use 5 exposures and the table example used 7. I have trialled a few different combinations to see which give the best results:

9 Exposures of a BMW 335HDR Comparison of detail

 

These images are coloured coded to show the result of different combinations of exposures ranging from -4 to +4. For reference, a single exposure with the same image manipulation is included. In my opinion the 9, 7 and 5 exposures look almost exactly the same. The expanded 3 exposure is much better than its regular 3 counterpart, this is due to the limited data covering a wider range of exposures. In practice, the difference between a 3 exposure -1,0,+1 and a very well processed single exposure is very small. Although not clearly demonstrated in this example, a 5 exposure in more extreme lighting conditions would be better than the expanded 3 exposure.

After this experiment I will be using 5 exposures. The benefit of 7 or 9 is so small in normal circumstances it isn't worth torturing my laptop over! In windy conditions, I would use the expanded 3 exposure combination as the Canon 450D can automatically take all three shots very quickly, minimising movement in the scene.

BMW 335 in HDR

 

The final image was created with all 9 photos. This a very grungy edit which highlights the curves in the car body.

Useful HDR Tutorials

http://www.stuckincustoms.com/hdr-tutorial/ - By Trey Ratcliff. He has some amazing examples of more realistic photos and a good tutorial on the steps taken to get there.

http://beforethecoffee.com/photomatix-tutorial/ - By Ferrell McCollough (I think). Some great examples with explanations and the tutorial covers a wide variety of settings to consider.

Related Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Find MeTwitterFacebookLinkedinYoutubeFlickrTags</div> </div><div class="art-blockcontent"><a href="https://twitter.com/#!/jambezuk" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Twitter_32x32.png" alt="Twitter" /></a><a href="http://www.facebook.com/jambezuk" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Facebook_32x32.png" alt="Facebook" /></a><a href="http://www.linkedin.com/in/jamesberridge" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Linkedin_32x32.png" alt="Linkedin" /></a><a href="http://www.youtube.com/user/jambezuk" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Youtube_32x32.png" alt="Youtube" /></a><a href="http://www.flickr.com/photos/bez_uk/" ><img src="http://www.bezzer.co.uk/wp-content/plugins/social-profiles-widget/assets/images/circles/Flickr_32x32.png" alt="Flickr" /></a><div class="tagcloud"><a href="http://www.bezzer.co.uk/tag/450d/" class="tag-cloud-link tag-link-28 tag-link-position-1" style="font-size: 20.9230769231pt;" aria-label="450D (7 items)">450D</a> <a href="http://www.bezzer.co.uk/tag/android-tag/" class="tag-cloud-link tag-link-20 tag-link-position-2" style="font-size: 19.8461538462pt;" aria-label="android (6 items)">android</a> <a href="http://www.bezzer.co.uk/tag/battery-life/" class="tag-cloud-link tag-link-23 tag-link-position-3" style="font-size: 8pt;" aria-label="battery life (1 item)">battery life</a> <a href="http://www.bezzer.co.uk/tag/bf3/" class="tag-cloud-link tag-link-59 tag-link-position-4" style="font-size: 11.8769230769pt;" aria-label="BF3 (2 items)">BF3</a> <a href="http://www.bezzer.co.uk/tag/build/" class="tag-cloud-link tag-link-58 tag-link-position-5" style="font-size: 8pt;" aria-label="build (1 item)">build</a> <a href="http://www.bezzer.co.uk/tag/canon-450d/" class="tag-cloud-link tag-link-27 tag-link-position-6" style="font-size: 22pt;" aria-label="Canon 450D (8 items)">Canon 450D</a> <a href="http://www.bezzer.co.uk/tag/cm9/" class="tag-cloud-link tag-link-62 tag-link-position-7" style="font-size: 8pt;" aria-label="CM9 (1 item)">CM9</a> <a href="http://www.bezzer.co.uk/tag/code/" class="tag-cloud-link tag-link-51 tag-link-position-8" style="font-size: 11.8769230769pt;" aria-label="code (2 items)">code</a> <a href="http://www.bezzer.co.uk/tag/comparison/" class="tag-cloud-link tag-link-12 tag-link-position-9" style="font-size: 14.4615384615pt;" aria-label="comparison (3 items)">comparison</a> <a href="http://www.bezzer.co.uk/tag/custom/" class="tag-cloud-link tag-link-57 tag-link-position-10" style="font-size: 8pt;" aria-label="custom (1 item)">custom</a> <a href="http://www.bezzer.co.uk/tag/flash/" class="tag-cloud-link tag-link-44 tag-link-position-11" style="font-size: 14.4615384615pt;" aria-label="flash (3 items)">flash</a> <a href="http://www.bezzer.co.uk/tag/flickr/" class="tag-cloud-link tag-link-45 tag-link-position-12" style="font-size: 8pt;" aria-label="flickr (1 item)">flickr</a> <a href="http://www.bezzer.co.uk/tag/games/" class="tag-cloud-link tag-link-60 tag-link-position-13" style="font-size: 11.8769230769pt;" aria-label="games (2 items)">games</a> <a href="http://www.bezzer.co.uk/tag/hd1010/" class="tag-cloud-link tag-link-14 tag-link-position-14" style="font-size: 8pt;" aria-label="HD1010 (1 item)">HD1010</a> <a href="http://www.bezzer.co.uk/tag/hdr/" class="tag-cloud-link tag-link-54 tag-link-position-15" style="font-size: 14.4615384615pt;" aria-label="HDR (3 items)">HDR</a> <a href="http://www.bezzer.co.uk/tag/headphone/" class="tag-cloud-link tag-link-41 tag-link-position-16" style="font-size: 8pt;" aria-label="headphone (1 item)">headphone</a> <a href="http://www.bezzer.co.uk/tag/ir/" class="tag-cloud-link tag-link-71 tag-link-position-17" style="font-size: 11.8769230769pt;" aria-label="IR (2 items)">IR</a> <a href="http://www.bezzer.co.uk/tag/javascript/" class="tag-cloud-link tag-link-49 tag-link-position-18" style="font-size: 11.8769230769pt;" aria-label="javascript (2 items)">javascript</a> <a href="http://www.bezzer.co.uk/tag/joomla/" class="tag-cloud-link tag-link-10 tag-link-position-19" style="font-size: 8pt;" aria-label="joomla (1 item)">joomla</a> <a href="http://www.bezzer.co.uk/tag/learning/" class="tag-cloud-link tag-link-50 tag-link-position-20" style="font-size: 11.8769230769pt;" aria-label="learning (2 items)">learning</a> <a href="http://www.bezzer.co.uk/tag/lg2x/" class="tag-cloud-link tag-link-24 tag-link-position-21" style="font-size: 11.8769230769pt;" aria-label="lg2x (2 items)">lg2x</a> <a href="http://www.bezzer.co.uk/tag/light/" class="tag-cloud-link tag-link-43 tag-link-position-22" style="font-size: 19.8461538462pt;" aria-label="light (6 items)">light</a> <a href="http://www.bezzer.co.uk/tag/observations/" class="tag-cloud-link tag-link-61 tag-link-position-23" style="font-size: 14.4615384615pt;" aria-label="observations (3 items)">observations</a> <a href="http://www.bezzer.co.uk/tag/overclockersuk/" class="tag-cloud-link tag-link-56 tag-link-position-24" style="font-size: 8pt;" aria-label="OverclockersUK (1 item)">OverclockersUK</a> <a href="http://www.bezzer.co.uk/tag/pc/" class="tag-cloud-link tag-link-55 tag-link-position-25" style="font-size: 16.6153846154pt;" aria-label="PC (4 items)">PC</a> <a href="http://www.bezzer.co.uk/tag/plugin/" class="tag-cloud-link tag-link-46 tag-link-position-26" style="font-size: 8pt;" aria-label="plugin (1 item)">plugin</a> <a href="http://www.bezzer.co.uk/tag/profile/" class="tag-cloud-link tag-link-22 tag-link-position-27" style="font-size: 16.6153846154pt;" aria-label="profile (4 items)">profile</a> <a href="http://www.bezzer.co.uk/tag/programming/" class="tag-cloud-link tag-link-52 tag-link-position-28" style="font-size: 11.8769230769pt;" aria-label="programming (2 items)">programming</a> <a href="http://www.bezzer.co.uk/tag/review/" class="tag-cloud-link tag-link-36 tag-link-position-29" style="font-size: 16.6153846154pt;" aria-label="review (4 items)">review</a> <a href="http://www.bezzer.co.uk/tag/sanyo/" class="tag-cloud-link tag-link-16 tag-link-position-30" style="font-size: 8pt;" aria-label="sanyo (1 item)">sanyo</a> <a href="http://www.bezzer.co.uk/tag/sanyo-hd1010/" class="tag-cloud-link tag-link-13 tag-link-position-31" style="font-size: 8pt;" aria-label="Sanyo HD1010 (1 item)">Sanyo HD1010</a> <a href="http://www.bezzer.co.uk/tag/site/" class="tag-cloud-link tag-link-8 tag-link-position-32" style="font-size: 11.8769230769pt;" aria-label="site (2 items)">site</a> <a href="http://www.bezzer.co.uk/tag/sms/" class="tag-cloud-link tag-link-48 tag-link-position-33" style="font-size: 8pt;" aria-label="sms (1 item)">sms</a> <a href="http://www.bezzer.co.uk/tag/sony/" class="tag-cloud-link tag-link-35 tag-link-position-34" style="font-size: 14.4615384615pt;" aria-label="Sony (3 items)">Sony</a> <a href="http://www.bezzer.co.uk/tag/sony-dsc-w7/" class="tag-cloud-link tag-link-29 tag-link-position-35" style="font-size: 8pt;" aria-label="Sony DSC-W7 (1 item)">Sony DSC-W7</a> <a href="http://www.bezzer.co.uk/tag/sony-dsc-w300/" class="tag-cloud-link tag-link-30 tag-link-position-36" style="font-size: 11.8769230769pt;" aria-label="Sony DSC-W300 (2 items)">Sony DSC-W300</a> <a href="http://www.bezzer.co.uk/tag/sony-dsc-wx10/" class="tag-cloud-link tag-link-31 tag-link-position-37" style="font-size: 11.8769230769pt;" aria-label="Sony DSC-WX10 (2 items)">Sony DSC-WX10</a> <a href="http://www.bezzer.co.uk/tag/tasker/" class="tag-cloud-link tag-link-21 tag-link-position-38" style="font-size: 18.3384615385pt;" aria-label="tasker (5 items)">tasker</a> <a href="http://www.bezzer.co.uk/tag/update/" class="tag-cloud-link tag-link-9 tag-link-position-39" style="font-size: 11.8769230769pt;" aria-label="update (2 items)">update</a> <a href="http://www.bezzer.co.uk/tag/video-camera/" class="tag-cloud-link tag-link-17 tag-link-position-40" style="font-size: 8pt;" aria-label="video camera (1 item)">video camera</a> <a href="http://www.bezzer.co.uk/tag/volume/" class="tag-cloud-link tag-link-42 tag-link-position-41" style="font-size: 11.8769230769pt;" aria-label="volume (2 items)">volume</a> <a href="http://www.bezzer.co.uk/tag/w7/" class="tag-cloud-link tag-link-32 tag-link-position-42" style="font-size: 8pt;" aria-label="W7 (1 item)">W7</a> <a href="http://www.bezzer.co.uk/tag/w300/" class="tag-cloud-link tag-link-33 tag-link-position-43" style="font-size: 11.8769230769pt;" aria-label="W300 (2 items)">W300</a> <a href="http://www.bezzer.co.uk/tag/wordpress/" class="tag-cloud-link tag-link-11 tag-link-position-44" style="font-size: 11.8769230769pt;" aria-label="wordpress (2 items)">wordpress</a> <a href="http://www.bezzer.co.uk/tag/wx10/" class="tag-cloud-link tag-link-34 tag-link-position-45" style="font-size: 11.8769230769pt;" aria-label="WX10 (2 items)">WX10</a></div> </div> </div></div> </div> </div> </div><footer class="art-footer"><div class="art-footer-text"> <p><a title="RSS" class="art-rss-tag-icon" style="position: absolute; bottom: 10px; left: 6px; line-height: 25px;" href="#"></a></p><div style="position:relative;padding-left:10px;padding-right:10px"><p>Copyright © 2013. All Rights Reserved.</p></div> </div> </footer> </div> <p class="art-page-footer"> <span id="art-footnote-links">Designed by <a href="http://www.bezzer.co.uk" target="_blank">Bezzer</a>.</span> </p> </div> <div id="wp-footer"> <!-- Google Analytics Code added by Web Ninja Google Analytics plugin v1.0.7: http://josh-fowler.com/?page_id=70 --> <script type='text/javascript'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-9071547-3']); _gaq.push(['_setDomainName', '.bezzer.co.uk']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <!-- Web Ninja Google Analytics Done --> <script type="text/javascript"> window.WPCOM_sharing_counts = {"http:\/\/www.bezzer.co.uk\/2011\/09\/playing-with-hdr\/":606}; </script> <div id="sharing_email" style="display: none;"> <form action="/2011/09/playing-with-hdr/" method="post"> <label for="target_email">Send to Email Address</label> <input type="email" name="target_email" id="target_email" value="" /> <label for="source_name">Your Name</label> <input type="text" name="source_name" id="source_name" value="" /> <label for="source_email">Your Email Address</label> <input type="email" name="source_email" id="source_email" value="" /> <input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" title="This field is for validation and should not be changed" /> <img style="float: right; display: none" class="loading" src="http://www.bezzer.co.uk/wp-content/plugins/jetpack/modules/sharedaddy/images/loading.gif" alt="loading" width="16" height="16" /> <input type="submit" value="Send Email" class="sharing_send" /> <a rel="nofollow" href="#cancel" class="sharing_cancel" role="button">Cancel</a> <div class="errors errors-1" style="display: none;"> Post was not sent - check your email addresses! </div> <div class="errors errors-2" style="display: none;"> Email check failed, please try again </div> <div class="errors errors-3" style="display: none;"> Sorry, your blog cannot share posts by email. </div> </form> </div> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-includes/js/comment-reply.min.js?ver=5.1.1'></script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20130122'></script> <script type='text/javascript' src='https://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201917'></script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/wp-jquery-lightbox/jquery.touchwipe.min.js?ver=1.4.8'></script> <script type='text/javascript'> /* <![CDATA[ */ var JQLBSettings = {"showTitle":"1","showCaption":"1","showNumbers":"1","fitToScreen":"1","resizeSpeed":"400","showDownload":"0","navbarOnTop":"0","marginSize":"50","slideshowSpeed":"4000","prevLinkTitle":"previous image","nextLinkTitle":"next image","closeTitle":"close image gallery","image":"Image ","of":" of ","download":"Download","pause":"(pause slideshow)","play":"(play slideshow)"}; /* ]]> */ </script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/wp-jquery-lightbox/jquery.lightbox.min.js?ver=1.4.8'></script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-includes/js/wp-embed.min.js?ver=5.1.1'></script> <script async="async" type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/akismet/_inc/form.js?ver=4.1.1'></script> <script type='text/javascript'> /* <![CDATA[ */ var sharing_js_options = {"lang":"en","counts":"1","is_stats_active":"1"}; /* ]]> */ </script> <script type='text/javascript' src='http://www.bezzer.co.uk/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js?ver=7.2.1'></script> <script type='text/javascript'> var windowOpen; jQuery( document.body ).on( 'click', 'a.share-facebook', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-twitter', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' ); return false; }); </script> <!--[if IE]> <script type="text/javascript"> if ( 0 === window.location.hash.indexOf( '#comment-' ) ) { // window.location.reload() doesn't respect the Hash in IE window.location.hash = window.location.hash; } </script> <![endif]--> <script type="text/javascript"> (function () { var comm_par_el = document.getElementById( 'comment_parent' ), comm_par = ( comm_par_el && comm_par_el.value ) ? comm_par_el.value : '', frame = document.getElementById( 'jetpack_remote_comment' ), tellFrameNewParent; tellFrameNewParent = function () { if ( comm_par ) { frame.src = "http://jetpack.wordpress.com/jetpack-comment/?blogid=25573657&postid=606&comment_registration=0&require_name_email=1&stc_enabled=1&stb_enabled=1&show_avatars=0&avatar_default=mystery&greeting=Leave+a+Reply&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_US&jetpack_version=7.2.1&show_cookie_consent=10&has_cookie_consent=0&sig=c9bb456cdbd5d1dae8fe392ed27d51de029bdeb0#parent=http%3A%2F%2Fwww.bezzer.co.uk%2F2011%2F09%2Fplaying-with-hdr%2F" + '&replytocom=' + parseInt( comm_par, 10 ).toString(); } else { frame.src = "http://jetpack.wordpress.com/jetpack-comment/?blogid=25573657&postid=606&comment_registration=0&require_name_email=1&stc_enabled=1&stb_enabled=1&show_avatars=0&avatar_default=mystery&greeting=Leave+a+Reply&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_US&jetpack_version=7.2.1&show_cookie_consent=10&has_cookie_consent=0&sig=c9bb456cdbd5d1dae8fe392ed27d51de029bdeb0#parent=http%3A%2F%2Fwww.bezzer.co.uk%2F2011%2F09%2Fplaying-with-hdr%2F"; } }; if ( 'undefined' !== typeof addComment ) { addComment._Jetpack_moveForm = addComment.moveForm; addComment.moveForm = function ( commId, parentId, respondId, postId ) { var returnValue = addComment._Jetpack_moveForm( commId, parentId, respondId, postId ), cancelClick, cancel; if ( false === returnValue ) { cancel = document.getElementById( 'cancel-comment-reply-link' ); cancelClick = cancel.onclick; cancel.onclick = function () { var cancelReturn = cancelClick.call( this ); if ( false !== cancelReturn ) { return cancelReturn; } if ( ! comm_par ) { return cancelReturn; } comm_par = 0; tellFrameNewParent(); return cancelReturn; }; } if ( comm_par == parentId ) { return returnValue; } comm_par = parentId; tellFrameNewParent(); return returnValue; }; } // Do the post message bit after the dom has loaded. document.addEventListener( 'DOMContentLoaded', function () { var iframe_url = "http:\/\/jetpack.wordpress.com"; if ( window.postMessage ) { if ( document.addEventListener ) { window.addEventListener( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } jQuery( frame ).height( event.data ); }); } else if ( document.attachEvent ) { window.attachEvent( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } jQuery( frame ).height( event.data ); }); } } }) })(); </script> <script type='text/javascript' src='https://stats.wp.com/e-201917.js' async='async' defer='defer'></script> <script type='text/javascript'> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:7.2.1',blog:'25573657',post:'606',tz:'0',srv:'www.bezzer.co.uk'} ]); _stq.push([ 'clickTrackerInit', '25573657', '606' ]); </script> <div id="cookie-notice" role="banner" class="cn-bottom bootstrap" style="color: #fff; background-color: #000;"><div class="cookie-notice-container"><span id="cn-notice-text">We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.</span><a href="#" id="cn-accept-cookie" data-cookie-set="accept" class="cn-set-cookie cn-button bootstrap button">Ok</a> </div> </div> <!-- 61 queries. 1.809 seconds. --> </div> </body> </html>