EnhancementIntermediate

Astrophotography Image Adjustments: Histogram, Sharpening, and Color

Best practices for histogram, sharpening, color, and cleanup using the live adjustment panel.

Guide Overview

This adjustment pipeline is the finishing workflow for stacked planetary and lunar images. Its goal is to set tonal range, align color, recover detail, and control noise without inventing structure.

It is optimized for bright, high signal targets like planets and the Moon. For deep-sky data, use it gently: aggressive sharpening, CLAHE, or background cleanup can erase faint nebulosity.

Every control changes real data. Small moves add up fast, so prefer minimal changes and evaluate at 100% zoom.

Processing order for this adjustment panel (what to do first and why)

A stable order prevents one adjustment from hiding or amplifying problems created by another.

The order below keeps tonal range stable before detail work and saves time. If you stretch the histogram after sharpening, halos and noise will reappear and you will have to redo the detail steps.

  • Histogram and Levels: set auto stretch intensity, black/white points, gamma, and highlight protection to define the dynamic range.
  • RGB Alignment: fix atmospheric dispersion before any color balance.
  • Pick one detail engine: Wavelet Sharpening or Deconvolution (not both at full strength).
  • If using wavelets, tune layers from fine to coarse; if using deconvolution, set PSF and iterations.
  • Sharpening vs Noise: apply small finishing touches only if needed.
  • CLAHE: add local contrast only if the image is still flat.
  • Instant Adjustments: finalize saturation, contrast, brightness, and RGB balance.
  • Background Cleanup: last step to avoid clipping faint detail early.
  • Cause -> effect -> best practice: moving black point late changes edge contrast and forces re-sharpening; lock the histogram first, then detail.

Instant Adjustments: Saturation, Contrast, Brightness, Color Boost, RGB Balance

Quick global controls that change the overall look; use after detail work.

These sliders are powerful because they affect every pixel at once. Use them to finalize the image, not to fix capture problems.

Saturation and Color Boost (color intensity controls)

Saturation scales overall chroma; Color Boost pushes color strength further.

  • Problem it solves: weak or washed color after stacking and sharpening.
  • Overuse artifacts: color noise, banding in smooth areas, and unnatural hues.
  • Beginner range: Saturation 95-110%, Color Boost +0 to +15%.
  • Advanced range: Saturation 85-120%, Color Boost +10 to +25% if SNR supports it.
  • Cause -> effect -> best practice: raising saturation amplifies color noise; boost color last and stop when background noise becomes tinted.

Contrast and Brightness (global tone shaping)

Contrast increases separation between dark and bright tones; Brightness shifts the overall level.

  • Problem it solves: flat image or low separation in bands, rings, or craters.
  • Overuse artifacts: crushed shadows, clipped highlights, and an over-bright background.
  • Beginner range: Contrast +5 to +15, Brightness -5 to +5.
  • Advanced range: Contrast +10 to +25, Brightness -10 to +10 depending on the histogram.
  • Cause -> effect -> best practice: increasing contrast deepens shadows and brightens highlights; do it only after black/white points are set.

RGB Balance (Red, Green, Blue)

Balances channel strength around the 100% reference.

  • Problem it solves: color cast or channels that do not match.
  • Overuse artifacts: tinted background, false colors, or color shifts across the disk.
  • Beginner range: adjust channels by 2-5% around 100%.
  • Advanced range: 5-12% once RGB alignment is correct.
  • Cause -> effect -> best practice: a higher red value warms the image and can magnify red noise; adjust in small steps while checking neutral areas.

Best wavelet settings for planets (layer by layer)

Wavelet sharpening boosts detail at specific scales from finest (Layer 1) to coarsest (Layer 6).

Use the Balanced preset as a safe baseline. Switch to Custom to tune each layer.

Boosting every layer creates crunchy texture. Focus on one or two layers that match the detail scale you want.

  • Problem it solves: blur from stacking and seeing, especially fine belts, ring edges, or crater rims.
  • Overuse artifacts: ringing around the limb, sandpaper noise, and halo edges.
  • Beginner range: keep Layer 1 and Layer 6 near 1.0x; adjust middle layers by 0.05-0.2x.
  • Advanced range: push one or two layers up to about 1.2x-1.3x only if SNR is high.
  • Cause -> effect -> best practice: boosting fine layers raises detail and noise; start with Layer 2 or 3, then add small changes to Layer 4 or 5.

Layer 1 (finest micro-detail)

Targets the smallest texture and noise.

  • Best practice: keep near 1.0x; move in 0.02-0.05x steps.
  • Beginner range: 0.95x-1.05x.
  • Advanced range: 0.95x-1.15x if noise is clean.
  • Overuse: grainy texture and ringing on the limb.

Layer 2

Fine detail such as thin cloud edges and small crater rims.

  • Beginner range: 1.0x-1.1x.
  • Advanced range: 1.05x-1.2x.
  • Overuse: zipper-like edges and speckled noise.

Layer 3

Medium-fine detail, belts, and ring edge crispness.

  • Beginner range: 1.0x-1.15x.
  • Advanced range: 1.05x-1.25x.
  • Overuse: crunchy midtones and false texture.

Layer 4

Medium detail and broader contrast.

  • Beginner range: 1.0x-1.2x.
  • Advanced range: 1.1x-1.3x.
  • Overuse: halos around the limb and ring edges.

Layer 5

Coarse detail and overall structure.

  • Beginner range: 0.95x-1.15x.
  • Advanced range: 1.0x-1.25x.
  • Overuse: dark halos and uneven shading.

Layer 6 (coarsest)

Very broad contrast; affects the entire disk.

  • Best practice: keep near 1.0x; use only subtle changes.
  • Beginner range: 0.9x-1.05x.
  • Advanced range: 0.95x-1.1x.
  • Overuse: bright rims and dark halos.

Deconvolution: iterations and PSF type (Gaussian vs Airy Disk)

Deconvolution attempts to reverse blur by modeling the point spread function (PSF).

Use deconvolution as an alternative to heavy wavelets. Combining both strongly often creates halos.

Iterations

Number of deconvolution passes.

  • Problem it solves: soft edges and blurred detail.
  • Overuse artifacts: ringing, bright halos, amplified noise.
  • Beginner range: 5-12 iterations.
  • Advanced range: 12-25 only with high SNR.
  • Cause -> effect -> best practice: more iterations sharpen edges but amplify noise; stop at the first sign of haloing.

PSF type: Gaussian vs Airy Disk

Model of the blur you are trying to reverse.

  • Problem it solves: mismatch between blur model and real optics.
  • Overuse artifacts: incorrect PSF creates double edges or onion rings.
  • Beginner range: start with Gaussian for seeing blur; switch to Airy Disk if optics and focus are strong.
  • Advanced range: choose the PSF that gives the cleanest limb with the fewest iterations.
  • Cause -> effect -> best practice: a closer PSF match yields sharper detail with fewer artifacts.

Sharpening vs noise: Nitidez and Reducao de Ruido

Simple sliders for quick detail and noise control; less precise than wavelets.

Use them when you need a small finishing touch or when you are not using wavelets or deconvolution.

  • Problem it solves: small loss of detail or visible grain after sharpening.
  • Overuse artifacts: crunchy texture (too much sharpness) or plastic look (too much noise reduction).
  • Beginner range: Sharpness 5-15%, Noise Reduction 5-20%.
  • Advanced range: Sharpness 10-25% and Noise Reduction 5-30% depending on SNR.
  • Cause -> effect -> best practice: increasing sharpness raises noise; offset with minimal noise reduction and avoid stacking multiple sharpening methods.

CLAHE: local contrast control (cutoff limit and block size)

Contrast Limited Adaptive Histogram Equalization boosts local contrast by block.

Useful for low-contrast belts, crater walls, or subtle albedo features. It is easy to overdo.

Cutoff limit (Limite de Corte)

Sets how aggressively local contrast is increased.

  • Problem it solves: flat local contrast.
  • Overuse artifacts: harsh micro-contrast, speckled noise, and posterization.
  • Beginner range: 2.0-3.5 (the UI notes 2-4 is subtle).
  • Advanced range: 3.0-4.5; 5+ is aggressive and risky.
  • Cause -> effect -> best practice: higher cutoff increases contrast; if you see grain or halos, lower it.

Block size (Grade de Blocos)

Size of the local regions used for equalization.

  • Problem it solves: features that need local boost at a specific scale.
  • Overuse artifacts: patchy texture or visible grid patterns.
  • Beginner range: start at 8x8; move to fewer blocks for smoother contrast.
  • Advanced range: more blocks for fine local contrast, fewer blocks for gentle global shaping.
  • Cause -> effect -> best practice: smaller blocks (more blocks) emphasize tiny detail and noise; increase block size if texture looks gritty.

When CLAHE destroys detail

Signs that CLAHE is too strong and what to do.

  • If the background becomes speckled, reduce cutoff limit or increase block size.
  • If crater floors or belts look embossed, lower CLAHE and use wavelets instead.
  • If color bands appear, reduce saturation and recheck the histogram.

Background cleanup limits and risks (Limpeza de Fundo)

Maps dark background pixels to black for a cleaner sky.

It is safe for bright planetary disks but can erase faint moons, rings, or deep-sky structures.

  • Problem it solves: gray background or low contrast between disk and sky.
  • Overuse artifacts: clipped shadows, missing faint moons, dark halos around the limb.
  • Beginner range: 8-15.
  • Advanced range: 12-20 for planets (the UI notes 10-20 is typical).
  • Cause -> effect -> best practice: higher limits push more pixels to black; set it last and stop before faint features vanish.

RGB alignment and atmospheric dispersion correction

Offsets red and blue channels relative to green to correct atmospheric dispersion.

Use Angle of Dispersion to set direction. Red shifts in the positive direction, Blue in the opposite; Green stays as reference.

  • Problem it solves: red/blue fringes at the limb or misaligned color detail.
  • Overuse artifacts: double edges, color halos, or colored shadows.
  • Beginner range: start at 0.0 px and move in small steps (0.2-1.0 px) while watching the limb.
  • Advanced range: 1-3 px for low-altitude targets; if you need more, the capture likely needs an ADC.
  • Cause -> effect -> best practice: correct alignment tightens color detail; if you see colored edges growing, reduce offsets and recheck angle.

Histogram and Levels: auto stretch, black point, white point, gamma, highlight protection

Defines the tonal range and protects highlights and dark sky.

This is the foundation of the image. Get it right before detail work.

Auto stretch and Stretch Intensity

Auto stretch chooses a histogram range (example: 1%-99.5% with gamma 0.95) and the intensity slider scales how much of that stretch is applied.

  • Problem it solves: image too dark or flat after stacking.
  • Overuse artifacts: clipped highlights, noisy background, or blown bright regions.
  • Beginner range: 60-100% intensity.
  • Advanced range: 30-80% with manual fine tuning.
  • Cause -> effect -> best practice: more intensity brightens midtones but can blow highlights; reduce intensity before lowering white point.

Black Point (Sombras) and White Point (Realces)

Sets the darkest and brightest allowed values.

  • Problem it solves: gray background or weak highlights.
  • Overuse artifacts: crushed shadows or clipped bright rims.
  • Beginner range: Black Point 0-2%, White Point 98-100%.
  • Advanced range: Black Point 0-5%, White Point 95-100% depending on the histogram.
  • Cause -> effect -> best practice: moving black point right clips faint detail; keep it just left of the histogram rise.

Gamma (Tons Medios) and Dark Sky Mask (Mascara de Ceu Escuro)

Gamma lifts or lowers midtones; Dark Sky Mask protects the background when gamma changes.

  • Problem it solves: midtones too flat or too dark.
  • Overuse artifacts: washed background or halo around the disk.
  • Beginner range: Gamma 0.9-1.1, Dark Sky Mask 10-30%.
  • Advanced range: Gamma 0.8-1.2, Dark Sky Mask 20-50% if halos appear.
  • Cause -> effect -> best practice: increasing gamma brightens midtones and the background; increase the dark sky mask to keep the sky dark.

Highlight Protection and Highlight Strength (Protecao de Realces / Forca de Realces)

Protects bright areas from clipping; strength controls how strong the protection is.

  • Problem it solves: bright rings, polar caps, or lunar rims are clipping.
  • Overuse artifacts: flat highlights or grayish bright regions.
  • Beginner range: Highlight Protection 60-85%, Highlight Strength 20-50%.
  • Advanced range: Protection 50-90%, Strength 20-60% based on target brightness.
  • Cause -> effect -> best practice: more protection compresses highlights; if the image looks dull, lower protection before pushing contrast.

Protect Dark Sky (Proteger Ceu Escuro) and Protection Level

Locks dark sky values when gamma or contrast is raised.

  • Problem it solves: background lifts when stretching.
  • Overuse artifacts: abrupt edge between disk and background.
  • Beginner range: Protection Level 30-60%.
  • Advanced range: 20-70% depending on sky brightness.
  • Cause -> effect -> best practice: increase protection until the background stays dark without creating a hard edge.

Why my image looks overprocessed

Symptoms, causes, and the exact controls to back off.

  • Crunchy or sandpaper texture: Wavelet layers 1-3 too high or CLAHE cutoff too high. Reduce those first.
  • Ringing or bright halos at the limb: Deconvolution iterations too high or Wavelet layers 4-6 too strong.
  • Neon colors or tinted background: Saturation/Color Boost or RGB Balance pushed too far.
  • Flat bright areas with no texture: Highlight Protection or Noise Reduction too high.
  • Gray sky and low contrast: Black Point too low or Gamma too high; increase dark sky protection.

Common Mistakes That Ruin Astrophotography Images

Avoid these mistakes tied to the controls in this panel.

  • Clipping the histogram early (black/white points) and trying to fix it later.
  • Using Wavelets, Deconvolution, and Sharpness at the same time.
  • Pushing CLAHE to 5+ on noisy data.
  • Running Background Cleanup before you set the histogram.
  • Skipping RGB Alignment and then correcting color balance.
  • Boosting saturation before detail is stable.
  • Ignoring dark sky protection when gamma is increased.

How It Works

1

Set histogram and levels first (auto stretch, black/white points, gamma, highlight protection) to define tonal range.

2

Use RGB Alignment to remove atmospheric dispersion before color balance.

3

Choose one primary detail method: wavelets or deconvolution.

4

Adjust wavelet layers from fine to coarse, keeping layer 1 and 6 near neutral.

5

Use CLAHE only if local contrast is still weak, and keep it subtle.

6

Finish with instant adjustments and background cleanup last.

Pro Tips

  • -Keep saturation near 100% until detail is stable; boost color last.
  • -Stop sharpening at the first sign of ringing or crunchy texture.
  • -If highlights clip, raise highlight protection before lowering white point.
  • -Dark sky mask helps prevent halos when gamma increases.
  • -Avoid using sharpness together with wavelets and deconvolution.
  • -Make small changes and zoom to 100% to judge real detail.

Related Algorithms

Related Terms

Try Astrophotography Image Adjustments: Histogram, Sharpening, and Color

Upload your planetary video and apply professional techniques with Uranum.

Start Processing