Category Archives: Selections and Masking

Darken Mode Stack Tip Using AdvancedStacker PLUS 15

The new Advanced Stacker PLUS 15 is our attempt to make processing simpler. One of the things we find we often do is run multiple stacks (Lighten, Darken, Streaks, etc) to determine which effect(s) work the best. Well, we did something for the first time that worked REALLY well, so we will start by sharing that, even though Advanced Stacker PLUS 15 is not yet ready for publication.

In a nutshell, we created this:

Orion, Falling

From this:

Long Streaks Stack Result – no modifications  f/4, ISO 1600, 15 Seconds. Nikon D600, 24mm x 250

There are several obvious differences between these images.

  1. Because there was strong moonlight (and other light), the sky is over-bright and lacks contrast.
  2. The wind together with surrounding lighting (including flashing red lights from a passing fire truck) caused strange artifacts in the palm trees.
  3. Different colored light sources lit the palm trees differently (notice the really cyan colored palm fronds in the second tree from the left).
  4. There was utility wiring intruding into the image.

The Processing

Stacker 15 allows you to simultaneously stack in multiple modes. For example, to create this effort I used Lighten, Long Streaks, Darkest, and Average modes. I ended up NOT using Lighten or Average modes in this case. Is there extra overhead keeping more stacks? Yes, there is. However we’ve paired down the stacks to as few frames as possible to keep the overall footprint low.

Once the stacking had finished, the result of the Long Streaks was a bit unappetizing due to the red and other artifacts in the trees (see second image). However the Darkest mode stack effectively removes all of the stars – and as it happens, all of the strange highlights in the trees.  First we applied a Curves adjustment layer to the Long Streaks and darkened it.

Blending a Clean Foreground with the Star Trails

Darkest Stack results

The next operation was to find a way to blend the darkest mode stack (right) with the Long Streaks stack while preserving the star trails  and getting the cleaner looking foreground.


Duplicate the Darkest mode result (it’s a single layer) on to the Long Streaks stack. Then drag the darkest mode stack to the top layer. Set the new layer blend mode to normal, 100%.

Next we need to mask out the sky of the Darkest stack so that the long streaks will show through. The tool for that is to use Select -> Color Range. Holding down the shift key allows you to click multiple areas of the sky to add to the selection. You can vary the fuzziness of the selection to determine how closely the color has to match the sample. The mask will probably need some manual cleanup afterward, but as you can tell from the selection in the image below, just clicking different areas in the sky produced almost exactly what is desired.

Photoshop Color Range Selection

After pressing OK you get a selection. The next step is Layer -> Create Layer Mask from Selection -> Hide Selection Once you have a mask, you can paint on it to clean up any artifacts. Adjust the opacity of the darkest layer to make it “look right”. In this example, the combined image looked best at about 93% opacity.

Correcting “Off” Colors Due to Light Source Issues

The penultimate step was to create a Hue and Saturation adjustment layer. Lock the adjustment to the Darkest layer (hold the Alt/Option key and click on the boundary between the adjustment and the darkest layer). Then click the “Finger selection”  (just below the word Presets). Now there is an eye-dropper which you use to select the color that needs correction. In this case, clicking the dropper on the cyan colored palm frond is the right move. Adjust the saturation slider way down, lightness down, and fiddle with the hue to make the bizarre color more natural.

Aggressively toning down the cyan colored palm fronds

Removing Wires (and other distractions)

Finally we also used the Spot Healing Brush tool to “heal out” the utility wires. Here is a short-cut for healing out a straight line. Click the beginning of the area with the spot healing brush, then hold shift and click the end of the line. Shift causes the brush to be applied in a straight line between the first and second clicked points. The shift-trick works with almost all brushes. Two other tricks with the spot healing brush tool are to:

  • Start where the surrounding area has a predictable substitution (not a busy area) and work outward from there
  • Use as small a brush as you reasonably can

For example you can adjust the spot healing tool brush size to about double the width of the utility line, then click the healing brush tool where the arrows point below. Next work your way outward toward the tree on one side, then the other.


Here is a summary of the steps taken – not including the palm frond “naturalization” or spot healing described above.One more trick worth noting… the histogram shown on the Curves adjustment will give you a clue what may need adjustment.

Want to know what we consider the top 5 most used photo editing skills? Read here (and part 2 and part 3).

Adding Special Touches to Your Astro Landscape

1000 ISO, f/2, 3 minute exposure with some augmented stars

Because stars are pinpoints of light, the camera does not capture them as our eyes see them. To our eyes, brighter stars stand out more noticeably than dimmer ones. At a workshop in Alabama Hills, one of the participants, Julian Köpke, was using a diffusion filter so the stars captured would look more like you see with the naked eye. Sometimes nature provides its own diffusion filter in the form of high, thin cirrus clouds as shown below. The large bright orb is the star Sirius in the constellation Canus Major (Big Dog). The orange star near the top of the frame is Betelgeuse in the constellation Orion. One nice thing about the blur that the clouds added is the star color is more noticeable. But the diffusion here is not uniform because the belt stars (Alnitak, Alnilam and Mintaka) and “corner” stars (Bellatrix, Rigel, Saiph) in Orion are all noticeably brighter than the surrounding stars while in this photo only Betelgeuse and Rigel stand out.

Dog Star [C_065586]

You can create a make-shift diffusion filter by shooting through a nylon stocking – or buy a diffusion filter. The disadvantages of using a filter are that everything is blurred – including the foreground and you reduce the amount of light collected. Most night sky photographers try to avoid clouds and you will get an image like this:

The moon and Teapot Asterism in Sagittarius – over Lone Pine Peak – as shot.

When what you had in mind is something like this:

Same Photo as above, but with the Teapot Asterism in Sagittarius enhanced.

How to Bring Out Star Color And Enhance The Apparent Star Size

Our Advanced Stacker Plus has two built-in ways to increase star brightness. We call those Bump Up and Pump Up the stars. Bump Up creates a small blur by literally duplicating the shot , nudging the duplicate(s) and recombining .  Pump Up is more sophisticated and tries to find the stars so it can then apply enhancements to just the stars. But there is a new tool in the arsenal that I have begun using: Star Spikes Pro from ProDigital Software.  Version 4 is the latest as of this writing.

NOTE: Star Spikes Pro and HLVG described later are currently only available on Windows machines.

You can use the Star Spikes Pro plugin to add diffraction spikes and diffusion. The most common diffraction spikes you see with stars are due to obstructions in the telescope used to photograph them and many people come to think of the spikes as evidence of astrophotography.  You can create diffraction spikes easily on your own.- just stop down your aperture;  however stopping down to make stars create those spikes will not work well.

The first time I tried to use Star Spikes Pro it did not quite work as I expected.

Look hard. Star Spikes Pro decided the moon was a huge star outclassing all others.

Indeed it took me a bit to realize what was going on. The good news is it was easy to work around. The huge moon looks like a huge star to Star Spikes Pro – and that makes perfect sense since the plugin is usually used with Astrophotography that does not involve landscapes.

Here is how I made it work as I wanted and limited the effect to just the desired stars.

Layer Palette and Steps to Enhance The Teapot Asterism

Above left is the layer palette. Look carefully and you may spot the fix. After loading the image (1) I first duplicated the original and called the new layer Heal (2). I then did minor contrast adjustments, used the healing brush to remove hot pixels and other offenses (short satellite trail). Next I duplicated the Heal to another layer (3) and fed it into Hasta La Vista Green – a free plugin written by Rogelio Bernal Andreo of DeepSkyColors. HLVG removes green which is an unnatural sky color usually caused by RGB artifacts. HLVG operates on the entire layer and does not know the difference between land and sky. To leave the natural green in my landscape I used the quick selection tool, dragged it across the sky followed by Select -> Modify -> Expand 4 pixels. Then I created a Layer Mask using “Reveal Selection” (4). That made the foreground come back to its normal state. If you look carefully you will notice I also used a white brush to add some of that green removal back onto the mountain by painting on the HLVG layer mask (4).

The next operation was a finger twisting sequence that has no menu equivalent: Ctrl-Alt-Shift-E (on Mac that’s Command-Option-Shift-E). What that sequence does is “flatten” all the visible layers and create a NEW layer in the process (5). That layer I called Input to SSP.  Since I had discovered that Star Spikes Pro was confused by the moon (and could be confused by the foreground), I used the quick selection tool again and brushed it across the foreground. By default using the quick select tool again ADDs to the current selection so I brushed it around inside the moon and its halo. At this point I did not need to create another layer (Ctrl-J/Command-J or Duplicate Layer) but I did so that it was easy to see what happens next. After creating the new layer I selected it and used the delete key. Delete removes the selection making it transparent – that is the foreground and moon were now gone (6).

Next up: let Star Spikes Pro loose on the image. First deselect (Ctrl-D Command-D) or Select -> Deselect), and feed the sky layer to Star Spikes Pro via Filter -> ProDigital Software -> Star Spikes Pro.  The defaults for SSP produced the image below (I’ve zoomed in on the teapot asterism)

I felt the color was a bit too strong, and I did not want the diffraction spikes. The next step was to select “Advanced” – just below Settings, set the Primary quantity to zero. Next was the Secondary tab where I reduced the quantity to 44, the intensity I bumped up to 23. Soft flare I set quantity to 12, bumped up the intensity, dialed down the size a little and dialed down the Hue to -21. These adjustments were all based on eyeballing the image and were made for aesthetic appeal.  After all the adjustments looked about right, I saved the settings as a new adjustment I called “DiffusionOnly”. Finally I clicked OK and my layer was all nicely done by the SSP filter.

The filter processed a few more stars than I intended to augment. The simple solution was to create a “Reveal All Layer Mask”, select a brush, the color black and paint out all the effects I did not want on the layer mask (7).

The final operation was to use an Adjustment Layer (8) to increase the contrast and restrict that adjustment to the sky (where you see white) and tone the adjustment down a little with a low-flow back brush on one area that looked a little too dark.

The topmost layer in the layer palette is my watermark.

There Is An Easier Way!

With some experimentation, and some coaching from the plugin author I discovered that Star Spikes Pro has several features that make the process easier than I imagined. Instead of creating the transparency (deleting the moon and landscape) I only needed to select the area I wanted Star Spikes Pro to operate on.

Also, instead of masking off the stars I did not want affected after the fact, Star Spikes Pro has two tools to greatly simplify things the: “Hide” tool to turn off any effect that I did not want, and the “Show” tool to turn the effect on.


Star Spikes Pro limited to specific section of the sky via a selection and using the Hide tool to turn off an effect.


The net is that you can get that nice diffusion effect for your stars without having to compromise by shooting through a diffusion filter. However if you DO want to try a diffusion filter, I recommend you take two shots quickly. One with the filter off, one with the filter on. You can then place the diffused shot over the normal shot. Set the diffused shot to Lighten and mask in (or out) the areas where you want the diffusion to show through.

If you’re wondering whether there is a way to get the diffusion effect on a Mac or without purchasing Star Spikes Pro, there is, but it requires a lot of Photoshop twiddling and it is not anywhere near as pleasant as using ProDigital Software’s Star Spikes Pro.

Disclaimer and Book

I am not affiliated with ProDigital Sofware. I am a happy customer of Star Spikes Pro (and another product called Astronomy Tools). I was not paid, or encouraged to write about the product. I chose to because it is that good. Rogelio Bernal Andreo  author of Hasta La Vista Green and purveyor of DeepSkyColors is a friend and a multi-multi award-winning astrophotographer. He has a Kickstarter Project that I recommend you look into called Notes From the Stars

Notes from The Stars: 10 Award Winning Authors