Q: Deep Sky Stacker hints & tips

  • Thread starter Thread starter Andy Resnick
  • Start date Start date
  • Tags Tags
    Sky Tips
Click For Summary
The discussion focuses on optimizing the use of Deep Sky Stacker (DSS) for astrophotography. Key insights include the recommendation to stack RAW images instead of JPGs to maintain dynamic range and color saturation, and the importance of using flats at the same f-stop as the images to avoid calibration issues. Users suggest registering images with a threshold of 50-100 stars for optimal alignment and recommend the 'auto adaptive weighted average' for stacking parameters. Post-stacking, participants emphasize using external software like Photoshop for adjustments rather than relying on DSS, which is seen as less effective for processing. The conversation also raises questions about preserving dynamic range in images with bright stars and faint nebulae, as well as optimal techniques for white balancing and luminance adjustments.
Andy Resnick
Science Advisor
Education Advisor
Insights Author
Messages
7,713
Reaction score
3,835
There seems to be enough of us night owls who use DSS for me to open a discussion about how to 'tune' all of the parameters to get an optimal result. Personally, I've used the program for a few years but still have no clue about many of the settings, and would appreciate any insight. First, what I've learned:

In general, stack RAW rather than JPG: the extra bits in RAW help to preserve the dynamic range and color saturation. Using 'flats' helps enormously, but remember to acquire the flats at the same f/# as the images, otherwise the calibration will spectacularly fail because the vignetting can change dramatically. I can stack images taken with high ISO, as long as there's enough of them to smooth out the noise. I do not use any in-camera noise reduction, and set the white balance to 'auto'.

When registering the images, I get optimal results when my threshold provides about 50-100 stars per image. More stars just takes longer to align, fewer stars results in dropped frames. After I register the images, I manually threshold the list by star FWHM (full width half maximum)- frames above the threshold are smeared and/or blurred, so I just delete those from the disk. The specific threshold varies, but for me it's around 5.5 pixels.

For stacking parameters, I've gotten the best results with 'auto adaptive weighted average', with a number of iterations about equal to the number of images. I have tried the 2x and 3x dithering with marginal improvements- I have to window the images to do this, and batch stacking does not seem to remember that, leading to failed (out of memory) runs.

After I adjust the initial 32-bit image, I export the file and perform additional post-processing with ImageJ and Neat Image as needed (e.g. background subtraction, noise reduction, color balance, etc.)

Now what I would like to learn:

1) If my field of view has a large dynamic range (bright stars through faint nebula), how can I best preserve the dynamic range? I've tried acquiring a subset of images at low sensitivity to not overexpose the highlights, but then there's not enough stars for DSS to align. Alternatively, after stacking, I can adjust the exposure curve of the 32-bit image to almost look like a step function (more on this later), but then my bright stars bloom out to giant blobs. Any tips?

2) After stacking, I have a 32-bit image that I first manipulate in DSS and save as a 3 x 16-bit TIFF stack. For the initial DSS post-processing step, I have no idea how to optimally white balance and luminance adjust- for example:

The RGB/K levels can be scaled linearly, logarithmically, log(log),... Which is the best? Is there a best?

My initial color balance method is to adjust the color sliders until the gaussian curves are all centered on each other, with the peak located at about the 25% level. This is not easy, I end up moving the mouse in millimeter increments to adjust, so I'm wondering what I'm doing wrong.

When I adjust the luminance, I often end up with a *very* steep midtone to pull out the faint stuff, also requiring very fine mouse movements- but this is because I am viewing the image on an 3 x 8-bit RGB display, which has much less dynamic range than the data. Hints?

This post is getting long... that's enough for now.
 
Astronomy news on Phys.org
Andy Resnick said:
In general, stack RAW rather than JPG: the extra bits in RAW help to preserve the dynamic range and color saturation. Using 'flats' helps enormously, but remember to acquire the flats at the same f/# as the images,

YES

Andy Resnick said:
When registering the images, I get optimal results when my threshold provides about 50-100 stars per image. More stars just takes longer to align, fewer stars results in dropped frames.

similar range to what I do

Andy Resnick said:
For stacking parameters, I've gotten the best results with 'auto adaptive weighted average', with a number of iterations about equal to the number of images. I have tried the 2x and 3x dithering with marginal improvements- I have to window the images to do this, and batch stacking does not seem to remember that, leading to failed (out of memory) runs.

haven't got the hang of this one for best results ... end up fumbling a bit

Andy Resnick said:
After I adjust the initial 32-bit image, I export the file and perform additional post-processing with ImageJ and Neat Image as needed (e.g. background subtraction, noise reduction, color balance, etc.)

I NEVER process in DSS ... I do the stack only then save ... this is how I do it after much consultation with others ...

Under Output tab select "create output file." Also select "Autosave" and choose where to save it in the next section. Then click okay to close this window and return to the Actions window.

Click okay and let DSS stack the image. Wait for it to finish and make NO adjustments to the result. When it is finished choose "Save picture to file" from the Processing menu along the left of the screen. The "Save As" dialog will come up. Choose where to save and what name, etc. Also choose the final output file type - FITS or TIFF and be sure they are the simple 16 bit files, not the integer stuff. I like the TIFF image (16 bit/channel).

Choose no compression. Then the really important part! Choose embed adjustments but DO NOT APPLY THEM! This prevents the image from being stretched by DSS, which can lead to all the problems we are trying to avoid. Let other software do the stretching because it is better at it.

I use photoshop to do my adjustments it has ALWAYS resulted in better looking images.
Andy Resnick said:
1) If my field of view has a large dynamic range (bright stars through faint nebula), how can I best preserve the dynamic range? I've tried acquiring a subset of images at low sensitivity to not overexpose the highlights, but then there's not enough stars for DSS to align. Alternatively, after stacking, I can adjust the exposure curve of the 32-bit image to almost look like a step function (more on this later), but then my bright stars bloom out to giant blobs. Any tips?

this is where Photoshop ( GIMP etc) using layers comes to the fore.
a thread on cloudy nights on M42 core processing and it would apply to any other wide dynamic range object(s)

http://www.cloudynights.com/topic/488925-orion-core-processing-questions/
Andy Resnick said:
2) After stacking, I have a 32-bit image that I first manipulate in DSS and save as a 3 x 16-bit TIFF stack. For the initial DSS post-processing step, I have no idea how to optimally white balance and luminance adjust- for example:

The RGB/K levels can be scaled linearly, logarithmically, log(log),... Which is the best? Is there a best?

As I said above, don't use DSS for processing, most people will tell you that it isn't the best at it :smile:Dave
 
  • Like
Likes Drakkith
UC Berkely, December 16, 2025 https://news.berkeley.edu/2025/12/16/whats-powering-these-mysterious-bright-blue-cosmic-flashes-astronomers-find-a-clue/ AT 2024wpp, a luminous fast blue optical transient, or LFBOT, is the bright blue spot at the upper right edge of its host galaxy, which is 1.1 billion light-years from Earth in (or near) a galaxy far, far away. Such objects are very bright (obiously) and very energetic. The article indicates that AT 2024wpp had a peak luminosity of 2-4 x...

Similar threads

  • · Replies 43 ·
2
Replies
43
Views
12K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 39 ·
2
Replies
39
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 22 ·
Replies
22
Views
4K
Replies
2
Views
593