Stretch gallery

One stack, ten ways to display it. Every image on this page is the same Crab Nebula stack after the same finishing steps; only the final stretch differs. Choose with --stretch (and --stretch-color for colour handling). For what a stretch is, see the background page.

Overview Background Compare two All ten The numbers Which to use

Compare any two

Pick a stretch for each side and drag across the image. The crop is 960×640 pixels around the Crab Nebula (M1) from a 133-frame, 44-minute Origin session, shown at three-quarters size.

The Crab Nebula with the right-hand stretch. The Crab Nebula with the left-hand stretch. linear ghs

The numbers

Measured on the crops above, display values from 0 (black) to 1 (white). The sky level is the median of the whole crop, which is almost all sky; "clipped" is the share of pixels driven to pure white.

StretchSky levelMeanClipped
linear0.0450.0811.64%
arcsinh0.0060.0420.51%
ghs0.0050.0400.55%
ghs, colour preserved0.0040.0390.68%
masked0.0050.0540.65%
multiscale0.0060.0560.65%
noisefloor0.0430.0720.55%
seti0.2070.2440.51%
oklab0.0040.0390.62%
clahe0.0050.0430.55%

Masked and multiscale raise the mean by about a third over GHS while leaving the sky where it was: the extra brightness all goes to faint structure and faint stars. Noise floor and SETI raise the sky itself.

Which to use

Start with the default

GHS, tuned per target by the advisor. Add --stretch-color preserve if star colours or coloured nebulae matter to you, or use oklab for the same with brighter saturated colours.

Faint stuff is missing

Try masked or multiscale. If you are not sure the faint stuff is really there, look at seti or noisefloor first: they show the noise along with it.

It is cheap to try them all

The stretch is the last step. --from-stack STACK.fits --stretch NAME re-runs only the finishing steps on a stack you already made, with the early steps cached, so each try takes seconds. The FITS file is not affected by any of this: it stays linear.