Showing posts with label Technique. Show all posts
Showing posts with label Technique. Show all posts

Tuesday, June 09, 2015

RAW vs JPG for Mobile Phone Photography - LG G4


LG G4 RAW capture, manual exposure, unadjusted, cropped to 2047 x 2047, saved at 90% JPG quality, Adobe Lightroom 5.7.
I continue to experiment with manual exposure and the ability to capture images in RAW format on the LG G4 mobile phone, since it's one of the first (the first?) phone cameras to offer that capability.  Above is the RAW file.

Next let's look at a copy edited in +Adobe Photoshop Lightroom mobile on +Android:

Image adjusted in Adobe Lightroom mobile app, color, contrast, etc, vignette applied.
The original files are 5312 x 2988 resolution, 16 megapixels. This was cropped square, top to bottom in the original frame, so it was 2988 x 2988, but it's displayed at 2048 x 2048 here.  Looking at the Lightroom folder on the LG G4, that downsize in resolution seemed to happen automatically in the Lightroom software.

Now I'll upload the original RAW file here, saved to JPG (80% quality) so it will display:



The unadjusted RAW file was 20 MB, then saved to JPG 80% resolution it's now 6.56MB
But guess what I was actually taking a picture of... I was trying out an 8X digital zoom on the toad's eye from about 4" away, so I could see how a macro-like the result would turn out.  I was shooting in RAW + JPG mode, and this zoomed view saved at the same and with the same file name as the wider RAW file above:

8x zoom from 4" away! (JPG file created by the LG G4 alongside the RAW image with wider field of view)
The LG G4 has an 8-way optical image stabilizer, improved from the 4-way OIS on the LG G3.  Multiply hand shake with 8X zoom, arms outstretched to ground level, a few inches from the subject, and this is an impressive result.  Next I'll have to try it with the phone stationary to test the phone's close focusing and image quality without unsteady hands being a factor.

What's interesting about this 8X zoom shot is that the file still saves at 5312 x 2988.  If you click on the zoomed JPG, it isn't noticeably jagged with blocks of pixels duplicated many times to the higher resolution.

Zooming in on the JPG file saved by the LG G4
Some of that could be dither patterns to map RAW data to the smaller color palette of 8-bit JPG, but there could be some interpolation involved to predict and fill in data as well, so let's look at the JPG save of the RAW file to see what the actual pixel size is.

Zooming in on my 80% quality JPG save of original RAW file to see actual pixel size.
Sure enough, we were a bit over-zoomed on the LG G4's own JPG save of the 8X digitally zoomed image, but it's nice to see dither patterns (in that prior, tighter image) used to approximate more colors.  that's what printers do as well, when you send them a file format with more colors than they have dots of color to represent.

But we're still not looking at the original RAW data... how much did my decision to save at only 80% JPG quality affect the output?  Let's look at the file still in Lightroom, since it should be able to represent the original DNG RAW colors using the full color pallette of the display card.  Here's a screen shot of that:

Now the RAW file adjusted, this is as far as Lightroom would let me zoom on my 1920 x 1080 display.
But screen shots are saved in JPG, so by the time someone shows that to you, you still don't get the full data present in the RAW file.  Let's pixel peep on that anyway, fully understanding and acknowledging the limitations:

This screen shot of the adjusted RAW file, as it appears in Lightroom above, was effectively converted to JPG in Windows
The screen shot of the RAW file in Lightroom was effectively converted to JPG in Windows, but it already looks better than the RAW saved to JPG at 80% quality, so that quality setting was a factor in the prior crop.  Let's now crop the eye first, then save the RAW to JPG at 100% JPG quality.

RAW file cropped to 601 x 601 pixels, saved at 100% quality JPG, inserted into blog at 600 pixels
I've cropped that last image to be inserted into the blog at a 1:1 size, not over-zoomed, and it's 100% JPG quality, so reduced in quality from the original RAW but about the best we can do in JPG format.

Let's repost that unadjusted 8X zoom RAW file that the LG G4 saved again here, for a fairly direct comparison:

That 8X zoom file the LG G4 saved alongside the wider view RAW file.
The adjusted/edited RAW file looks better than the camera-saved JPG file, but that's the whole point of saving RAW in the first place, to have the option to work on the original sensor data and produce a better edit, if and when it makes sense to invest that additional time.

If you're on the run and need to post a quick preview, many reviews confirm that the camera on the LG G4 will produce JPG files comparable with other top phone cameras.  But such reviews of straight-out-of-camera results clearly fail to fully show the full strength of the LG G4 camera, and its ability to produce stunning results, edited either in a mobile app (second from the top above) or in traditional desktop editing software (below).

Adjusted in desktop version of Lightroom (5.7), brightness, contrast, etc, less vignette applied than in mobile version
Conclusion: RAW is clearly the way to go when quality matters, which should give the LG G4 a leg up on competitors for a while, until more of them join the RAW party.

I had been provided with the LG G4 to preview it prior to its public release, but now I have to make a personal decision on which phone to use going forward.  I find that it's what I reach for 90% of the time for general image quality anyway (including low light performance, excellent image stabilization and good quality quick JPG HDRs).

Upon further inspection, the ability to select manual exposure and produce RAW output isn't just an incremental feature, it opens up a while new category of mobile phone camera.  Consider what third party apps can do with that... using exposures up to 30 seconds, producing higher quality results from multiple exposures and HDR or other exposure blending performed in post-processing software.  The applications will span the full range of what app developers can dream up.  This starts to achieve the promise of putting mobile phones in direct competition with digital cameras and even DSLRs.  While lens selection and aperture choices will continue to give DSLRs the edge for many specialized and professional applications, the expanding options and improving image quality from smartphones will continue to expand their appeal as the camera most likely to be quickest into your hand as shooting opportunities arise.

Friday, March 13, 2015

Gearing up for 2015 With a ProtoMachines LED2 Light

Light painting night photography under moonlight in Bodie
One of the primary things to manage during night photography are your light sources. You may have light pollution from near or far incandescent light, additional light from the moon, a strobe (flash), and handheld lights such as a colored LED, flashlight or headlamp. Illumination from various types of lights ranges from "cool" (blue in tone) to "warm" (yellow). Fortunately you have a lot of flexibility to adjust the warmth or coolness of the lighted area in post-processing software such as Lightroom. On the other hand, it's good to do as much in-camera as possible, so if you can tune your light to have the desired effect while you shoot, that can save time on the post-processing side.

The result of a quest for warm, cool and colored lights
I've posted on the variety of lights I've bought, used and carry, but at some point carrying so much gear gets to be a bit of a burden, especially when moving around cluttered scenes on dark nights.  Even trying to keep costs low, over time I've ended up spending a fair amount just to have a selection of different light temperatures and intensities.  And the selection is one of compromises, incandescent lights being seen by the camera sensor as being very warm and yellow, while most simple LED lights are seen as very cool and blue.

"Old school" light painting in Bodie, with incandescent lights
After having customers show up at my Bodie night photography workshops last year with ProtoMachines LED1 and LED2 lights last year, I just picked up an LED2, which should dramatically reduce the volume and weight of the light painting gear I carry, give me a wider range of options, and reduce the number of batteries I need to keep charged.  I can pre-program warm and cool settings for a range of white balance settings, or various RGB values for creative color work.  The intensity can be adjusted in a range of up to 9 stops, so the brightest setting should be 2 to the ninth power brighter than the dimmest one, a range of 512x.

It's going to be nice to have a light with adjustable color and intensity, all in one small package.  It'll be fun to see what works best for lighting up foreground subjects under full moon, no moon, and mixed lighting scenarios!

ProtoMachines LED2 light for night photography

Monday, September 01, 2014

The Redemption of High Dynamic Range (HDR) Software

Joshua tree in Hidden Valley, Joshua Tree National Park
When I captured the image above in early 2009, I used a Canon EOS 40D.  Although that was the first Canon camera marketed as producing 14-bit RAW files, it wasn't always clear from the results that it was producing the implied 4X more color resolution compared to prior models producing RAW files with 12-bits of information.  This is the original single exposure image, fully post-processed recently in Adobe Lightroom 5.  In that single exposure result I was frustrated by the relative lack of detail in the shadows, and the highlights are lacking in detail as well, so the dynamic range, the ability of the camera to capture a wide range of bright to dark light values, is clearly inadequate.

Fortunately the image was captured in a 3-exposure sequence, so as I revisit the images from that day now, over 5 years later, I can try post-processing it using a current version of Photomatix HDR software which offers a "natural" mode which produces fewer artifacts than prior versions did..  One thing that is clear is that there is a significant amount of shadow and highlight detail present in the scene which is brought back into the HDR result.



3 exposures post-processed in Photomatix HDR software


I had been unable to produce an acceptable result for this image in 2009, but using current tools, significant highlight and shadow detail can be recovered.  High Dynamic Range software is finally getting to the point where it can produce high dynamic range.

Six days before I had captured this photo, I had written a blog post including the following:
"Many people vilify HDR; I don't get it. Most people play guitar poorly, but that won't keep me from enjoying the work of many talented guitarists. Of course everyone's entitled to their opinion and their own tastes. If classical music fans want to say, 'Ugh, I think I hear a guitar in that piece!', or photography fans want to say 'Ugh, Galen Rowell used graduated neutral density filters!', that's their privilege. Surely HDR software will get better and better at expanding dynamic range while producing unobtrusive results, and as that value is delivered for more and more shots, I'll have terabytes of exposure-bracketed images to draw upon."
Why Would Anyone Use HDR? It's Unreal!http://activesole.blogspot.com/2009/01/why-would-anyone-use-hdr-it-unreal.html
While the degree to which the HDR processing itself is still noticeable is open for discussion, I didn't care for the original which was overly light and dark at the same time, so this strikes me as an improvement.  It is also a good example of that concept I proposed which proposes that future advances in software may help us overcome current limitations in hardware, provided that you record more data than your camera can capture in a single exposure.  The way to do that is to capture an exposure-bracketed sequence, where you capture both darker and lighter exposures than your best attempt at a single exposure.

At that point in 2009 I was using HDR software roughly 80% of the time, in spite of its crude state and sometimes objectionable artifacts.  Shortly after upgrading to a Canon 5D Mark II, with a full frame sensor and much better dynamic range,  I was able to quickly drive my HDR usage down to 10% and then 2-3%.  HDR could still rescue images which could not be salvaged in single exposure form, so it remained one of many tools at my disposal, but it became more of a tool of last resort than a key piece of my workflow.  

Unfortunately by that point the use of HDR had developed negative connotations with many photographers, so in 2011 I felt the need to explain my rationale for using it at all:
"Some photographers have fallen in love with High Dynamic Range (HDR) post-processing, producing dramatic but strange results. Other photographers dismiss the often wacky-looking HDR results as 'technicolor vomit' and note that any monkey can move a slider in software to make a scene look strange, the talent lies in making a single, flat camera exposure look more like what we experienced onsite. Unfortunately, the range of light present, the dynamic range of the scene, is often far beyond what a single camera exposure can capture. So like so many polarized debates these days, the prudent path may lie somewhere in between. " 
HDR Isn't Just a Crutch, or a Crime
http://activesole.blogspot.com/2011/10/hdr-isn-just-crutch-or-crime.html 
As I look back now, with improved HDR software providing even more useful utility, as I try to process photos from my pre-2009 cameras I still have challenges producing excellent results from some of the lighting conditions I found myself shooting in.  So although my own pendulum of HDR use swung from strong support to a bias against it, as my use is rising again it's still a centrist view: I'll use it when it's useful, and it is becoming more useful.

Merced River Calm
HDR 2014, Canon Digital Rebel XTi photo captured November 2006
If you decide to buy Photomatix, you can get a 15% discount by using the coupon code JeffSullivan when you by it from its publisher HDRsoft: http://www.hdrsoft.com/order.php

Tuesday, April 22, 2014

Planning Milky Way Photography


Milky Way over Mono Lake Tufa Rock Formations
By now most of us have seen stunning Milky Way shots, but when we go out at night in the Northern Hemisphere we find that the Milky Way is not prominent in the sky all of the time and the moon often interferes with its visibility as well.  The best nights and times are fairly easy to anticipate, so let's review them.

The Milky Way is like a big, flat disk, with a fatter portion in the center, much like flying saucers are depicted.  At least arms spiral out from the center, and our solar system is partway out on one of these arms.  So while the disk of the Milky Way which we're in looks like a stripe of stars across the sky, when we're looking towards the larger center of the disk containing more stars, it's brighter.  Due to the tilt of the earth's rotational axis, that bright center of the Milky Way is highest in the sky in the weeks around the Summer solstice.

As for best viewing conditions, the dark sky days around the New Moon are best, when the light of the stars in the Milky Way seem brightest and offer the greatest contrast against the dark sky background.  There is an added complication as the position of the Milky Way and constellations change nightly, moving east to west further each night, until the constellations end up in the same place in the sky at the same time the following year.  The constellations moving all the way around us in 12 months to return to the same place in the sky is similar to the movement they make in 24 hours, so to complete the trip around in a 12 month year, each month the constellations rise 24 divided by 12 = 2 hours earlier, 30 minutes per week.  So Whatever time the Milky Way rose above your horizon last week, it'll be 30 minutes earlier this week and 2 hours earlier on the following month.


Fortunately you don't have to make a bunch of observations and calculate future times, there are apps to do the work for you.  There are a number of stargazing programs out there for both interpreting the current sky and anticipating how it'll look at some date and time in the future.  I use StarWalk, which provided the following display last week as the April 15 lunar eclipse was ending:


When you see that trident-shaped pattern of Scorpius coming up along the east to southeastern horizon, you know that the bright galactic center of the Milky Way is not far behind.  It would have been 2 hours later, 2:45 am, to reach this position in the sky four weeks earlier.

Now let's look at other months.  Note the time changes in the upper right corner as we go from early May to late May, as the moon rises roughly 90 minutes earlier after three weeks pass:



As we jump forward to dates close to the new moon dates in late June, July and August, rise time is no longer an issue as the Milky Way is already in the sky once the sky gets dark enough to see it.  So June, July and August are the most convenient months to shoot it, since you won't have to wait long after sunset to start shooting.  There's a term astronomical twilight to describe when the sky is fully dark, and a program such as The Photographer's Ephemeris can tell you when that is, both at night after the sun sets to the west and in the morning as the sun approaches to the east.



You'll notice that the Milky Way starts the night a little more vertical or "tilted up" in the sky each month.  It's also a little further along the southeast to southwest path that the galactic center takes in the sky, so you can use that knowledge to plan specific compositions.  The Galactic center also starts a little lower in the sky as you get further form the Summer solstice.

So using the new moon dates each year and a program like StarWalk, you adjust the date and time to pre-visualize what the sky looks like and determine approximately how many compositions featuring your favorite natural or man-made landmarks will look.

For more information on how to shoot the Milky Way once it's in the sky in front of you, read my prior blog post: How to Take Milky Way Photos.

To take the concept even further, you can capture sequential photos of the Milky Way and convert them into a time-lapse video like this!

Tuesday, September 17, 2013

Anticipating Sun and Moon Alignments


Originally posted in 2010, I occasionally bump this forward in my blog to tell people that they can plan to take an amazing sunrise moonset or sunset moonrise shot on an upcoming date.  As I update this on September 17, 3013, here on the California/Nevada border the moon will rise at 5:50 pm tonight and be about 12 degrees up in the eastern sky at 7 pm sunset.  Somewhere with something tall to place the moon next to should work well, like Yosemite Valley.


Tomorrow the moon will rise around 6:25 then be about 5.8 degrees up in the sky at sunset (close to 7 pm).  That will work best somewhere with a relatively low horizon.  These times will vary by your specific location on the globe, and the application described below can correct the times for your position.
I used to line up moon shots the old-fashioned way... looking up the full moon rise, arriving and seeing where the moon was emerging, predicting where it was going, and changing my position several times to try to be in just the right place at just the right time.

Fortunately there's an application that takes a lot of the guesswork out of lining up the sun and moon with natural or man-made objects to take stunning photos. The application The Photographer's Ephemeris allows you to plan a shooting location for a fairly exact alignment with particular landmarks: Free Download for PC or Mac

It runs on Google Earth satellite photos, so you can easily see your planned shooting position, it shows you the azimuth angle (compass direction) of the sun and moon at any give time from there, and you can read the elevation angle as well.  If the lineup isn't just right as the sun or moon is coming over the horizon, you can adjust your shooting position (at various times and stages in the sun or moon rise) to get just the alignment you want.

View the tutorials for some examples of the capabilities of, and applications for, this program.
Tutorials: stephentrainor.com/tools#tutorials  You'll be surprised at just how easy and intuitive it is.

Below are my results from researching on TPE a much more subtle event: anticipating and planning for the position of a crescent moon. I identified two positions a couple of blocks apart for two different times, then adjusted my position a few yards onsite to place the moon beside or behind the same courthouse, while avoiding trees or power lines.

So fire up TPE and go give this a try in your area on the next full moon rise (and set), or whenever!  Let me know how it goes.

 Remember to pick a target reasonably far away (say 1/2 mile to several miles) to put the moon alongside, so you can use a long zoom lens and capture the moon appearing really large beside it.




Tuesday, October 11, 2011

HDR Isn't Just a Crutch, or a Crime!

Crescent City Sunset, originally uploaded by Jeffrey Sullivan.
Some photographers have fallen in love with High Dynamic Range (HDR) post-processing, producing dramatic but strange results. Other photographers dismiss the often wacky-looking HDR results as "technicolor vomit" and note that any monkey can move a slider in software to make a scene look strange, the talent lies in making a single, flat camera exposure look more like what we experienced onsite. Unfortunately, the range of light present, the dynamic range of the scene, is often far beyond what a single camera exposure can capture. So like so many polarized debates these days, the prudent path may lie somewhere in between.

Take the example below. Often the most interesting and dramatic lighting can be found shooting straight into the sun, but if you expose to preserve the outline of the sun you'll completely lose shadow detail, and if you expose for the shadows, the sun will be an amorphous white area, a clear failure to accurately capture the scene. There are multiple strategies for capturing a scene like this via bracketed exposures, and multiple options for combining those exposures to recreate the scene, but HDR software such as Photomatix can be a fast and easy option, without requiring a lot of detailed manipulation in Photoshop layers.

Mono Lake afternoon reflection (2009 HDR).
Before you focus on post-processing however, it's important to capture useful exposures which really do improve your dynamic range in the shadows and highlights. Bear in mind that your darkest and lightest exposures are not to capture balanced images across the scene, they are primarily to capture detail in the darkest and lightest areas of the scene. Review your dark, medium and bright exposures. Are you capturing the outline of the sun, detail on the moon, or detail in the clouds, sand, water in the darkest exposure? Are you revealing shadow detail in your lightest exposure? If your exposures are not competently recorded, if you leave the bright areas blown out, some percentage of your audience may dismiss your result no matter what you do in post-processing. HDR is no cure-all, no excuse to ignore the basics of photography.

Once you have three competent exposures to work with, the first option in Photomatix that many of HDR's detractors are completely unaware of (and I think many of its users as well) is the ability to simply average the three exposures together. By averaging three exposures, the darkest exposure adds detail from the bright areas "blown out" to white in your center exposure, the lightest exposure adds detail from the darkest, "blocked out" black areas which your center, best single exposure couldn't handle. This useful functionality has been cleverly hidden in the Batch Processing section of Photomatix, and for years now it's been available for use indefinitely in the free trial that you can download from www.HDRsoft.com. Since your'e simply blending together actual light values captured by your camera, much like the iris of your eye captures different exposures as you look around the same scene, the result is a completely natural-looking result, with more range and detail than any single exposure.

Eastern Sierra morning golden hour light (2009 HDR).
The next level of processing available in Photomatix are the various Tone Mapping, Exposure Fusion and Compressor options. Fortunately in the latest versions of Photomatix you can see previews of how these will turn out, and you can pick the best processing option and proceed to fine tune it even more before saving a 16 bit TIFF file with maximum range. Some HDR users stop at this point. But while you can preserve useful detail with these techniques, even when you try to use HDR carefully and in a non-destructive fashion, these processing techniques are pretty intensive and can seriously damage the realism of the scene. Fortunately you can still have the best of both worlds: recover and even enhance detail beyond what a single exposure can handle, and end up with realistic results.

Ellery Lake near Yosemite (2009 HDR).
The next step is by far the most critical, and this is where some HDR users fail to complete the process. The more aggressive HDR techniques can do a good job at enhancing highlight and shadow detail, but used alone, they tend to be lousy at producing a balanced scene with proper contrast, similar to what you'd perceive onsite. The Tone Mapping technique in particular can produce distracting "halos" around objects in your scene that will only serve to scream "rookie" to many viewers. Once you're aware of this you can decrease the strength of the effect as you use the software, but you can also read your 16 bit TIFF HDR result into Photoshop or Photoshop Elements and blend it with your best single exposure edit, or with your Photomatix-averaged exposures to restore much more natural color and light values, while retaining much of the detail enhancement as well. With HDR and realistic (single exposure or averaged) images loaded into two different layers, you can even use Photoshop layer masking to selectively choose areas of the scene which look good in HDR, and select other areas like sky in the non-tone mapped result to simply leave out the blatant halo flaws.

Taking the critical step of blending away HDR flaws doesn't have to be complicated or expensive; if you don't have Photoshop try the layer functionality added into the latest version of Photoshop Elements (about $79.99 in the U.S.). You can download a free trial at www.Adobe.com

3-exposure HDR.  Mono Lake storm (2009).
How do you know when you're done? Think of it like building fine architecture or high end furniture. If the first thing your customers or audience are going to see are nasty sanding marks in the wood, they'll probably think you've blown it, that you have no skill. Similarly, if you can immediately tell at a glance that HDR was used in processing an image, many people will notice the lingering process details before they notice the subject of your image, and that's unfortunate. Weren't you capturing that image to show something other than simply your ownership of a certain tool?

If you can't accurately capture a scene, you'll never get your results into National Geographic. Even if you don't aspire to submit images to them for consideration, it's not all that hard to correct many simple HDR flaws; so why set your sights for image quality any lower?

Now before I set myself up to receive a bunch of hate mail from HDR users, I'm not saying there's anything wrong with uncorrected HDR.  You can produce whatever you want.  Some people are happy with Polaroid images, cell phone images, disposable film cameras and I've taken some of my favorite images on a point-and-shoot digital camera.  People can call anything they want "art," and if they find customers for that, I'm happy for them.  All I'm pointing out is that there is no need to let the HDR process control your results.  You can occasionally demonstrate to your audience that you have skill, that you're in control, even if you choose to stop short of that point and produce artistic, partially-processed results to satisfy HDR fans the rest of the time.  I'd love to see more HDR users develop and demonstrate that skill more often.  Where you go from there is entirely your call.

If you decide to buy Photomatix, you can get a 15% discount by using the coupon code JeffSullivan when you by it from its publisher HDRsoft: http://www.hdrsoft.com/order.php

http://travel.nationalgeographic.com/travel/national-parks/yosemite-photos/#/yosemite-sunrise_2087_600x450.jpg

Monday, August 01, 2011

Create a Timelapse Video on Your Digital Camera

Lunar Moonbows in Upper Yosemite Falls from Jeff Sullivan on Vimeo.

Timelapse videos are easy to create on your DSLR. There are many software packages which will facilitate the process, some better than others, but I'll describe the simple and relatively low cost workflow that I currently use. You'll need software on your PC which can convert a sequence of JPEG files to timelapse video. I use VirtualDub (free download) to create an AVI format video, then I use MPEG Streamclip (free download) to convert the huge .AVI file to a much smaller (albeit lower quality) MPEG-4 for online use. Here's the process from shooting to finished video:

Clean your camera sensor. It is hard enough to remove dust from one image... picture having to do that 300 times. Even copying dust removal from one image to the others, the data changes over time (from shot to shot), so it really won't work well across the whole sequence. It's far, far better to remove the dust up front. Clean your camera sensor!.

Put your camera on a sturdy tripod. Install a fully charged battery and a blank, freshly-formatted memory card which can handle several hundred images.

Compose your image expecting to lose some of the vertical information if you'll convert the sequence to HD video with a narrow HD shape (16:9 aspect ratio).

Manually focus your camera and switch off automatic focus. If you forget to do this, your camera will insert delays in the sequence as it hunts for focus, making the playback jerky at best. Worst case, your camera may lose focus and you'll end up with a whole lot of blurry images.

Make some test shots to determine best exposure. If practical, set exposure manually so it won't change from shot to shot and cause flashing (flicker) as different exposures come up during playback. If the light will change a lot during shooting (sunrise and sunset), you can use automatic exposure, but then the exposure during the video is artificially stagnant, and you'll need to to "deflicker" the timelapse to reduce flashing from frame to frame when producing the video. You will learn some very interesting and important things about your DLSR in this process! When your DSLR changes the exposure up or down 1/3 stop from shot to shot, simply "fixing" the exposure during editing will not result in similar-looking images from shot to shot! Even adjacent images taken a fraction of a second apart may have different white balance, and a slight exposure change also affects contrast, color saturation, and so on. Once you've gone through the process a few times your whole approach will change and you'll try to maximize quality and consistency in-camera, not during editing.

Shoot several hundred images in a row. You can make the timing from frame to frame consistent using an Intervalometer Trigger (external timer), or you can simply hit the shutter release over and over (perhaps use the display of the prior image on the camera rear LCD as your cue to trigger the next shot and keep them at a fairly consistent rate). Remember that your finished product will be 30 frames per second, so you'll need 300 images for each 10 seconds of video. I recommend shooting in RAW format so you can adjust the exposures during editing, especially if you shoot at sunrise or sunset where the light will change over the course of your timelapse.

Read your camera's files into your editing software and crop them to the 16:9 aspect ratio of HD video. Remember that you have far more resolution in your DSLR than you need for HD video, so you can perform a "digital zoom" and focus on only a portion of your original camera image. Software strong in batch editing such as Adobe Lightroom (free trial available) will enable you to apply a consistent crop, exposure adjustments and even spot removal across the entire sequence of images. You'll also want to impose one consistent white balance across the entire sequence. Some video processing software (such as Adobe Premiere I believe) will even let you specify a starting crop and a different finishing crop, then calculate a zoom and pan across your sequence of images.

Save your files in sRGB JPEG format at 1280 x 720 resolution for video to be used on sites like YouTube or Flickr that only allow smaller 720p HD format video, or save them at 1920 x 1080 resolution for 1080p video to be uploaded to sites such as Vimeo. If you'll use the VirtualDub software, it will want you to point to the first image in the sequence then look for a sequential numbered file, so if you used automatic exposure bracketing while shooting you may be editing and saving every third file, but you can rename them sequentially so VirtualDub can order them properly.

Read the sequence into VirtualDub. It's important to notice when trying to import them that in the dialog box where you're looking for the first file to select, the file format has a drop-down menu which enables you to specify that it should look for an image sequence in JPG format.

Add filters as desired, in the order that you want them to apply. For example, Virtualdub can crop and resize larger JPEGs, perform sharpening at the new lower resolution, and you can search for and install a third party "MSU deflicker" filter to improve image consistency from frame to frame across the whole video. Check your frame rate and for maximum quality (but shorter result) change the default 10 frames per second to 30.

Save the video in AVI format. That's a very high quality format, so it may save a file of a gigabyte or more! Enjoy this high quality file on your computer (or read it into video editing software to burn it to Blue-Ray DVD).

To create smaller files for online sharing, read your .AVI file into MPEG Streamclip. Save to MPEG-4, playing with quality vs. file size tradeoffs until the results are what you want.

Upload your results to your favorite video sharing site. That's it! It takes a little more planning to pull off well and a little more time to produce the finished result, but you can produce some amazing videos.

For more information on shooting timelapse sequences, I recommend browsing the discussion forums over on www.Timescapes.org.

Note: although Adobe Lightroom has a retail list price of $300 to buy, Adobe offers a free trial.


This is an updated re-post of my November 2010 blog post since the link to the original timelapse video on Flickr appears to have broken. Instead I've posted links to videos on Vimeo:

Pfeiffer Beach Winter Sunset from Jeff Sullivan on Vimeo.

Wednesday, July 27, 2011

HDR-Friendly Workflow, Using Adobe Lightroom for Realistic Results

Vanishing Water, originally uploaded by Jeffrey Sullivan.
Rodeo Beach, Marin County, California
A question came up a while back about workflow for HDR, and using a common editing program like Adobe Lightroom with it. I use Lightroom on all photos, and Photomatix 4.0 for HDR on a few with particularly challenging lighting conditions. Here's the approach that works extremely well for me.

I shoot in RAW and find Lightroom to be an excellent way to process files for many different shooting scenarios. The key is Lightroom having been designed from the start to facilitate operating on multiple files, such as its ability to copy development settings from one edited file and apply them to any similar images in the batch you're editing. It's also easy to use, so you don't need a bunch of obscure keyboard commands and you don't need to record scripts like Photoshop users always seem to be doing to create a given effect. At the highest level, my approach is this: for the images that I consider HDR potentially useful for, I simply perform the most basic adjustments like white balance adjustment, dust removal and some noise reduction, then convert these low noise, color-corrected images to JPG prior to performing HDR techniques. Using JPG images as input to the HDR process is exactly the approach recommended by HDRsoft for their Phototomatix software.

Single exposure HDR.  Deeth, Nevada
To cover the entire workflow from shooting to finished file in more detail, first I shoot automatic exposure bracketed images nearly all the time... not to get the best exposure, but to get the best contrast and color with an acceptibly low level of noise. One dirty little secret of digital photography is that sensor performance is not necessarily consistent across different exposures. What I'm trying to say is that three different exposures cannot simply be exposure-corected and turn out identical, even in the most basic sense like contrast and color. Just as was the case with film, the darkest exposure will almost always look best in color and contrast, the most likely to be good straight out of the camera (with minimal brightness adjustment), but it will require some "darkroom" adjustment of exposure, brightness and so forth, and in the end it may have too much noise in darker areas of the image. I do have a high success rate though, and at the very least it provides a reference image to try to edit the next best exposure to look like. It won't always be as straightforward or easy as you might hope, but at least you have a nice high bar to shoot for. Test this for yourself. Try shooting 3-shot exposure bracketing sequences in challenging sunrise and sunset lighting conditions, and adjust all three to see which looks best. Play with different bracketing and exposure compensation settings to see what works best on your camera.

On my Canon 5D mark II my default spacing is +/- 1 1/3 stops between exposures, but I also bias the whole sequence 2/3 stop darker (using exposure compensation at -2/3 EV). Therefore I end up with exposures a -2 EV, -2/3 EV and +2/3 EV. My Canon 40D doesn't quite have the same dynamic range nor does it have noise levels so low, so I may use -1/3 exposure compensation and shoot an Automatic Exposure Bracketing sequence of +/-1 stop. Either way, I examine the results and adjust my approach to the shooting conditions.

3-exposure HDR. Sunrise rainbow, Eastern Sierra.
Having multiple exposures and the ability to choose HDR later if I like is a benefit, but I've found that by having better single exposures and rarely having blown out areas, especially in my best, darkest exposure, I can rely on HDR a lower percentage of the time simply to get a useful result. In fact, not having to rely on HDR as a crutch in my typical daily workflow frees me up to consider it in much more selective cases, to achieve much more advanced goals like mixing together long exposures of different lengths. (A range of shutter speeds is particularly useful with flowing water, to blend in different textures.)

Knowing that I'm using HDR for texture affects my shooting choices. For example, I may tune my bracketing sequence to provide three specific textures to flowing water. The speeds I require very depending upon how fast the water is moving (waves vs. streams vs. waterfalls), with different ranges of shutter speeds useful for different water speeds (such as different waterfall heights).

So my workflow starts with a RAW file in Lightroom receiving basic adjustments and getting saved to JPEG. Then Photomatix 4.0 does some initial processing and shows previews of how the result will turn out using something like 8 different techniques. This new feature makes it easy to pick one of the more natural renderings, one of the more unreal ones, or take over and fine tune the settings to get what you want. When done with the HDR processing, I save a 16-bit TIFF file.

3-exposure HDR.  Mono Lake, California.
As good as Photomatix 4.0 has become for facilitating your pursuit of a certain style of result, I still find it critical to run the TIFF file back through Lightroom for fine tuning. While HDR changes exposure around a scene in the highlights and shadows much like our eyes might, our brains reconstruct the scene in our minds with full impact of the bright shadows and dark shadows. HDR has no such interpretation step, so it can leave an image looking far too "flat". Approaches such as Tone Mapping are an attempt to restore some emphasis to the edges of light and dark areas, but such an approach with a single strong tool like that often leaves an image overcooked. Instead, try applying your changes very lightly in your HDR tool, then go to a full-featured editing tool to use its full power to restore a realistic look.

In Lightroom go to Library mode, simply hover your mouse over the folder name where the new TIFF files were saved, and (on a Windows PC) your right mouse button will reveal a menu with the Synchronize Folder commmand which will go find your new files and import them into Lightroom so you can make fine tuning adjustments to color, contrast, vignetting and so on.

3-exposure HDR.  Joshua Tree National Park.
If you do the best you can post-processing the HDR in Lightroom and like some of the characteristics of the result but still don't think it's entirely realistic, you still can use that to your advantage. Go produce your best single exposure edit in Lightroom on a single file, then bring both the HDR and single exposure result into layers in Photoshop (or Photoshp Elements), and blend them. I experiment with that maybe once a year when I get access to the latest Photshop trial software, but I prefer to spend my time shooting rather than in fromt of a computer, so Photoshop isn't in my workflow (or installed on my newest computer) at the moment.

For anyone not using Lightroom yet, you can download a copy at Adobe.com and use it in free trial mode for 30 days. The latest Photomatix 4.0 is useful to revisit if you tried or currently use a prior version. It's available at HDRsoft.com (it adds watermarks to your images, but if you buy a license later you can easily remove the watermarks, at least from the processed TIFF files output by Photomatix).

I have an HDR set here where you can see how various combinations of Lightroom and Photomatix have produced various results over the years: http://www.flickr.com/photos/jeffreysullivan/sets/72157622008543219/

Wacky tone-mapped HDR from an earlier version of Photomatix.
Now that HDR has been on the market for a few years, it seems like there are many people who didn't like its early output, and there are others who did and use it all the time. The assumption seems to be that you either like HDR or you don't, it either worked for you or it didn't. However, there's a growing third camp of users who were able to wrestle HDR into submission and use it lightly in a realistic manner when useful, and perhaps create something wild from time to time as well. My opinion is that Photmatix 4.0 is far enough ahead of past versions in functionality and ease of use that it is worth a try, regardless of what you may have thought of HDR software or results in the past.

If you decide to buy Photomatix HDR software, I do recommend the version with an interface to Lightroom and Photoshop, to give you the most efficient workflow.  You can get a 15% discount by using the coupon code JeffSullivan when you by it from its publisher HDRsoft: http://www.hdrsoft.com/order.php

Wednesday, May 25, 2011

How to Take Milky Way Photos

Bodie's Standard Mill
Milky Way over Bodie's Standard Mill
Many digital cameras these days can do surprisingly well at capturing images at night. Their sensors are more sensitive than your eyes, especially at capturing color at night.

Photography has always involved multiple steps, with exposure being only one part of the equation. In the days of film, the darkroom enabled additional influence to be applied during development, and then again during printing. Unless you were using a Polaroid camera, there was no such thing as "straight out of the camera." Maybe you trusted someone in a drug store to do your developing and printing for you, but that wasn't an optimal situation and that certainly doesn't mean that no adjustments were made. For the most part, the entire concept of "straight out of the camera" is a myth that is best set aside as soon and as thoroughly as possible.

Out of this World
Milky Way over Mono Lake tufa formations
Today with digital cameras your darkroom is on a computer, implemented in software. Milky Way shots are a great example of images that you won't get the most out of until you get in the habit of spending 5 minutes in your digital darkroom to complete the photographic process.

If you find a dark place outdoors to shoot and you can make out stars and the lighter, more dense band of the Milky Way, a little postprocessing can get you a lot further. As with my previous blog post you need to shoot on a tripod, using manual aperture and manual focus. Having your long exposure noise reduction turned off is not critical since we're dealing with single exposures for Milky Way shots.

Alien Terrain (vertical) Shoot with your widest focal length lens to minimize star movement in the field of view, have it opened to its widest aperture to minimize exposure time. You may still have little enough light that you shoot at the longest exposure time (generally 30 seconds) or you may need to shoot in "bulb" mode for a longer time in order to get enough light. Always shoot in RAW mode so you have far more adjustment capability in post-processing software.

Shoot near the date of a new moon, so there is as little light pollution as possible. The last thing you need to know, probably the most important thing during planning your shot, is how to predict when the most intricate, dense, bright center of the Milky Way is in the night sky! In Summer the sun is up roughly 2/3 of every day, but the Milky Way crosses the sky in the night. The center of the Milky Way is towards the constellation Sagittarius. You can look up the dates when Sagittarius is high in the sky, and that's when the Milky Way is most intense: http://homepage.ntlworld.com/mjpowell/Astro/Sgr/Find-Sagittarius.htm

In simple terms, it highest around midnight around July 22, two hours later per month earlier (2am in May), two hours earlier per month later (10pm in August). So really your best shooting will be on days near the new moon dates, and preferably within 7 weeks or so of July 22.

So lets assume you go out on the right night, shoot south towards Sagittarius, capture a RAW file with some stars showing, and maybe you can barely make out the bright stripe of the Milky Way and its slightly more dense center.

Well, if you were in a darkroom... how do you lighten the Milky Way while keeping the background sky dark? The simple answer is dodge and burn... selectively darken some areas while lightening others!

Southern California Night Sky In +Adobe Photoshop Lightroom (download a 30 day trial if you don't have it already, AFTER you collect some images to process) use the paintbrush tool (under the Develop module) to select and lighten the area around the Milky Way. Use the paintbrush tool to darken the sky everywhere else (this makes both the Milky Way and the stars pop).

To do even better, you can also increase contrast while performing these functions, further darkening background light levels, including noise. Adjust exposure and brightness so the fainter stars in the Milky Way get brighter while background and noise gets dark. You can increase saturation slightly on the Milky Way, but increasing contrast has that effect already, so you might not need to.

Rocket Trail
NASA satellite launch over the California Coast
Don't worry too much about how much noise your camera produces... after you adjust contrast and brightness, just crank up the noise reduction. After all, there isn't generally much detail to lose by doing that. In Lightroom for dark, noisy photos I try to max out noise reduction at 25 or maybe 30, but lately for night skies I've been going into the 60s.

Lightroom can also selectively adjust saturation and brightness of individual colors. If you shoot too close to sunset and "blue hour", or during a too-bright moon that is too full (and creating blue night sky), it can be handy to darken a blueish background sky to help separate that from the stars (just did that on a star trails shot). On the other hand for dark new moon skies, like you should have if you're planning ahead for Milky Way shooting, there is little or no light scattering turning the sky blue. A lot of the Milky Way stars have a slight blue tint though, so selectively raising brightness of blue can help separate them from dark background and any noise.

Perseid Meteor Shower 2015
Perseid meteor shower in the Mojave Desert
It's a balancing act between white balance, adjusting individual colors, and tweaking the brightness and especially contrast of the area the Milky Way covers, but you can find a reasonable compromise pretty quickly. Once you do fairly well adjusting one shot, Lightroom enables you to copy your develop settings and apply them to additional photos.

There are other subtle considerations of course, especially for special situations such as meteor showers, but this will get you off to a great start!

---

Milky Way Arch Over Standard Mill
Milky Way arch panorama
If you'd like a little extra help, I lead one night photography workshops in the Wild West "ghost town" of Bodie.  For more practice, you can join me for a longer tour of Yosemite, Death Valley or the Eastern Sierra.

In many cases I offer a visit to Bodie adjacent to one of those longer workshops, so you can shoot in Bodie to start or end your trip.

If you're looking for dark places to try night photography on your own, consider anywhere away from metropolitan areas. I identify over 300 great locations for landscape photography in my new 320-page book, "Photographing California Vol. 2 - South", pictured below.

For night photography in California, focus on locations in the Southern California desert from Anza-Borrego State Park through Joshua Tree National Park and Mojave Preserve to Death Valley National Park, or on the Eastern Sierra region.

I offer author-signed copies on my Web site: www.JeffSullivanPhotography.com