Image Processing: Astrophotography Workflows & Techniques
Copyright 2005-2016 by Dick Locke.  All Rights Reserved.
  Contact and Image Use InformationMy astronomy equipment home page is here.

 Current Astrophotography Capture Equipment
Advanced blending in Photoshop is discussed on my page here

Bad Column Discussion here

Nikon D810A Capture and Image Processing Workflow

I have struggled a bit in finding a suitable image processing workflow with the Nikon D810A.  Here's what I do right now, followed by a discussion of what did not work.

  1. I shoot 5-minute RAW sub-exposures at ISO 400 using Backyard Nikon or the camera's built-in intervalometer.  I take as many dark frames as I can at similar temperatures and the same ISO.  I take flat frames (at least 12) using an EL panel at ISO 200, with the same aperture for the lights if using a camera lens.  ImagesPlus and DigiCamControl also can control the Nikon D810A.  I believe you may need to purchase a special module with IP.

  2. I focus with a Bahtinov mask, usually just using live view image on the back of the camera (super convenient!)

  3. I usually capture flats with an EL panel but I used sky flats on my Andromeda image from 2016 and they worked pretty well.

  4. I use Deep Sky Stacker for "reduction."  E.g., DSS manages the application of the flats and darks to produce a calibrated image.  DSS now supports D810A .NEF files natively, which I didn't realize until recently.  I was needlessly converting the .NEFs to .dngs.

  5. Image stacking is with DSS (for sequential images of the same target if I'm feeling lazy) or with Registar.  Registar handles mosaics much better than DSS, and is generally awesome.

  6. DSS is the only software I have found that can properly apply flat frames, at least with the way I'm doing things.  Flats were better with the telescope at f5.4 than with faster and wider-angle camera lenses.

  7. I then process in Photoshop as discussed later on this page.

What did not work for the D810A?

  1. ImagesPlus does not do a good job with flat-fielding for me.  DSS does a good job with exactly the same images.  The IP support people took a look at this problem and their best suggestion was that my flat frames are not similar enough in luminance for IP.

  2. This page has a discussion of the flat-fielding problems with IP.

  3. In fairness to IP, I tried flat-fielding with Nebulosity also with poor results.

  4. In 2016 I processed some of my Andromeda Galaxy frames with IP and it was OK.  So there's still a bit of mystery here.

Do you have a workflow for the D810A that produces good results?  Please post to the D810A Yahoo Group!

My Image Capture and Processing Workflow with the SBIG ST-8300 Monochrome Camera with the FW8-8300 Filter Wheel & Astrodon 5nm 36mm filters

"Natural Color" Technique from Narrowband Images (RGB optional)

Here's a detailed description of how I processed my Lagoon Nebula natural color image (located here).

  1. First I get each image aligned and processed so it's reasonably "bright." I used Registar to align each image, and padded each image to exactly the same size so I can do the remaining work in Photoshop.

  2. I blended the narrowband images using the formula below. (I paste the narrowband data into the desired color channel with Photoshop, then fade the previous result based on the blending formula.)

  3. I worked on the image with curves so it had a neutral background and nicely showed some color.

  4. I added the RGB filtered data using Photosohop same as before, (fading the true color data to roughly set it to be the proper contribution based on the exposure time and judgment).

  5. Once again, work on the image with curves looking for a neutral background and nice colors.

  6. Towards the end, to deal with low-level noise, I blended in a modified version of the bright and smooth Ha data for luminance (e.g., paste Ha, sent blend mode to luminance, then fade that to maybe 25-33%).

  7. I kept interim versions of everything to deal with blown-out highlights that resulted from enhancing the dim areas so they could be easily seen. Towards the end I went back, modified interim images to nicely show the highlights, and blended just the highlights in with layer masks.

  8. Finally, I selectively blended in an interim image that helped enhance the contrast of the dark areas.


For Reference: I start with something similar to below, but then freelance...  An approximation of natural colors may be achieved by the following narrowband blending:

Red = H-alpha + Sulfur II (approx 75% / 25%)
Green = Oxygen III
Blue = Oxygen III + H-alpha (approx 85% / 15%)

Another formula found on a PixInsight page says:
Red = 0.5*S2 + 0.5*Ha
Green = 0.15*Ha + 0.85*O3
Blue = O3
 

"Hubble Palette" Blending

This is a popular color combination as well; I will create both Hubble Palette and Natural Color images from narrowband sub-frames in most cases.

My Image Processing Workflow with the QHY8 "One Shot Color" Camera

I am using the recommended workflow in Nebulosity and then use Registar and Photoshop as outlined below:

DSLR Workflow

  1. I still shoot (as of late 2012) astronomy images with a Digital Single Lens Reflex (D-SLR) camera, namely the Canon EOS 20Da. This camera has a modified design especially for astrophotography.  I always shoot RAW format images.

  2. I shoot 4 minute exposures at ISO 1600, now with a 15 second delay between exposures (instead of 45 seconds which I used before) to let the camera cool down a bit. Through 2007 I shot at ISO 800, but 1600 is best!  Make sure your darks are at a matching ISO!

  3. I am using ImagesPlus v. 2.82 to convert the Raw images from the 20Da, and for calibrating my images with a "dark frame" and a "flat frame."  I shoot darks while I'm changing targets, just getting them in here and there through the imaging session, and as I'm packing up.  I then median combine the darks from the night and use them in my processing.  I shoot flats during twilight, shooting about 16-20 and median combining them.   (Update 11/2006, I am not currently using bias frames!)  (Update 2013, I am gravitating towards a library of many darks from similar temperatures, rather than trying to get darks during the shooting night.  I find that a very large # of combined darks works quite well.  One thing to note is that the camera changes temperature as it starts shooting, seeming to stabilize after 30 minutes or so all else being equal.  So, it's important to get darks capture during the same type of lengthy shooting scenario.)

  4. In general, the dark frame is subtracted from each image frame, and the flat frame is calculated in to reduce vignetting.  I'm using the IP workflow per the tutorial, but...

  5. I often use Registar to combine images.  Registar is easier to use than IP for images with different camera locations, and can handle radically different frames of the sky easily.  Registar has a means to calibrate the levels of the combined frames that can work well for mosaics.

  6. Then to Photoshop as noted below.

Photoshop: General Astrophotography Approach

  1. Photoshop rules for my final image processing.

  2. I use Curves to manipulate the image.

  3. I've started using the "Standard Curve" in Photoshop as described in "The New Astro Zone System for Astro Imaging" by Ron Wodaski and Russ Crowman.  I saved one of these as an action I can run.  After each run you need to set the black point in each color channel.

  4. (Pre-2014) I have build an action that makes a series of small curve adjustments on the dark end of the image.  The adjustments boost the low end but leave the stars end of things largely unchanged.  I will run what amounts to around 10 small curve adjustments very rapidly to "pull the image out of the muck" and get the image in a good, workable range.

  5. NR: Aside from "pulling the image out of the muck," additional noise reduction techniques must be applied to most images image due to the extreme "stretching" of typical astronomy images. 

  6. Noise reduction approaches:  There several approaches/tools that can be used for noise reduction.  Great results and ease of use are my top priorities.  While some free tools may be available, I'm willing to pay for tools that meet my needs in this area.  I use a couple of plug-ins.  Neat Image is my favorite, and it is easiest to use when there is a fairly blank area of sky (no stars, galaxy, nebula, etc.) to select.  I also use Grain Surgery in cases where I can't easily use Neat Image.

  7. Aside: The best noise reduction in Photoshop alone (i.e., if you just using what comes with Photoshop) is based on strategic selection of areas to blur, with application the Gaussian blur.  You can select a color range, or use the wand tool with a small # tolerance like 4.  You can do this differently in each color channel.

  8. Some images have issues with gradients, and I use and recommend the GradientXterminator plugin.

  9. A few more (basic) details regarding what I do in Photoshop is at this link: Basic Image Processing in Photoshop

  10. A discussion of more Advanced Photoshop Processing Techniques for astronomy pictures is here.

  11. Also, see the LAB curves technique I'm using, described below.  This helps bring out the colors.

  12. Star Shrinking:  In 2012 or so I investing in Noel Carboni's "Astronomy Tools" for Photoshop which was $22 very well-spent.  Previously, in late 2008 I began to include star size management using a technique similar to the one on the top of this page.

  13. The HDR toning feature in Photoshop CS5 & CS6 is useful for final color enhancements.

Star Selection

  1. There are many ways to select stars and Noel Carboni's tools have an action that works well.  The trick is to properly expand & feather the selection.

  2. Tight stars?  Expand about 3-4 pixels and feather about 50% of that.

  3. Bloated stars?  Expand up to 7 pixels and again feather around 50% of the expansion.

Photoshop Tip: LAB Curves can help add color to flat images

There are lots of ways to "add color" to a flat DSLR astronomy image.  A classic: apply an "S" curve to the image.  (Image->Adjustments->Curves, pull up the right/bright part of the curve, and pull down the left/dark part of the curve.)  You can use Image->Adjust->Hue/Saturations, but purists shudder at this.

However, using this LAB technique has advantages as enumerated in Dan Margulis' books including "Photoshop Lab Color" and "Professional Photoshop."  It's pretty simple.

  1. Convert Image into Lab.  Alt-I-M-L gets you there (Image->Mode->Lab).

  2. View the "a" channel.  Ctrl-2 gets you there.  It will look very strange. 

  3. Here's a trick: Hit the ` key to the left of the # 1.  This displays the image in color, but with a channel selected for any manipulations.

  4. Bring up the curves function.  Now, make the curve steeper, but keep the center point the same. The curve is a straight line. Do the same with the b Channel. See example below.

  5. How far to go is a judgment call.  If you'd like the subtly change the overall color balance, you can vary the line so it doesn't exactly cross the center point.  Don't go too far with this!

  6. Blur a/b channels? Other things you may wish to do in lab include blurring the a and b channels a bit, or maybe a lot, to help get rid of noise.  This can help keep star colors under control (see caveats.)

  7. Adjust the Luminosity channel.  Be aware, thought, that pulling up the luminosity curve to better show the dim parts of your image will tend to flatten colors/reduce color saturation.  (You can go back to step 4 again, if you want.)

  8. Ctrl-' gets you back to all channels selected

  9. Convert back to RGB.  Alt-I-M-R gets you there.

  10. Example: check my M31 page, including the images at the grid at the bottom of the page, showing where I started color-wise, and where I ended up.

  11. Caveats: There are many, but the main caveat is that this best with images that are not already highly colorful.  This technique also tends to exaggerate chromatic aberrations around stars, so this may need to be mitigated. (I should note that blurring the a/b channels in lab helps with this as described in step 6.)

  12. Recent Update: The HDR toning feature in Photoshop CS5 & CS6 is a good alternative for adding color, especially for adding the finishing touches on a good image that could stand additional saturation.


Above: Adjusting the b channel by equal amounts.  By making the curve steeper, you increase the visible differences between colors, increasing the color range of flat images.

Below Left: notice how flat this DSLR image seems; little color. 

Below Right: Some color is starting to show after using the lab technique described here.


A starting point for the M31 images on this page: Pretty Flat!

1st Cut 20Da image stack.  1200 pixels wide.  Some Photoshop Lab processing to accentuate the color differences by steepening the 'a' and 'b' curves. 
 

Basic Image Processing in Photoshop

 

 

Photography 101 - Dick Locke

 

Excellent Photoshop Astro Techniques LinkMatt's Star Shaping
Selecting StarsMore Photoshop Tricks including shrinking stars

Noise Reduction example: Stacking astropix.


Check out my Veil Image in the LAB color space "a" channel

Current Astrophotography Capture Equipment
Advanced blending in Photoshop is discussed on my page here. 

Astronomy Pictures: Dick Locke's Astrophoto Gateway page....

Images Home

Copyright by Dick Locke.  All Rights Reserved.  Last update: October 2013
Contact and Image Use Information

Hit Counter hits.

Star Selection and Subtraction

As of 2012 I tend to use Noel Carboni's Photoshop actions to select and shrink stars.

For Reference: Wei-Ho's star subtraction technique

Instead of (de)selecting stars, what I do is to subtract stars, enhance
everything else, and then add the stars back.  Stars can be subtracted
using a high-pass filter.  The basic steps are like this:

1. duplicate the image
2. high-pass filter the dup, with a radius about 4-10 times the size of
the faintest stars.
3. level the high-passed image.  Change the lower input level from 0
to 128, and the higher output level from 255 to 128.
4. subtract this high-passed, leveled dup from the original.
5. enhance the star-subtracted nebula image
6. add back the high-passed, leveled dup.

There are several variations.  For example, you can very easily
select the non-stellar components in the product of step 3, set
the background to black, then push the 'delete' key.  This will
prevent nebula components being subtracted in step 4.  You can
also do more than two times of star subtractions with increasing
radii in the high-pass filtering.  This will get rid of stars more cleanly.
 

Color Processing DSLR & CCD Astrophoto Images - different than film? (Yes...)

I've often thought that DSLR and CCD images seem relatively flat and monochromatic when compared with the film images from back in the old days  This is true especially in the reds, where DSLRs generally have a relatively weak deep red channel.  Popular astrophotography films have had a strong red response, including Kodak's PJ400, LE 400, and Supra 400 (all out of production), as well as Kodak E200 and Fuji's SHQ 200.  A reason red is so important: Hydrogen Alpha nebulae glow at a wavelength of about 656 nanometers.  Any sensor, be it film or a CCD/CMOS chip, that has poor response in this area will be omitting a critical component of the image of the sky where H Alpha is present.  My previous DSLR, a Nikon D100, had a weak H-alpha response, along with relatively high noise.  The Canon EOS 20Da was dramatic improvement in both these area.  That camera had a modified design especially for astrophotography, but still shoots perfectly good daylight images without any special filters.  (Good info on H alpha here.)  In early 2008 I had my 20Da modified to further improve its H Alpha response.