On this page

Stretch a channel or a picture

A linear stack records light in proportion to the signal. In a nebula, much of the dust can occupy a narrow range just above the sky, while a few stars are hundreds of times brighter. A stretch gives those faint differences more of the visible brightness range. The shape of the curve determines how much room remains for the bright core and stars.

Compare three stretches on the Iris Nebula

Look for the dark notch beside the bright reflection nebula, then follow the dust outward to where it meets the sky. These three renderings use exactly the same crop of the L stack and the same black and white points. Only the curve changes.

Compare the same luminance pixels
A small bright core and stars stand out against dim surrounding dust.
Linear. Equal increases in the stack give equal increases in output light. The core is easy to find. The surrounding dust is hard to trace.
The same core with more visible surrounding dust and a distinct dark notch.
Midtones, 0.22. More of the range goes to the low and middle values. Follow the dark notch into the brighter dust.
Faint surrounding dust, mottled sky and many small stars appear across the same field.
Asinh, Strength 80. The broad dust field is easier to see. Sky variation also stands out, and the brightest parts have less separation.

The comparison maps stack values 760 to 4,000 into the interval from 0 to 1 before applying each curve. A pixel one-tenth of the way through that interval stays at 0.10 with Linear, becomes 0.28 with this Midtones curve and 0.55 with this Asinh curve. These are output light levels before the image is encoded for a screen. Use the sky and core in your own stack to choose a stretch.

Watch luminance change the color picture

Open a variant of the cropped Iris picture. Select the first Stretch on L and press D to see the selected row beside Final picture. Choose Midtones and drag Midtone left from 0.50 to 0.22. Look at the brown dust around the blue core. The L layer gives that dust more lightness in the color picture. The separate RGB stars group keeps its own settings.

Two Iris layer stacks at Midtone 0.50 and 0.22. Read from the starless L input at the bottom, through L as luminance, Color and RGB stars, to the three finishing adjustments at the top.
Read upward from L in each column. At L as luminance the dust takes on the hue of the RGB layers beneath it. Compare Color with RGB stars to see where the pinpoints return. At the top, Saturation, Compress highlights and Unsharp mask act on the nebula and stars together. Play the edit through all five rows.
The same Iris color crop at Midtone 0.50 and 0.22. Brown folds around the blue nebula become clearer at 0.22.
The final color picture at the two settings. Compare the arc of brown dust above the core.

Choose where to put the stretch

Inspect a linear row with View stretch
Select Stack and press S to open View stretch. Use it to see structure before processing. It changes how an unstretched row appears in the panes. The document and the exported linear row keep their values.
Prepare one channel with Stretch
Expand a channel under Inputs and select its Stretch row. The first stretch follows the linear processing. Every layer that uses that processed input receives the new result. An R stretch changes how much red that input contributes. An L stretch changes the lightness supplied by a layer that uses L.
Refine an already stretched channel
Add another Stretch under the same input. It receives the first stretch’s output. This is a good place for a gentle lift around the brightness of a faint filament after you have established the sky and core. New later stretches start with Generalized hyperbolic.
Adjust the composition with Output stretch
Select the part of the picture you want to work on. Choose Adjustment, then Output stretch, and check Applies to. Above the whole picture it sees the blended nebula and stars. Inside a group it sees that group at that step. Changes beneath it feed into the stretch as the picture updates.
Control the stars separately
After star removal, select the stars input under Stars and lines. As the input follows the source stretch. Own Stretch step gives the stars an independent curve. Star stretch lets you raise faint stars and protect bright cores. Group opacity then sets how much of the entire star field returns. Stretch and reduce separated stars.

Set the sky, the faint detail and the bright core

The finished Iris field with quiet sky to the right, a faint brown dust lane at left and the bright reflection core marked in blue.
The three marks show what to watch in Iris. Sample the quiet sky between stars, trace the faint brown lane and check whether structure remains visible inside the blue core.
  1. Select the input’s first Stretch and press D. Compare the selected channel at left with Final picture at right. Use the three marked regions on Iris. On another target, choose a quiet sky patch, faint nebula and a bright area with visible structure. Keep those landmarks in view as you change one control at a time.
    The two panes show the same field. Use the marked sky, dust lane and core to judge what changes at each brightness.
  2. Start with Layered, HDR, Studio’s default first input stretch. Move Background a little and watch the sky patch. Raising it can reveal a faint lane. Stop when the lane is easy to follow and the sky still looks distinct from the dust. Check at 100% if mottling becomes visible.
    Move Background while looking at the faint dust. Compare its edge with the marked sky between stars.
  3. Examine the darkest part of the lane. Moving the black point toward the sky gives a darker background, but nearby dust can turn black with it. Turn on Clipping to locate those pixels. If a blue patch spreads across the lane, ease back the black point or the Sky floor. A quiet sky can still contain visible changes in brightness.
    With Clipping on, the small blue area inside the box marks pixels clipped to black. Check whether it spreads into the neighboring dust as you lower the sky.
  4. Check two adjacent bright folds around the core and the centers of several stars. If the folds merge into one bright patch, adjust Core compression. Compare the folds again and watch the star cores for clipping. A core already saturated throughout the original stack has no recorded light difference for a stretch to reveal.
    Adjust Core compression and watch B against C. The two marks sit on opposite sides of the bright fold and its notch.
  5. Select Final picture and inspect the histogram. The horizontal position represents brightness and the height shows how often that level occurs. A concentration at the left is common in a field dominated by sky. Locate clipped pixels on the image before deciding whether to change the stretch. A single bright star and a broad clipped nebula core call for different choices.
    The high peak at the left comes from dark pixels. Read the clipping figures below the plot, then locate the affected pixels on the canvas.

Choose a stretch model

Choose the curve for the feature you are trying to see. In each image pair, the two ticks mark the same feature on both sides. Click the image to inspect it at full size. To compare two first stretches, keep the same input, sky patch and zoom. To build on a result you like, leave that row in place and click Add stretch. Studio applies the next curve to the values the first curve produces.

Find a starting point in a linear stack

Automatic midtones
Use this to inspect a new stack before you know its range. Studio estimates the dark cutoff from the median and background variation, then lifts the midtones toward Background. Try it when comparing nights on the same target. A field full of emission can put the median inside the nebula. If faint edges disappear, move Shadows clip farther below zero and compare those edges again.
The dim SNR G132 rim beside its brighter Automatic midtones result, with the same strand marked.
SNR G132. Background 0.17 and Shadows clip −2.8 bring the marked strand above the dark gap in one pass.
Median anchor
Choose this when you like the sky brightness but the surrounding gas looks flat. Set Background to place the median, then raise Curves boost to give the gas above it more contrast. A larger Black point, σ keeps more of the dark end. Use Highlight compression and Compress from if the brightest folds begin to merge. Check which part of your field actually supplies the median.
The same SNR G132 strand before and after setting the median sky level.
SNR G132. Background 0.10 and Black point, σ 4 hold the median low enough to compare the faint strand with adjacent gas.
Layered
Try this on an input with fine knots against broad nebulosity. The first input stretch can distinguish features by size as well as brightness. Set Background first, then raise Contrast while watching individual knots at 100%. If grain around the knots becomes equally distinct, reduce Contrast. Star cores compresses bright stellar centers. Increasing Black point brings the cutoff closer to the median.
SNR G132 with the marked thin strand visible against the gap after Layered.
SNR G132. Background 0.15 and Contrast 0.45 bring out fine structure along the marked filament. Inspect the texture between strands as you raise Contrast.
Layered, HDR
Start here for Iris or a galaxy with a bright nucleus and faint outskirts. It is Studio’s default first input stretch. Raise Core compression while watching two folds near the center. Core from, σ sets the brightness where compression begins and Core size, px sets the scale of the broad structure it affects. Knee sets where highlights begin using HDR headroom. With picture HDR off, they roll off to SDR white. Studio offers the two layered models when choosing the first input stretch.
The marked bright fold in Iris before and after Layered, HDR compresses the core.
Iris Nebula. In this SDR view, Background 0.15 and Core compression 0.70 let you see the folds around the bright center. The blue ticks mark the bright side of the notch.

Control how much faint signal becomes visible

Asinh
Choose this for a broad lift of dust or a galaxy’s outer disk when a few bright stars dominate the field. Set Black point and White point, then raise Strength. The low end rises quickly while changes in the bright end become smaller. Compare the outer edge with nearby sky. If the sky turns mottled or the core looks featureless, reduce Strength. The Iris comparison shows both effects on the same field.
The Gulf’s curved gas bank before and after Asinh, with the bright side of the lip marked.
Gulf of Mexico. With endpoints 0 and 1, Strength 10 brightens the bank on the marked side of the dark lip.
Asinh, by percentiles
Choose this when a hot pixel or a few very bright stars make manual endpoints unhelpful. Black percentile and White percentile set the endpoints from the distribution of this image. A white percentile of 0.99 puts the 99th percentile at white in SDR. Inspect star cores for clipping. Raise the white percentile if you need more detail there. In a dark nebula, inspect faint lanes before raising the black percentile.
The Gulf’s marked gas bank with fixed Asinh endpoints and with percentile endpoints.
Gulf of Mexico. Both views use Strength 10. The second sets the endpoints from percentiles 0.001 and 0.999 of the whole input. Check what happens to the bright bank at left.
Midtones
Use this for a simple first lift, or for a broad correction when the whole middle of the picture is too dark. Leave Shadows at 0 and Highlights at 1. A Midtone of 0.50 gives no lift. Lower it to brighten intermediate tones or raise it to darken them. The two end controls shift the input to this curve. Moving Shadows up and Highlights down by equal amounts cancels the shifts.
The dust around the marked Iris fold before and after lowering Midtone.
Iris Nebula. Midtone 0.22 brings out structure around the notch. Shadows stay at 0 and Highlights at 1.
Generalized hyperbolic
Choose GHS when you can point to the tones that still need separation. It can distinguish a dust lane from its surroundings after an initial lift, or bring out two folds in a brighter part of the nebula. Symmetry point places the steepest part of the curve at an input brightness. Stretch factor changes its strength. A higher positive Local intensity concentrates the contrast closer to the chosen value. A lower setting spreads it over more tones. Work through two GHS passes on Iris.
The marked SNR G132 strand after Median anchor alone, then after adding GHS.
SNR G132. On top of Median anchor, a GHS pass sampled on the marked strand increases its contrast against the gap.

Set endpoints or check what earlier steps contributed

Linear
Choose this when the picture already has the tonal shape you want but uses too little of the display range. Set Black point and White point. Equal differences within that interval stay equally spaced. Check a dark lane and the brightest star core as you narrow the interval. Both can lose detail at the endpoints.
The marked edge of the dark gulf before and after narrowing the linear endpoints.
Gulf of Mexico. Black point 0.015 and White point 0.82 widen the span between the two sides of the lip. The relationship between intermediate tones stays linear.
Histogram transformation
Choose this when you want to set the black and white cutoffs explicitly and then adjust the middle separately. In SDR, Shadows 0.20 and Highlights 0.80 map those values to black and white. Midtone 0.50 distributes the values between them evenly. Lower Midtone for a lift. Try it on a picture with a measured empty margin in the histogram. Check Clipping before trimming either end.
The marked SNR G132 filament beside the result of setting the endpoints and midtone.
SNR G132. Shadows 0.005, Highlights 0.38 and Midtone 0.36 lift the strand and put a firm white limit on its brighter neighbors.
None
Use this to see what the preceding steps contribute. For example, select it on a trial copy of a second stretch to judge how much of the dust was already visible after the first pass. On a linear row, check View stretch too. For a comparison of the curve alone, leave Sky floor and any separate Core compression at zero.
The marked Iris fold with Midtones applied and with the same row set to None.
Iris Nebula. Changing the first row from Midtones to None reveals how much of the visible fold came from that curve. Both views use Sky floor zero.

On input stretches, Sky floor sends stretched values up to the chosen level to black and spreads the remaining range back toward white. Start at zero when working on dark dust. On a first, non-layered input stretch, Core compression can bring down a broad glow before the curve. Threshold sets where it starts in noise sigmas and Size sets the scale in pixels. Fine structure smaller than that scale retains its contrast.

Stack two GHS passes on Iris

In a separate variant, expand L under Inputs. The figures show Studio’s starless L input in SDR. The saved Iris color walkthrough has its own finish. Start with Midtones on the first Stretch row, Midtone 0.22, Shadows 0, Highlights 1 and Sky floor zero. On your own picture, you can keep a first stretch you already like.

Full grayscale input with the illustrated region outlined in gold.
The gold box encloses the field used for every pass. A marks outer dust. B marks a fold just above C, the dark notch. Click a figure to enlarge it.
Follow the same three spots through the Iris stretches
Marked Iris luminance after Midtones with A on dust, B on the bright fold and C inside the notch.
Midtones alone. Compare the dust at A and the two sides of the notch at B and C.
Iris after Midtones and a GHS pass sampled on A, with all three landmarks marked.
Midtones + dust pass. Outer dust at A brightens. The fold and notch are closer in brightness.
Iris after both GHS passes with B and C marked on opposite sides of the notch.
Midtones + both GHS passes. The dark notch separates from the fold above it. The dust at A is darker again.

Pick the dust, then pick the bright fold

  1. Select the first Stretch row on L. Click Add stretch at the bottom of the controls. The next row starts as Generalized hyperbolic. Press Y to see the input to the selected row, its result and the final picture.
    Click the outlined Add stretch button on the Midtones row. The image beside it shows the light entering the new GHS pass.
  2. Click the eyedropper beside Symmetry point, then click A. Studio averages a 5 × 5 pixel patch before this step. The dust reads 0.2841 here. Set Local intensity to 4, Protect below to 0.055 and Protect above to 0.72. Raise Stretch factor to 0.88. Switch between the first two images and watch A. GHS increases contrast around that brightness wherever it occurs.
    Click the circled symmetry-point eyedropper, then A on the outer dust. Compare the notch at C after setting the factor.
  3. With the dust pass selected, click Add stretch again. Click the new Symmetry point eyedropper and sample B. The first GHS pass has already brightened this fold, so this pick reads 0.8482. Set Local intensity to 3, Protect below to 0.23, Protect above to 0.96 and Stretch factor to 0.60. Both passes use black 0, white 1 and Sky floor zero.
    On the new GHS row, pick the bright fold at B. After the pass, look for separation between B and C along the same edge.

After the dust pass the median light levels at B and C were 0.85 and 0.57. After the fold pass they were 0.76 and 0.39. The dark side fell farther, making the boundary easier to see. Switch back to the dust pass if you prefer the brighter outer field at A. If an earlier edit changes, pick the feature again on the later row. For the curve equations, see the GHS reference.

Mix stretches across the nebula and star layers

Use a second input stretch when one channel needs work wherever it appears. Use Output stretch on a group when the channels already give you the color you want. An adjustment above the stars brightens them too. In Studio the rows run from the bottom up, so both the position of the adjustment and its Applies to setting matter.

  1. Shape the nebula. On a variant of Iris with separated stars, hide RGB stars. Keep Layered, HDR on L if you want its broad core compression. Add a GHS input pass on L if the dust needs more separation throughout the luminance layer. If the sky level is your main reference on another target, try Median anchor first, then pick the filament for the GHS pass after it.
    With the stellar layer hidden, inspect the fold and notch in the starless picture. Add the second curve on L to change the dust wherever this input is used.
  2. Keep the color you mixed. If the LRGB mix is already balanced and the whole nebula needs more contrast, select Color. Choose Adjustment, then Output stretch. Under Applies to, choose All of Color. Set Channels to Luminance and pick a fresh GHS symmetry point on the combined nebula. Studio scales the RGB channels together. Compare the blue center and the brown dust as you raise the factor.
    On the group’s Output stretch, choose Luminance. The selected channel strategy controls how the same GHS curve changes the combined color picture.
  3. Limit a regional edit. If equally bright patches outside the nebula pick up too much contrast, use a feathered mask on the adjustment to apply it only where you need it. To change the strength throughout the nebula, reduce the stretch factor. Check the edge of the mask at the same zoom for an abrupt transition.
    The red overlay shows where the stroke applies. At the marked edge it fades into the dust. Adjust Feather if a hard boundary shows in the picture.
  4. Return the stars. Show RGB stars and inspect several small stars and one bright core. Use Star stretch on the separated stars to lift faint stars. Raise Preserve highlights if the cores lose color. Adjust group Opacity for the final balance. Toggle the nebula adjustment and watch a bright star to confirm you chose the intended group. For a true HDR display, keep picture HDR on and inspect the highlights with the SDR compression step hidden.
    Compare the same marked stars at the two group opacities. In the inspector, Preserve highlights controls how Star stretch treats bright cores.

Keep luminance and color in balance

In LRGB, R, G and B supply color and a separate L stack supplies lightness. Start with the three color layers visible, then show L as luminance above them. Compare the dark lane and the color around a bright star. If L reveals the lane but the blue core becomes too pale, lower the L layer’s Opacity to blend more of the RGB lightness back in. If only the brightest folds lose separation, revisit the bright end of the L stretch. Opacity changes L’s contribution everywhere. Changing the curve lets you target a brightness range.

For an Output stretch, Linked applies a common curve to R, G and B. A strong nonlinear curve can still change the balance between bright and faint channels within a single pixel. Each channel fits an image-dependent curve to each channel independently. This can neutralize a tinted sky, but a field dominated by one emission line can shift color too. Luminance stretches the brightness computed from the RGB picture and scales the channels together. This option also works in a picture with only RGB stacks.

For an HDR picture, a first Generalized hyperbolic input stretch has Headroom from and Headroom amount. The first sets the input brightness at which the curve starts using headroom. The second sets what fraction of the available stops the brightest sample reaches. With two stops available, 0.50 uses one stop. Check In HDR range on the final picture to see which highlights use that light. Read the picture peak in stops and stretched pixel values.

Stretch a weak emission line

On a starless OIII input, compare a feature with nearby gas and a quieter patch at the same zoom. Each example marks all three places and includes a stronger stretch of the quiet patch so you can see what happens to the grain.

A stretch can make both faint emission and noise more visible. Look for a ridge that keeps its shape across neighboring pixels and for darker pixels alongside it. Compare that pattern with the texture at C. If the distinction matters and you have the individual exposures, stack two independent sets and check whether the same bend appears in both. Stretching the same data twice cannot establish that on its own.