Sunday, September 22, 2019

Notes on Michael Frye's Method of Processing a Milky Way Photo

I had an opportunity to watch Michael Frye's video on processing a Milky Way photo in Lightroom.  It was so excellent I wanted to take notes on his procedure.  Much of this echoes his general Lightroom methodology, so I also bought his ebook Landscapes in Lightroom for more detail.

Select a raw image and open it in the Develop module.  I'm going to use my PigeonPoint-148 from August 31.
Aug 31, 2019 Pigeon Point (#148) as shot.
30 sec, f/4.0 ISO 3200 16mm, Canon 5D MkIII
Frye has a standard workflow which he uses for processing landscapes. It's explained in detail in his ebook. In the Milky Way tutorial he goes through each step and applies it to his Milky Way example.

In the ebook, Step 1 is to set the default settings (mainly exposure -1.00 and contrast -0.33

Step 1 - Set Camera Profile

Frye describes setting the profile in the Camera Calibration panel of an older version of Lightroom (v 6).  His comments:
You may be happy with Adobe Standard.  "What you're looking for is the right hues" in the sky. Don't worry about contrast and saturation, they can be adjusted later.  He does not recommend the Landscape or Vivid profiles ("too contrasty ... difficulty bringing out enough shadow detail") Milky Way.
In Lightroom 8 the profile is set at the very top of the Basic panel, and the options have changed. The current default for me is "Adobe Color", an option that did not appear to exist in LR 6, or at least is not in Michael's menu.  I left it at the default.

Step 2 - Crop and Correct Perspective

By perspective, Frye means for example, "buildings leaning in" and I've certainly got that here.  The  image in his tutorial does not have this problem and therefore does not go through it, but mine does. In the Transform panel I use Guided mode and set one line on the horizon (temporarily boosting the exposure for easier visibility).  A straight line on the left of the building is too extreme so I ease it just a bit. The perspective correction results in cropping of the bottom and right side in particular. This is the result:

After Step 2 - Perspective Correction and Cropping

Step 3 - Clone out Aircraft Trails (Dust Spots, Other Retouching)

Frye demonstrates using the Spot Removal tool to remove jet trails. I have a couple so I practice his methods. The video is really good on this.
  • Open Spot Removal tool. He most commonly uses Heal mode; try Clone mode when Heal does not give good results.
  • Zoom in on the jet trail.
  • Set the brush size.
  • Using the cursor, draw a line along the trail.
  • Press "h" to hide the tool and examine the results. If you want to change it, press h again, then select a different patch source area.
  • To draw a straight line instead of freehand, click at one end of the jet trail, then shift-click at the other end.
Frye video. Spot removal, Heal brush

Step 4 - White Balance

Frye temporarily nudges up the exposure to help see the colors in the sky.  In his case there is a green tinge from "air glow". Mine does not have that problem, but there is a bit of magenta.  My as-shot white balance has the Temp at 3950 and the Tint at -2.

As-Shot: 3950 K, -2 Tint
I take my tint down to -9, but below that it starts to get a little green.

Step 5 - Optional: Convert the Image to Black and White

This part of Frye's normal workflow does not really apply to Milky Way shots, he just skips it.

Step 6 -  Tonal Adjustments

In Frye's general work flow model, this step includes all tonal adjustments using the sliders or point curve. For the Milky Way tutorial he does not use the point curve.

Frye normally starts with exposure at -1 and contrast at -33 because Adobe adds brightness and contrast by default. I notice that this was true as of LR 6 and Adobe's 2012 Process 3, but I'm now running LR Classic 8.4 with Process 5, so I don't know if this still applies.  I'm going to assume that it does and, to stay consistent with his tutorial I start there too.

Here are Frye's tonal adjustments steps "for low-contrast images":
  1. Set the white and black clipping points.  He does this by holding Alt (or Option) to make the clipping visible, and moving the White and Black sliders in turn.
  2. White Clipping: Pressing Alt key while moving the White slider.
    White: The idea is to let the brightest stars clip (i.e. be maximum brightness).  In this image, the light on the lighthouse itself also clips.

    Black: I set it so that the only pure black areas are shadows.  The ocean has a little brightness, as does the green embankment.
    Step 6a: White clipping +70, Black clipping -10

  3. Tweak the Exposure and Contrast.
    In the oldest versions of Lightroom, changing the Exposure slider would move the white and black points, and I still thought it worked that way.  But it has changed!  In his ebook Frye explains that, starting with process 3 in LR 4, the Exposure slider is primarily just moving the midpoint "unless you push it really far". The ebook goes into more detail.
    Contrast behavior remains about the same. More contrast means brightening the highlights and darkening the shadows, i.e. making the curve more S-shaped.
    Because the lighting on the lighthouse is relatively strong in my image, I determine two completely different settings. For the stars I end at -.90 exposure, contrast +55. But the lighthouse is far too bright and contrasty at that setting. I prefer the lighthouse at exposure -3.50, contrast -100.  I decide to set the overall image for the stars (-0.90/+55) and deal with the lighthouse with a brush later.
  4. Step 6b: Exposure -0.90, Contrast +55
  5. Consider pushing up the Shadow slider a bit.
    When Fry does this he retrieves some shadow detail from some mountains. In my case it helps with the fence and embankment, but also considerably brightens the hazy portion of the sky.  Reducing it darkens the sky, but loses the color in the sky. In the end, I settle on +25, but may add some more to the fence and embankment with a brush.
  6. Step 6c: Shadows +25

Step 7 - Presence Panel 

As of LR Classic 8.4, the Presence panel includes
  • Texture
  • Clarity
  • Dehaze
  • Vibrance
  • Saturation
Frye's tutorial uses LR6, which is missing "Texture", but he discusses the others.
  1. Clarity. Clarity increases local contrast, which brightens the stars nicely. But it is very harsh on the lighthouse and cliff.  Frye adds +15, but plans to add more later using a brush on the sky.
  2. Dehaze. Also good for the stars, but harsh on the shadows of the terrestrial features.  Again, Frye decides to add this later using a brush on the sky.
  3. Vibrance. Good for bringing out some of the colors in the Milky Way. Frye puts this at +20.
I found that I liked Clarity +20 and Dehaze +25 for the sky, but it is awful on the lighthouse and shadowy earth features.  So I'll follow his lead and apply them later using a brush. I think this is better than adding them globally then trying to reverse them on the land.  So no change yet in those.

Vibrance somewhere between +22 and +32 looks fine for both earth and sky, so I set that here, choosing +26.

Step 8 - Adjust Individual Colors with the HSL Panel

In Frye's sample image he is trying to get rid of a green tinge in the sky. He does this by pushing up the Aqua Hue slider, and then easing off the Tint to reduce the amount of purple/magenta. He also tweaked the Temp a bit.

My image also shows some green in the sky, but not as much. Pushing the Aqua Hue is very effective in removing it.  I did also move my Tint back up to the original -2, but found that I like reducing the color Temp to 3850 from 3950.

Here is the image now, including the Vibrance adjustment from Step 7 and the color tweaks:

Steps 7 and 8: Vibrance +26, Aqua Hue +100, Hue -2, Temp 3850

Step 9 - Sharpening and Noise Reduction

Frye's standard workflow would do local adjustments (e.g. brushes) first. But for this image he wants to do some NR as part of those brushes, so it makes sense to do the global NR first.

Frye notes that we tend to zoom in too close in judging noise. What final print size are we going for?  At 300 dpi, the 22MP 3840x5760 images from my 5D MkIII would print 1:1 at 12.8" x 19.2".  But my 4k 2160 x 3840 32" monitor (screen is 28" wide) is about 137 dpi, and the same 1:1 image would be 28" x 42".  Now imagine that you've printed it at that size and are scrutinizing it from 20" away -- it's just unrealistic. Frye likes using 1:2 for looking at sharpening and NR.

I assumed that we would jump right into the using the Luminance slider to adjust noise. But Frye has a better idea. He believes the most effective NR in Lightroom is in the Masking slider under Sharpening.

The Masking slider is under Sharpening in the Detail panel.
First of all, notice that default sharpening of 40 is being applied to the whole image. The Masking slider controls "Edge Masking" and allows us to sharpen only edges, not the smooth textured areas. It's vital to understand that the mask is not adding sharpening, rather it removes sharpening from the "smooth" parts of the image.  In a noisy image like this one, sharpening is accentuating noise. So removing some sharpening is in effect noise reduction.

Hold down the Alt (or Option) key while moving the slider to see the mask.  It starts out at zero all-white. Then moving to the right, the detected smoother areas become black or gray.  The white areas will be sharpened, the black areas are not sharpened

Masking at about 42. Textured areas in the tower will get some sharpening.
The idea is to avoid sharpening smooth areas, like sky.  In Frye's example, he pushes the mask all the way to 100.

Masking = 100. Edges of the roof, chimney and foreground picket fence have disappeared and will not be sharpened.

But in my image, 100 causes some of the edges to disappear. They would therefore not be sharpened.  I need to bring it down so that the roof line, chimney and picket fence get some sharpening.

Masking = 85. Roof and picket fence get some sharpening
In the end I used 80 rather than 85, in order to pick up more sharpening in the chimney.

The Detail slider controls sharpening of fine detail which, in this image, is mostly noise. The Adobe default value is 25, but Frye's default is 50. He brings his down to 35; I just leave mine at 25.

Under Noise Reduction, the Luminance slider would allow us to get rid of virtually all noise, at the expense of turning the image to (Frye's words) "mush".

Noise Reduction: Luminance = 100.  "Mush"

Because of the high ISO (3200), there is a lot of luminance noise. It is especially noticeable in dark areas such as the sky and the shadows. At Luminance = 10 we see a meaningful improvement in the sky, but without losing all the texture.  Since so much of the "light" in the sky is noise, this noticeably darkens the sky, increasing the relative contrast with the stars.

For color noise, the default setting of 25 is fine.

Step 9: Masking = 80, Luminance = 10

Frye's sample image has water, and he notes that he will be going back to remove more noise there using a brush -- it's ok for the water to be more smooth.  I suppose the same argument could be made for the sky ...

Step 10 - Lens Corrections

My Canon 16-35 EF shows quite a lot of barrel distortion at 16mm, which is corrected by enabling the profile correction. Given the strong lines of the lighthouse, this is a big win for the image.

The profile corrects both the distortion and the vignetting of the lens. I like retrieving more brightness at the top and bottom, but it's not an improvement on the right and left.  In particular it reveals a lot of sky brightness on the left, evidently from the city of Santa Cruz.

Step 10: Lens profile corrections for distortion and vignetting

Chromatic aberration and fringing is not really an issue for this image -- Frye spends quite a bit of time on it in his tutorial and demonstrates various methods, including how to fix coma.

Step 11 - Adjustment Brush

We've saved up several adjustments for the brush:
  • Recall that I prefer the lighthouse at exposure -3.50, contrast -100, but set the overall image for the stars  at -0.90/+55.  I'll need to take down the lighthouse exposure and contrast quite a bit.  The light on the lighthouse needs to be taken down enough so the glazing between the panels shows.
  • The color of the lighthouse is too strong and too ugly. It may need further adjustment after the exposure.
  • Depending on which monitor I use, the ocean and the embankment may be completely lost.  In a print they will very likely be black.  So this needs some lightening.
  • I'd like to add Clarity +20 and Dehaze +25 for the sky.
  • Local noise reduction?  Maybe on the water.
Here it as after a first pass over all these items, using 11 separate adjustments brushes.

Step 11: Adjustment Brushes
And again after going back to tweak the global HSL (the sky was too aqua), as well the main lighthouse brush (it still had too much orange color on some monitors):

Tweaks to HSL and lighthouse
Well, it's hard to see much difference between the two.

Step 12 - Vignetting

This step is in Frye's Lightroom book; he does not mention it in the Milky Way video so I'm just including it for reference to his full workflow.  The Effects panel includes the Vignetting controls.  As I noted earlier, my lens in this case actually quite a lot of natural vignetting. This was useful on the sides of this particular image, but I was less pleased with the effect on the top and bottom.  Compare the images for Step 9 and Step 10.

I could have added vignetting by simply dialing down the vignetting correction in the Lens Profile correction stage and accepting the natural result.  Or I could have used the Effects panel.

In this image, instead of doing either of those I chose to add back a darkening brush over the city light bleed on the left.  Some darkening on the right of the lighthouse might also be nice, but I haven't done it yet.

Friday, August 16, 2019

Chip's Notes on Making Still Frame Animations and Timelapse Movies

About 10 years ago I made a bunch of animations (GIFs and timelapse video) from sequences of still frames.  Now I want to do that again, but have pretty much forgotten how.  So now as I rediscover the procedures, these are my notes.

There are multiple ways to do this. I used Vegas Video the last few times. I still have a current license for Vegas Pro, so I could do that.  Another way is through Photoshop.  Since I use Photoshop more often (but not for animation) in my regular workflow I'm going to start out try it that way.

Start in Lightroom

Either way, my normal still-frame workflow always starts in Lightroom.  Here I would first make whatever image adjustments I want.

I am shooting RAW 5760x3840 images on the 5D-III, which result in 17 MB DNG files.  For several hundred frames, these are too large to conveniently animate in Photoshop. So instead I export them as JPEG or PNG.  This reduces the file size, and I could reduce it even more by reducing the resolution.  Standard 4k video is 3840x2160.  To export as JPEG at full size and 100% quality produces a 10 MB file

If I do this, it is best to put them in a separate folder.

Optionally, I can then add them to the Lightroom catalog, and send them to Photoshop this way:
  • Within Lightroom, select the entire set of frames that you want to use.
  • Right click to open the context menu, then "Edit In > Open as Layers in Photoshop...".
But in order to minimize Lightroom clutter, I prefer to leave the JPEGs out of the catalog.  It's still easy to open them as layers in Photoshop using the Photoshop "File > Scripts > Load Files Into Stack" command.

Still Frame Animation in Photoshop

If you have a lot of frames, Photoshop will take a lot of time, but after a while  you should have a single file with as many layers as you have frames.  Now open the Timeline window (Windows > Timeline) and select "Create Frame Animation" from the dropdown menu in the center of the window.

Note that after you select it from the dropdown menu, you have to actually click "Create Frame Animation". This stumped me, solved thanks to Lindsay Kolowich's tutorial.

Select all layers (Select > All Layers).

Using the hamburger menu at the top right of the Timeline window, first select "Create new layer for each new frame".  This is just a checkbox, it won't do anything yet.

Again with the Timeline hamburger menu, click "Make Frames From Layers". This makes each selected layer a frame of the animation.

For me, the order of the frames was the opposite of what I intended.  My layers were ordered in sequence from top to bottom, but for whatever reason the frames were ordered from bottom to top. Fortunately there is a "Reverse Frames" item on the hamburger menu. Solved.

Photoshop allows you to set the display duration for each frame. A smooth animation needs at least 20 fps. I set the duration to 0.0333, for 30 fps. Select all the frames, then click on and set the duration.

In my Las Vegas animation, the first 20 frames are 4 minutes apart. The rest are 1 minute apart. In order to use these in the animation I tried to create 3 tweens between each of the first 20 frames to simulate the same 1 fpm frame rate.  I could not find a way to do this all at once so I individually selected each of the first 19 frames and tweened it with the next frame.  This creates opacity layers for blending, but I couldn't figure out how to make them work correctly, finally deleted them.

If I wanted a GIF animation I could export using File > Export > Save for Web (Legacy).  But I want a video. So I clicked the "Convert to Timeline" button, which was below the playback controls in the Timeline window.  This worked ok, but the result is confusing -- it looks like I have a separate video clip for each frame and they are all overlaid.  Trying to poke into this led to Photoshop bogging down and becoming unresponsive, apparently while trying to save the file. I finally just killed it.

I don't yet understand how Photoshop's tweening really works. If I did, I could do fades and so forth. But I am more inclined to try this in Vegas.

Still Frame Animation in Vegas

I have a copy of Sony's Vegas Pro 13.0 from 2014, now owned by MAGIX Software. After re-registering it, I used File > Import > Media to load all of my still images.

After a little poking around, I just dragged all the stills onto the timeline.  Now I have a video sequence, but by default each frame is displayed for 5 seconds. This can be changed using Options > Preferences. Select the Editing tab, then set New Still Image Length.  After failing to recall a way to change the duration in the timeline after the fact, I just started over, first setting New Still Image Length to 0.033 (1 frame at 30fps).

It was straightforward, using the Time Stretch/Compress tool and Ripple editing, to extend the first 20 frames so that they were each 4 frames long.  This adjusts the overall duration. Then, turning off time stretch and ripple, I dragged the first 20 events so that they overlapped for a cross-fade. This was all done one at a time.

I also tweaked the last frame for a fade-out. Then File > Render As and I was done.


Here is the resulting YouTube video


Tuesday, July 30, 2019

Chip's Notes on Star Trails

2019-07-28, Sisters OR.   I have just finished nearly 5 days (3 days of shooting) with Aperture Academy's new Central Oregon workshop, led by ApCad veterans Brian Rueb and Mike Wardynski.  This was my 28th ApCad workshop, but comes after a personal workshop hiatus of nearly two years. Among many other subjects, we shot star trails from the Ray Atkeson Trail at Sparks Lake on the last night of the workshop.

July 27,2019. Sparks Lake Oregon.
I have shot star trails before in two other ApCad workshops:
May 8, 2015. The Pinnacles. The cliffs were light-painted.
June 19, 2016. Tenaya Lake

June 18, 2016. Tuolumne Meadow. Lens correction flattens the horizon, but distorts the star trails into an ellipsoid.
But it has been 3 years since that last time at Yosemite, and the passage of three years has aged more than the batteries in my intervalometer. I remembered very little of the star trail production process.  So this time, as I re-learned the procedure, I've created these notes. Besides helping me to remember next time, they may be of use to someone else.


With a film camera, star trails are produced by opening the shutter for a long time, say an hour, closing it when you are done.  But a digital camera sensor heats up over time and increases noise on longer exposures.  So star trails with a digital camera are commonly produced from a sequence of much shorter time exposures, say 4 minutes, each containing a portion of the trail.  These images are later "stacked" in Photoshop or a similar app to produce the full trail.

Optionally a "Base" image of the terrestrial elements can be taken while there is still a bit of light, then layered into the final scene. 

Chip's Nutshell Guide to Shooting Star Trails

In a nutshell, do this:
  1. Which way is North? Where is the North Star?  Remember that the stars will seem to rotate around the North Star, so consider where that central point will fall in your composition (if at all).
  2. Get your camera and tripod all set for the composition you want.  Make sure it is secure because you don't want the setup moving for the next few hours. Make sure you have ready access to all the controls without moving the rig. Remember, it will be dark!
    [At Sparks Lake I set up my camera in such a way that I had to balance on some steep lava rocks to adjust things. It was fine in the twilight. But later, while checking the intervalometer during the very first star trail frame, I became a little unbalanced and rocked the tripod slightly. It was enough to throw off the alignment and the first frame had to be tossed.]
  3. While you still have lots of light, also set up your intervalometer.  See below.
  4. Before it gets too dark, shoot a few "base" or "plate" images while you can still make out the foreground and other terrestrial objects.  Later you may want to blend one with the star trails. Otherwise your foreground may be nothing but dark shapes against the night sky.  These should use the same f-stop as the star trails.
  5. When stars become visible, test your focus. Then set it to Manual Focus and consider taping the focus ring with gaffer tape.
  6. Depending on how the camera is set, it may not release the shutter if it cannot auto-focus.
  7. When it's really dark, consider taking some "star point" shots. See below for exposure suggestions. Avoid changing the f-stop. This will give you another option for the finished product, instead of just star trails.
  8. Long-exposure noise reduction: turn if OFF. The delay will interfere with the successive star trail shots.
  9. Now let's make star trails!
    -- Set your camera's shutter mode to B (Bulb).
    -- Set your ISO and aperture on the camera. At Sparks Lake we used ISO 800 at f/5.6 (I don't recall why I didn't open all the way, f/4 on this lens). The duration is controlled by the intervalometer.  We used 4 minutes. Shorter durations will pickup less ambient light in each frame and may be preferred.
    -- Trigger your intervalometer. Let it run for one exposure, stop it and check the results.
    -- Test exposure good?  Restart the intervalometer. Now relax, and avoid shining a light anywhere toward the camera(s).
  10. Some time later ...  stop the intervalometer: you're done with the star trail part! But before you move your camera consider whether a light-painted foreground is called for. If so, then simply open the shutter (you should still be on Bulb), paint the light, and close it.  Check the results (without moving the setup!) and repeat as needed.  Try to avoid adjusting the f-stop.
  11. Finally, before you completely pack up: if it's a nice clear night, point your camera completely into the sky, with no terrestrial elements at all, and grab a few more star point shots.  These could be layered into this or other shots as needed. Good to have.

Intervalometer Settings

You don't actually need an intervalometer -- a stop watch and a cable release with a hold button will do.  But it automates the task of shooting all the star trail frames -- besides convenience it is more reliable than a bored, cold human.  My Satechi WTR-A unit is functionally similar to the much more expensive Canon TC-80N3, with addition of wireless. But it is not currently found anywhere on the Satechi web site, so maybe they've quit making it.

Here are the basic settings on the Satechi:
  • Delay - Initial delay before the sequence starts. For our purposes this can be zero, or perhaps a few seconds to minimize vibration as you step away.
  • Long - Length of each exposure, assuming your camera is set to Bulb.  For this event I used 4 minute exposures as recommended by Mike and Brian, so set it to 04':00". [For some of my earlier star trails I used shorter exposures which of course provide a darker sky. The star trail itself is just as bright, so shorter may be preferred. But it means more frames to wrangle afterwards. Below 1 minute the small gap between each frame may become annoying.]
  • Intvl - Interval between exposures. For Star Trails, this should be as short as possible. The Satechi minimum is 1 sec.
  • N - Number of Frames.  For Star Trails, this would be the total time divided by the interval.  So if you want to shoot 4-minute frames for an hour, then N is 15.  But unless you want it stop on its own, I prefer to either make it a much bigger number, or set it to [--] and just stop it manually when I'm ready to stop shooting.
  • Audible beep - You'll quickly get tired of this and your shooting buddies will tease you. Turn it off.
The Satechi supports wireless control, that just adds several more things to go wrong. For star trails it is better to plug the control unit directly into the camera.

Shooting Star Points

Don't want a star trail?  Just want nice crisp stars?  A few things need to change.  This applies to time lapse stars as well.


If you haven't already set the focus for stars at infinity, do it now. Check the results and then set focus to manual to avoid changing it inadvertently.  This is also where gaffer's tape would be handy to secure the focus ring.

Long Exposure Noise Reduction

Consider whether you want to turn it back on.  This will cause a delay after each shot, equal to the exposure time.  If shooting timelapse, there may or may not be enough time between frames. I normally keep it turned off.


If we don't want the stars to be motion blurred from the earth's rotation, then we can't use too long an exposure.  The venerable "500 rule" supposedly tells us the maxium shutter speed for a given lens. The "500" applies to full-frame cameras, the equivalent is "330" for APS-C crop sensors.
500 / focal length = longest shutter speed (seconds)
So with a 24 mm lens: 500/24 = 21 sec
My widest lens is 16mm.  500/16 = 31 sec 
These are maximum times, but they are too long for pixel peepers like me. For example, here's a 1:1 detail from a shot using 16mm for 30 seconds:

The motion blur is pronounced. It would be usable when displayed at smaller sizes but not at full size.  But in the detail below from the same 16mm setup at 10 seconds the motion blur is nearly invisible at 1:1:

So maybe use "200" or "160" instead of "500" in the rule.  200/16 = 12.5 seconds

Use the widest aperture available on your lens, and you'll need to crank up the ISO compared to star trails. I've used 6400 at f/4, lower is better if you can of course.

Pro Tips and Bonus Points!

  • Canon DSLRs show a bright red light on the back when the shutter is open. It's annoying; consider putting tape on it. You can put a pinhole in it if you want.
  • My intervalometer also has a red light. Same thing -- tape.
  • Bring something to sit on or lie on.
  • Infinity focus: set it while there is still light.  Consider putting gaffer tape on the focus ring so it doesn't budge.
  • Turn down your LCD monitor display. Brenda Petralla suggests also getting red transparent sticky film, cut to size of LCD display, stick it over LCD to preserve even more night vision.
  • Don't carry a big roll of tape? Another Petrella tip: wrap strips of gaffer tape around an old credit card to keep in your bag.


The general sequence of post-processing actions to produce star trails is:
  1. Process the entire sequence of star trail images in, say, Lightroom to adjust color, light dynamics, sharpness, and so forth (see "Lightroom Adjustments" below).  The star trail images should all be processed the same way (use Sync).
  2. Then select all of the star trail images and your desired base layer image in Lightroom.  Right-click and select "Open as layers in Photoshop".
  3. In Photoshop it is convenient to put any base layers at the bottom of the layers list, then group all the star trail layers together. Select all of the star trail layers in the Layers panel and set the "Blend Mode" to "Lighten" ("Screen" can be tried as well).
The night sky should fill with star trails as if by magic, and Bob's your uncle!  A few things to watch out for:
  • The trails should be smooth continuous curves (except for very tiny gaps every 4 minutes).  If there is any discontinuity, then something is wrong: did you include an extra frame or leave one out?  Did the camera move at all during the shooting? One way or another you'll need to fix this.
  • Are there lights from automobiles or other human activities? You may want to mask these out.
Finally, to complete the project:
  1. Merge your star trails layers into a single layer.
  2. Optional: Use standard blending techniques to add the base layer image.
    I have one example where the Blend Mode of the base layer was set to "Overlay", but I don't recall why. 

Lightroom Adjustments

I kept my star trail images "as shot", including a white balance of 4850, but cranked the DeHaze up to 100.  I added Lens Profile adjustments, Sharpening and Noise Reduction. Remember to Sync to all the other star trail images.

Depending on personal preference, you can get rid of unwanted car headlights and so forth here in Lightroom, or later in Photoshop.  I find it easier to do in Photoshop.


Basic Star Trails

Here are the basic trails from the Sparks Lake shoot. There are 15 frames of 4 minutes each, representing 1 hour of time. There would have been 16 frames, but I wiggled the tripod during the very first one.  They have been adjusted in Lightroom as described above, and automobile headlights from a road in the center have been masked out in Photoshop.

Step 1: July 27, 2019. Sparks Lake, Oregon.

"Shooting Star" Effect

Next I create a simple opacity gradient so that the trails appear to "shoot" through the sky.  I want to give the 15 frames opacities from 100% down to about 10%.  A linear gradient is fine. So each step will be about (100 - 10) / 14 = 6.4. For simplicity I just made it 6 and stepped from 100% down to 16%. 

In order for the trails to shoot in the "correct" direction, the frame at the bottom of the sequence (i.e. the very last shot) remains at opacity 100%. Starting with the next to last frame, subtract 6 from the previous opacity value: 100% - 6% == 94%, and so forth.

Step 2: "Shooting Star" effect produced by opacity gradient. The most annoying aircraft trail is also removed.
Not everyone is a fan of this effect. I like it.

Adding the "Base" or "Plate" Layer (No Masking)

The mountains and lake are completely lost in the images shown above. The easiest way to add the "base" or "plate" layer simply puts it below the star trails group, and sets the star trails group blending mode to "Pass Through".

The image below uses a plate taken about 30 minutes before the star trail sequence starts. Exposure 30 sec f/4, ISO 1600.

Step 3a: Adds the "base" or "plate" image. Star trail group blend mode is Pass Through.
You'll notice of course that we've acquired a blue sky, against which the star trails themselves appear less vivid. Also we've acquired individual star points. But the blue sky goes with the lake. It works, I think. By the way, in this case, "Pass Through" and "Lighten" look the same (to me).

An equally simple variant uses "Screen" blending mode on the star trail group. This lightens somewhat more, and certainly shows a lot more of the star trails.

Step 3b: Star trail blend mode is "Screen".
I especially like that this mode expresses more star trails in the lake reflection.

The prime alternative to this approach (that I'm aware of) is to do some masking so that the mountains appear against the black sky.  This would also get rid of the star points. But then what to do about the lake?  This (below) just doesn't work:

Step 3c using masking to "clean up" the sky.
My next version instead uses two adjustment layers to tone down the plate, with a layer mask so that it only affects the plate's sky.

The result is this:

Step 3d uses adjustment layers to tone down the plate's sky, but leaves the lake and mountains alone.

This looked pretty good to me at first. But the next day, I realized there is a lot of fringing around the skyline.  In fact, it's worse than that:

Detail from Step 3d, showing misaligned plate.
Remember that above in Step 2 of the "Shooting" section, I mentioned that I had rocked the tripod during the first star trail frame and had to toss it due to the shift in alignment?  Well of course that also meant that every image before that point had the same shift relative to the later images. That's what we're seeing here.  More work required ...

Final Version

My final version masks out the mountain and land from the star trails and makes separate adjustments to the land and sky+water.  I applied a Median filter (8px) to the sky+water plate image, which effectively removes the point stars.  That's the main reason why there is a separate land image, it was needed to preserve the details.

Layers used in final image
The mask on the Star Trails group is the inverse of the mask on the plate Land image. The plate Sky and Water subgroup does not need any masking.

The final version avoids most of the fringing around the mountain and provides a better blend overall, as well as removing the extraneous point stars.

Step 4: Final image


These are just a few references.

Monday, March 1, 2010

Embedding a SmugMug Slideshow on Your Blog

I have recently joined SmugMug and been working hard to learn the system and what you can do with it. This post is more about my experience groping around the system trying to find out how to embed a slideshow, than it is about the actual embedding itself.  But I promise it gets there in the end.

Let me say at the outset that I still like SmugMug.  Whatever problems have come up, I've been able to work around them.  And their support staff is among the best I've ever dealt with. So in that context, let's continue ...

The image to the left is screen grab from SmugMug's "Professional Photo Hosting" page.  Note the offer of easy embedding of a Flash slideshow.

But how?  Remember, though a computer veteran, I am very new to SmugMug -- everything must be learned.

Start with a Search

There is a searchbox at the top of the page, so I enter "embed slideshow" and click the hourglass:

You can try it just by clicking the image above, but I'll save you the trouble:

Hmm. Nothing helpful here.

Try the Help Topics

Now I notice the "Help" link at the top of the page and try that.  Progress!  A help page with various topics in a menu on the left .I expand "Sharing" on the left and notice the "In forums & blogs" link.

Of course this is what I want, and click to open the corresponding help page.

The target help page is very good.  But there's nothing there about embedding a slideshow. They do indeed provide functions for embedding links, but none of those allow you to embed the slideshow itself.  At best the provide a link to your slideshow on the SmugMug page -- not the same thing at all.

At this point I'm pretty annoyed.  I know that I can grab the OBJECT html from the source of a slideshow page and copy it into my blog page, but that's not what I call "easy to embed".  I'm convinced there must be some support somewhere.

Search the Help System Only

Noticing a new search box on the help page, I decide to try searching once again for "embed slideshow".

This time the results appear in a popup box and are more promising, especially the first result:

This first result is only a month old, and appears to offer exactly what I want.  Hooray!  But on going there, I'm somewhat disappointed once again.  The section on embedding a slideshow is really just an example of how to grab the OBJECT html and embed it in your page. While well-written and complete, it seems to suggest that SmugMug doesn't really "support" embedding a slideshow in your blog, but at best encourages a modest hack.

First Solution: Not Quite a Hack

The clock was ticking, so I went ahead and copied the sample HTML from the Embed Slideshow section of the post by Ivar Borst. I pasted it into my blog and edited it, making only a couple of mistakes along the way.  It looks like this:

<object align="middle" height="600" width="600">
  <param name="movie" value="">
  <param name="flashvars"
  <param name="wmode" value="transparent">
  <param name="bgcolor" value="000000">
  <param name="allowNetworking" value="all">
  <param name="allowScriptAccess" value="always">
  <embed src=""
    wmode="transparent" type="application/x-shockwave-flash"
    allowScriptAccess="always" allowNetworking="all"
    height="600" width="600">

It works fine, and several times during the following day I thought about writing a little tool to generate the code for me.

But Wait! There's More

Then tonight I decided to write a quick blog post about my experience. Along the way I clicked the second link on the help search results, the one that says "help - Create Slideshows and Badges".  It leads to the "Show off" help page (below), and guess what?  Here is exactly what I was looking for.

Yes, it turns out that under the "Share" menu for each gallery is a special "Owner Only" section with the meaningless name of "Show Off".  And that, my friend, is where you go to get your embedded slideshow HTML written for you.

At this point I'm feeling a little silly for not finding this function right away, but not as silly as I would have felt if I'd never found it at all.

After you configure your options, click "Copy Embed Code" and you'll get something like this. It's similar to what you would get by using the template found in the Ivar Borst article, but notice that it uses a much newer version of the slideshow SWF file -- December 2009 rather than September 2007 (the SWF file is slideshow code that Flash executes). And there are a ton more options.  This is why it's so much better to do this automatically.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  width="400" height="400" id="ssidx">
  <param name="movie"
  <param name="wmode" value="transparent">
  <param name="allowNetworking" value="all">
  <param name="allowScriptAccess" value="always">
  <embed src=""
    width="400" height="400" wmode="transparent"
    type="application/x-shockwave-flash" allowScriptAccess="always"
    allowNetworking="all"  >

Photo Collection: People and Crowds from "Hardly Strictly Bluegrass" 2009

Each year since 2001, during the first weekend in October, San Francisco hosts the Hardly Strictly Bluegrass festival in Golden Gate Park.  Now running six separate stages, it has become a free concert experience of epic proportions.

I have decided to reprocess my favorite pictures from 2008 and 2009 before posting on SmugMug.  Just finished the "People" group, 26 shots of spectators and crowds.

Note: I still need to add code so that something appears for non-flash browsers.

Thursday, February 25, 2010

Organizing Galleries on SmugMug ...

Update: Shortly after posting this I saw an example that handled the problem of an "All Galleries" page somewhat differently, and later found a tutorial that describes a clever method.  I have it working now, and will post an update when I've worked out more of the kinks.

As part of setting up Time-Light-Distance, one of the first things I did was upload some albums or galleries to SmugMug.

I really wanted to have a single page for all my galleries that was separate from my SmugMug home page.  In order to do this I created a single master category called "All Galleries". Under that are subcategories such as "Events" and "Music" where you will find the actual albums.  In addition I created a separate "Smart Gallery" called "Favorites".  In order to group it with the other subcategories I had to put it in its own Favorites sub-category.

Now there are a few problems with this scheme that will become more evident as time passes.  For one thing, you only get two levels of categories on SmugMug.  So by creating a single top-level category for All Galleries I've wasted one level of the hierarchy -- I won't be able to create sub-subcategories.  This prevents having a category structure like "Travel/Hawaii2009", or "Events/HardlyStrictlyBluegrass2009" which I would use to organize multiple galleries from the same trip or event.

The other problem is that instead of navigating directly to the Favorites gallery, you have to go through the Favorites sub-category.  I could fix this by putting the Favorites gallery directly in the "All Galleries" category instead of in a sub-category.  But then it wouldn't appear with the sub-categories, I'd have to have a separate page element with the ugly name of "All Galleries Galleries".  Bleah!

Getting Consistent Color on the Web (Windows)

Every photographer's bane: you carefully adjust your pictures to look great and publish them with pride to your favorite photo sharing site. Then you're appalled to find them looking more reddish and saturated in most browsers.

Regardless of your current browser, you should see a difference between the two slices above (if not, your monitor has serious color issues and you can stop reading here).  The image is a single screenshot showing the same image as rendered in Firefox 3 (left) and Chrome (right) on Windows Vista.  I could just as well have compared Safari and Internet Explorer and you'd see the same difference.

The point isn't whether one is better than the other, the point is that they are different.  The browser on the left is interpreting the ICC v2 color profile embedded in the image, while the browser on the right is ignoring it.   For that matter many other programs, such as Picasa, also ignore color profiles.

I'm not using an "unusual" color profile such as Adobe RGB in my image. I'm using the accepted internet standard profile sRGB (IEC 61966-2.1) and have been under the impression that browsers render using this profile by default.  So why are the results different?

Chris MacAskill of SmugMug once advocated saving images without embedded profiles in order to get consistent results across browsers.  But that wouldn't actually solve my problem, it just makes all browsers consistently "wrong" relative to the colors I saw when editing the photo.

What I need is consistency between my photo editing software and the universe of web browsers.

My Problem: Incorrect WCS Settings

Eventually I discovered a problem in my Windows Color System (WCS) settings (Control Panel::Color Management).  At one time I had set up my system workflow for Adobe RGB, which included setting the WCS default device profile.

Don't do that.  Instead set your default device profile to sRGB IEC61966-2.1 like this:

You can (and should) still use your calibrated monitor profile.  For a while I was afraid that I would have to set it to the default sRGB profile as well, but no:

You shouldn't have to restart your computer, but you will need to restart color managed applications, such as PhotoShop, Safari and Firefox before you can see the change.


Here's a comparison of the image after the change. The left-most image is PhotoShop, showing the PSD file rendered in sRGB 8-bit color.  I saved that image as an 80% JPEG with the embedded sRGB profile, then displayed it in various browsers.   These look really close to me.

From left to right: (1) PhotoShop (PSD file, sRGB 8-bit), (2) Safari (color managed), (3) Chrome (not color managed), (4) IE 8 (not color managed).

I wondered just how close they really were so did another screen capture of just the ear at 100% in all four programs.  Then using PhotoShop I compared the average RGB values of an 11x11 region:

The results ...
PhotoShop (original)rgb(220,176,154)
Safari (managed)rgb(220,176,154)
Chrome (unmanaged)rgb(221,177,156)
IE 8 (unmanaged)rgb(221,177,156)

Very close indeed.

If You're Interested ...
The International Color Consortium (ICC) has a handy web page for checking whether your browser supports color management and, if so, whether it supports v4 or just v2.

Chris MacAskill of SmugMug has written several popular blog posts on this subject.  His conclusion that embedded color profiles are spawn-of-devil may be controversial, but it does represent some practical thinking in the real world of publishing photos on the web.

On the separate-but-related topic of color gamuts, SmugMug also has a clearly written explanation of sRGB versus Adobe RGB that I found highly informative.  For even more details see this tutorial at Cambridge In Color. I used to think Adobe RGB was superior for the wider gamut, but not only is there little to gain, but the limited precision of 8-bit color channels will result in greater quantization errors.  In short, always use sRGB for 8-bit color.

Microsoft's Windows Color System (WCS) was introduced with Vista and provides a lot more control than older versions of Windows.  But it's easy to get it slightly wrong, as I did.