GRASS logo

NAME

p.cubenorm - Column/row normalisation for planetary pushbroom images.
Divides each column (or row with -r flag) by its mean or median, then multiplies by the global mean to preserve overall brightness. Removes systematic detector-sensitivity variations.

KEYWORDS

Planetary, Noise & Calibration, normalisation, pushbroom, calibration

SYNOPSIS

p.cubenorm
p.cubenorm --help
p.cubenorm [-r] input=name output=name [statistic=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-r
Normalise by row instead of column
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

input=name [required]
Name of input raster map
output=name [required]
Name for output raster map
statistic=string
Statistic to normalise by
Options: mean, median
Default: mean

Table of contents

DESCRIPTION

p.cubenorm normalises a raster by dividing each line (or sample) by its statistical summary (mean or median) and multiplying by the overall image mean. This removes cross-track or along-track sensitivity variations caused by detector-to-detector differences that survive flat-field calibration.

Normalisation direction: lines (per-line normalisation, removes along-track variations) or samples (per-sample, removes cross-track variations).

NOTES

For multi-band data, apply p.cubenorm independently to each band of the imagery group or use the group input option to process all bands at once.

EXAMPLES

Normalise CRISM bands per-sample to remove across-track brightness gradients:

p.cubenorm input=crism_band73 direction=samples \
    estimator=median output=crism_band73_norm

REFERENCES

SEE ALSO

p.dstripe, p.bandnorm

AUTHOR

Yann Chemin

SOURCE CODE

Available at: p.cubenorm source code (history)

Accessed: Sunday Nov 15 11:05:57 2026


Main index | Paint index | Topics index | Keywords index | Graphical index | Full index

© 2003-2026 GRASS Development Team, GRASS 8.5.1dev Reference Manual