StellarPix
← Back to Learn
ProcessingPublic tutorial · No membership required10 min read

Manage Magenta Stars in SHO Without Changing Nebula Colors

Diagnose magenta star color and fringes, build a combined star-and-color mask, and test selective saturation reduction. Protect intentional SHO nebula colors and understand when calibrated RGB stars are the better route.

Sources reviewed October 25, 2026

Magenta is not always a mistake

In SHO, S II is displayed as red, Hα as green, and O III as blue. Stellar color in that mapped palette reflects narrowband measurements and subsequent processing, not ordinary broadband star color. A magenta-looking star can result from the display-channel balance; a magenta-looking nebular feature can be an intentional part of the palette.

This finishing lesson reduces distracting magenta selectively. It does not promise physically natural stellar colors from narrowband data. If you have suitable calibrated broadband RGB, the linked RGB-star restoration workflow provides a separate route to more natural-looking stars.

Use a permanently stretched SHO working copy with STF off. Preserve the original. Do not globally remove every magenta pixel just because some stars look distracting.

1. Diagnose the shape of the problem

Inspect stars at 1:1 in the center, corners, dark background, and over bright nebulosity. Distinguish a mostly magenta star from a thin symmetric halo and from an offset red/blue fringe.

An offset or doubled color profile calls for registration checks on the original channel masters. A broad halo can originate in optics, differing filter star profiles, extraction, or stretching. Desaturation can hide color while leaving the underlying defect intact.

Compare earlier checkpoints. If the problem appeared after aggressive green suppression or palette changes, first test a gentler version of that step. Inspect clipping in each channel; lost star-core color cannot be restored with a saturation slider.

Save Target_SHO_before_magenta_cleanup.xisf and make a duplicate. Note several affected stars and nearby nebular features that must remain unchanged. If working with separated stars, keep the accepted starless base fixed and inspect the stars branch for nonstellar extraction residuals.

2. Create a mask of the affected star profiles

Use StarMask on the stretched source or stars branch to make a trial grayscale mask. Tune it for the sizes of the affected stars and inspect the result. It should include the profiles you intend to adjust while excluding nebular knots, galaxy detail, and background noise.

A halo correction needs coverage of the halo, not only a tiny white star core. Review mask growth and smoothness in the installed help, keeping transitions gradual. Do not expand the mask until neighboring nebular features become broadly selected.

Rename the mask SHO_star_mask. Keep its geometry identical to the target and inspect it with STF off. White will permit an adjustment, black will protect, and gray will permit a partial effect.

3. Select magenta without treating all magenta as unwanted

Open ColourMask, published by Cosmic Photons, and select the same stretched source. Begin with its magenta preset or a hue interval around magenta, such as 270–330 degrees when the control uses degrees. Adjust the actual range to the affected pixels rather than assuming every purple or red fringe belongs in it.

Use the process’s preview and installed documentation to inspect chrominance limits, strength, and softening. Create a grayscale output named SHO_magenta_mask. It may legitimately include both stars and magenta nebula; that is why this color mask alone is not the protection for our trial.

Keep each input mask in the 0–1 range, with matching geometry and no unintended display-only adjustments. Confirm that both masks select the affected stellar pixels before combining them.

4. Combine star and color selection

Multiplying the grayscale masks permits the correction only where both selections overlap. It does not make either selection more accurate, so inspect the intersection carefully.

  1. Open PixelMath and enter SHO_star_mask * SHO_magenta_mask as the expression, using the actual case-sensitive view identifiers if you chose different names.
  2. Select Create new image, choose grayscale output with the target’s dimensions, and keep automatic rescaling off so the product retains its intended mask strengths. Use the installed help for the current output controls. Do not replace the science image with this expression.
  3. Execute and rename the new mask SHO_magenta_stars_mask. Inspect with STF off: intended magenta stars or wings should be selected, while nonstellar magenta regions should remain dark.
  4. If nebular knots leak through, repair the star selection or choose a more selective working region before proceeding. If an affected star is absent, inspect which input mask excluded it instead of increasing the final correction strength.
  5. Attach the product to the SHO working duplicate through Mask → Select Mask and enable it without inversion for this trial. Check the mask image, inversion state, and overlay. Hide the overlay only for judging the picture; hiding it does not disable protection.

5. Reduce saturation conservatively

Open CurvesTransformation on the masked target and choose Saturation. Try a small downward change near the midpoint, for example an input/output point of 0.50/0.45. This is a comparison value, not a required final setting. Leave lightness and individual color curves unchanged for the first trial.

Apply once to a duplicate and compare the same stars and nebular structures with STF off. Aim for a less distracting tint, not a field of identical white stars. A partially desaturated magenta halo is still a halo and may need a different diagnosis.

Check faint stars, bright cores, wings, and stars superimposed on magenta nebulosity. The star mask can still permit some nearby object pixels, so inspect the actual result rather than assuming the mask protected everything.

Return to the same baseline for each alternative. If a stronger change removes useful star color or creates an obvious boundary, reduce the adjustment or refine the mask. Do not compensate by globally increasing saturation afterward.

Other approaches and their limits

The invert → SCNR Green → invert technique is another magenta-suppression approach described in the linked star-processing article. It is not part of the main exercise here. Applied globally, it can alter intentional magenta nebular colors too; use a separately tested selective workflow rather than adding it automatically after the saturation trial.

Direct green suppression on a normal SHO image is a different operation. Green can represent real Hα mapped to the display, so it is not automatically an error. Do not alternate green and magenta suppression until the palette looks neutral.

For broadband RGB-star restoration, prepare and calibrate RGB separately, extract its stars, and add them to a clean starless SHO base using the linked workflow. Do not add them on top of existing SHO stars. Check extraction remnants and Screen-blend interactions over bright nebula.

Neutralizing narrowband star color is a presentation choice; recovering broadband-like color requires suitable broadband measurements. Label and document the chosen method rather than claiming that desaturation recovered missing spectral information.

Troubleshooting and saving

The nebula loses magenta: inspect the final mask for nonstellar leakage and confirm the correction was not accidentally unmasked. Restore the baseline and refine the star component.

The stars turn gray: the saturation change is too strong for the intended result. Prefer partial cleanup or calibrated RGB restoration rather than adding arbitrary blue or yellow afterward.

The fringe remains offset: return to channel alignment and profile checks. Hue selection cannot repair spatial registration.

A ring or seam appears: inspect mask coverage and transitions plus the original optical or extraction artifact. Do not enlarge the mask and increase strength simultaneously.

Nothing changes: check both input masks, their product values, the attached mask state, target identifier, and selected curve. Do not mistake a mask made visible by STF for strong actual selection.

Save the original, masks, accepted result, and process instances. Record hue range, star-selection choices, saturation change, and whether stars were separated or broadband-restored. Remove or disable the mask before an unrelated next step unless protection is deliberately retained.

This is an original beginner sequence. The linked guidance supplies color-mask, star-mask, and alternative-cleanup concepts; installed help governs current controls. Selective correction is only successful when the protected nebula and credible stellar profiles survive the comparison.

See the technique in practice

This lesson is public. Detailed project workflows and dataset downloads require an active membership. Dataset selections follow your membership allowance; reading a workflow does not use a selection.

  • Finding the Pelican in blue and gold

    See this technique in the recorded Pelican Nebula - IC5070 workflow. Use that project’s documented order, retained settings, and limitations.

    Public overview · Member-only detailed workflow

    Explore story and member workflow →