Removes row banding (horizontal stripes, the classic Canon DSLR pattern) or column banding (vertical stripes, seen on some CMOS cameras) from the whole image. Every row is shifted up or down so its background level matches the rest of the frame. Mask-aware, one undo step.
The same correction is also a mode of Blemish Blaster (Mode: Banding Blaster). Both give identical results; this standalone tool adds a before/after preview, a preset grip, replay, Function Bundles, scripting and the command line.
| Control | What it does |
|---|---|
| Direction | Horizontal (default) corrects rows. Vertical corrects columns. |
| Amount | 0.00–4.00, default 1.00. How much of each row's offset is removed. 1.00 brings every row's median to the image median. Below 1 is a partial correction, for bands with real signal mixed in. Above 1 over-corrects and is rarely useful: it tends to add noise or inverse banding. |
| Protect highlights | On by default. Leaves bright pixels (stars, nebula and galaxy cores) out of each row's median, so a row that crosses a bright object is not pulled down. Keep it on for astronomical images. |
| Sigma | 0.01–5.00, default 1.00, used only with Protect highlights. Pixels brighter than the image median plus Sigma robust sigmas are left out. Lower leaves out more; try 0.3–0.5 on very star-dense fields. |
| Apply | Writes the result to the image as one undo step named “Banding Blaster” and closes the tool. |
The preview shows the whole image, display-stretched so faint banding is visible. Before and after go through the same stretch, so any difference you see is the correction itself. The stretch is for the preview only; the data you apply is never stretched.
The tool follows the active view: click another image and the preview switches to it. Changing Amount is quick; changing Direction, Protect highlights or Sigma measures the image again.
ctx.run_command('banding_blaster', {'direction': 'vertical', 'amount': 0.8})setiastrosuitepro process banding_blaster -i stack.fits -o out.fits --direction vertical| Preset key | Values | Default |
|---|---|---|
direction | horizontal or vertical | horizontal |
amount | 0–4 | 1.0 |
protect_highlights | true / false | true |
sigma | 0.01–5 | 1.0 |
Each channel is corrected on its own. Vertical banding is handled by
running the row algorithm on columns. Let g be the channel's
global median and I the channel. The robust background sigma
uses the mean (not the median) of absolute deviations, as Georg Viehoever's
original script does:
With Protect highlights on, each row's median uses only the pixels at or below a threshold (a row with none left keeps its offset at zero):
Each row is then shifted by the same amount end to end, which is the right fix for a constant per-row readout offset:
The row medians are measured once per Direction / Protect highlights / Sigma setting and reused while you change Amount.