Basic Radiometric and Geometric Corrections: Registration and Resampling

This is a section of Part B2, Image Processing and Analysis, of the Geomatics Engineering (GE) paper. B2's third heading is “Basic Radiometric and Geometric Corrections: Registration and Resampling” — the preprocessing that turns a raw scene into data that can be compared with a map, with another date or with a field measurement. Radiometric correction fixes the numbers: detector calibration from DN to radiance, conversion to top-of-atmosphere reflectance, sun-angle and topographic normalisation, haze removal by dark-object subtraction, and the repair of striping, line drop-outs and bad pixels. Geometric correction fixes the positions: the systematic distortions (Earth rotation, scan skew, panoramic effect) and non-systematic ones (platform altitude and attitude, relief), removed with ground control points and polynomial transformations whose order sets the number of points needed, judged by the RMS error. Registration fits one image to a map or to another image, and resampling assigns values on the new grid by nearest neighbour, bilinear interpolation or cubic convolution. The numericals are calibration, reflectance, GCP counts, RMS errors and bilinear interpolation.
Overview

1. Radiometric correction: from DN to reflectance

2 min read · 3 parts

A DN is proportional to the radiance the detector received, through its calibration: L = gain × DN + offset (or L = L_min + (L_max − L_min) × DN/DN_max). With gain 0.8 and offset −2, DN 150 is L = 118 radiance units. Radiance still depends on how much sunlight arrived, so it is converted to top-of-atmosphere (TOA) reflectance, ρ = π L d²/(ESUN_λ cos θₛ), with d the Earth–Sun distance in astronomical units, ESUN_λ the mean solar exoatmospheric irradiance of the band, and θₛ the solar zenith angle (90° − sun elevation). For L = 100, d = 1, ESUN = 1500 and a sun elevation of 60°: ρ = π × 100/(1500 × cos 30°) = 0.242. Reflectance is comparable between dates and sensors; DN is not.

Radiometric corrections
CorrectionProblemMethod
Sun-angle correctiondifferent sun elevations on different datesdivide by the sine of the sun elevation (cos θₛ): DN 60 at 30° elevation normalises to 60/0.5 = 120
Haze (path radiance)scattered light adds a constant, largest in the bluedark-object subtraction: subtract the band's histogram minimum (deep water or shadow should be near zero): minimum 32, pixel 85 → 53
Topographic (illumination)sunlit slopes brighter than shaded ones of the same covercosine correction L_H = L_T cos θₛ/cos i (i = local incidence angle, from a DEM); band ratios also cancel it
Striping (banding)one detector's gain differs from the othersdestriping: match each detector's mean and SD (or histogram) to the whole image
Line drop-outa scan line records zerosreplace by the average of the lines above and below: 84 and 90 → 87
Bad pixels (shot noise)isolated pixels far from their neighboursdetect by threshold against the neighbourhood; replace by the neighbourhood mean or median
🎯 Why correct before comparing
Change detection and multi-date classification compare numbers. A DN difference caused by a lower sun or a hazier day is indistinguishable from a real change on the ground unless each image is first converted to reflectance and haze-corrected.
From DN to reflectance
  1. DNDepends on the sensor calibration
  2. Radiance LL = gain × DN + offset
  3. TOA reflectance ρρ = π L d²/(ESUN_λ cos θₛ)
Reflectance is comparable between dates and sensors; DN is not.

A DN is proportional to the radiance the detector received, through its calibration: L = gain × DN + offset (or L = L_min + (L_max − L_min) × DN/DN_max). With gain 0.8 and offset −2, DN 150…

2. Geometric distortions and their correction

1 min read · 3 parts
Sources of geometric distortion
KindExamplesRemoved by
Systematic (predictable)Earth rotation during imaging (skew of successive lines toward the west), scan skew, panoramic distortion (pixels grow toward the swath edge), mirror-velocity variation, platform velocitymodels from orbit and sensor data, applied at the ground station
Non-systematic (random)changes in altitude and attitude (roll, pitch, yaw), relief displacementground control points and a fitted transformation; a DEM for relief (orthorectification)

GCP-based correction fits a mapping between image coordinates (column, row) and map coordinates (E, N) using ground control points — features sharp on both, such as road intersections. A polynomial of order t per coordinate has (t + 1)(t + 2)/2 coefficients, which is the minimum number of GCPs: first order (affine) — 3 coefficients each, so 3 GCPs (it corrects shift, rotation, scale in two directions and skew); second order — 6 GCPs; third order — 10 GCPs. In practice many more are used and the fit is by least squares. Its quality is the RMS error of the residuals at the GCPs, √(Σ(Δx² + Δy²)/n), usually required to be under about half a pixel; residuals of (0.4, 0.3), (0.0, 0.2), (0.6, 0.8) and (0.3, 0.0) pixels give point errors 0.5, 0.2, 1.0, 0.3 and RMS √(1.38/4) = 0.59 pixel. A point with a large residual is usually a misidentified GCP and is removed. Higher orders fit the GCPs better but can warp badly between and beyond them.

Polynomial order and the minimum number of GCPs
  1. First order (affine): 3 GCPsShift, rotation, scale, skew
  2. Second order: 6 GCPs
  3. Third order: 10 GCPs
Minimum = (t + 1)(t + 2)/2 coefficients per coordinate.

GCP-based correction fits a mapping between image coordinates (column, row) and map coordinates (E, N) using ground control points — features sharp on both, such as road intersections. A…

3. Registration

1 min read · 2 parts

Image-to-map registration (rectification, georeferencing) transforms an image into a map projection and datum so that every pixel has map coordinates. Image-to-image registration fits one image (the slave) to another (the master) so that the same ground falls in the same pixel, whether or not either is on a map projection — essential before change detection, since a misregistration of even a fraction of a pixel creates false change along every edge. Orthorectification additionally removes relief displacement using a DEM and a rigorous or rational-function (RPC) sensor model; without it, hilly terrain cannot be registered to a map by any polynomial.

⚠️ Transformation and resampling are two separate steps
The polynomial says where each output pixel's centre falls in the input image; it almost never lands exactly on an input pixel centre. Deciding what value to put there is resampling, and it is a separate choice — the same transformation can be resampled three different ways.

Image-to-map registration (rectification, georeferencing) transforms an image into a map projection and datum so that every pixel has map coordinates. Image-to-image registration fits one…

4. Resampling techniques

1 min read · 2 parts
The three resampling methods
MethodInput pixels usedOutput valuesAppearance and use
Nearest neighbour1original DNs only, unalteredblocky, edges stepped, position error up to half a pixel; fastest; preferred before classification and for thematic (class) maps
Bilinear interpolation4 (2 × 2)new, distance-weighted averagessmooth, slightly blurred
Cubic convolution16 (4 × 4)new values, can overshoot the input rangesharpest and visually best; slowest; for display products

Worked bilinear: neighbours DN 10 at (0, 0), 20 at (1, 0), 30 at (0, 1) and 40 at (1, 1); the output centre falls at (x, y) = (0.25, 0.5). Along the row y = 0: 10 + 0.25 × (20 − 10) = 12.5; along y = 1: 30 + 0.25 × (40 − 30) = 32.5; then between them at y = 0.5: 12.5 + 0.5 × (32.5 − 12.5) = 22.5. Nearest neighbour at (0.25, 0.6) takes the DN of the closest centre, (0, 1): 30.

🧠 Classify first, or resample by nearest neighbour
Bilinear and cubic resampling invent mixed spectra along edges that belong to no class. If an image is to be classified, either classify it in its original geometry and resample the class map by nearest neighbour, or resample the image by nearest neighbour so the spectra stay real.

Worked bilinear: neighbours DN 10 at (0, 0), 20 at (1, 0), 30 at (0, 1) and 40 at (1, 1); the output centre falls at (x, y) = (0.25, 0.5). Along the row y = 0: 10 + 0.25 × (20 − 10) = 12.5…

Key takeaways

  • L = gain × DN + offset; TOA reflectance ρ = πLd²/(ESUN cos θₛ), θₛ = 90° − sun elevation.
  • Haze: dark-object subtraction; striping: detector matching; line drop-out: average of adjacent lines; terrain: cosine correction or band ratios.
  • Systematic distortions (Earth rotation, scan skew, panoramic) are modelled; non-systematic ones (attitude, altitude, relief) need GCPs or a DEM.
  • Polynomial order t needs (t + 1)(t + 2)/2 GCPs: 3, 6, 10 for orders 1, 2, 3; accept an RMS error below about half a pixel.
  • Resampling: nearest neighbour (1 pixel, original values, for classification), bilinear (4, smooth), cubic convolution (16, sharpest).

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. A band's calibration is L = 0.8 × DN − 2 (radiance units). The radiance of a pixel with DN 150 is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 118

    L = gain × DN + offset = 0.8 × 150 − 2 = 120 − 2 = 118 units. Ignoring the offset gives 120; dividing instead of multiplying by the gain gives an impossible 185.5.
  2. A pixel has at-sensor radiance L = 100 W m⁻² sr⁻¹ µm⁻¹ in a band with ESUN = 1500 W m⁻² µm⁻¹, the Earth–Sun distance is 1 AU and the sun elevation is 60°. Its top-of-atmosphere reflectance (to three decimal places) is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 0.242

    The solar zenith angle is 90° − 60° = 30°. ρ = πLd²/(ESUN cos θₛ) = π × 100 × 1/(1500 × 0.8660) = 314.16/1299.04 = 0.242. Using cos 60° (the elevation) gives 0.419, the usual slip.
  3. The minimum DN of the blue band over a scene containing deep clear water is 32. After dark-object subtraction, a pixel with DN 85 becomes ____.

    Numerical answer — type the value.

    Show answer

    Answer: 53

    Deep clear water should be nearly black; its DN of 32 is taken as additive path radiance and subtracted from every pixel: 85 − 32 = 53. The correction is band-specific, largest in the blue where Rayleigh scattering is strongest.
Show the other 21 questions
  1. A pixel has DN 60 on an image acquired at a sun elevation of 30°. Normalised to an overhead sun by dividing by the sine of the sun elevation, its DN becomes ____.

    Numerical answer — type the value.

    Show answer

    Answer: 120

    DN_normalised = DN/sin(elevation) = 60/sin 30° = 60/0.5 = 120. A low sun spreads the same energy over more ground and darkens the scene; the correction removes that seasonal difference before images are compared.
  2. Every sixth line of a scene from a sensor with six detectors per band is consistently brighter than the rest. The appropriate correction is

    1. destriping by matching each detector's statistics to the whole image
    2. dark-object subtraction
    3. a second-order polynomial transformation
    4. cubic convolution resampling
    Show answer

    Answer: A — destriping by matching each detector's statistics to the whole image

    A periodic bright line is striping: one of the six detectors is miscalibrated. Adjusting that detector's mean and standard deviation (or histogram) to match the others removes it. Dark-object subtraction corrects haze for the whole band; polynomials and resampling fix geometry, not radiometry.
  3. A dropped scan line is repaired by averaging the lines above and below. For a pixel whose neighbours above and below have DNs 84 and 90, the replacement DN is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 87

    (84 + 90)/2 = 87. Adjacent lines are strongly correlated, so their average is a reasonable estimate; it is cosmetic, and the repaired line should not be used for precise measurement.
  4. The minimum number of ground control points needed to compute a second-order polynomial transformation for geometric correction is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 6

    A polynomial of order t in x and y has (t + 1)(t + 2)/2 terms: for t = 2, 3 × 4/2 = 6 (1, x, y, x², xy, y²). Each GCP gives one equation for each output coordinate, so 6 points are the minimum; first order needs 3 and third order 10.
  5. After fitting a transformation, four GCPs have residuals (Δx, Δy) of (0.4, 0.3), (0.0, 0.2), (0.6, 0.8) and (0.3, 0.0) pixels. The total RMS error, in pixels (to two decimal places), is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 0.59

    Squared point errors: 0.25, 0.04, 1.00, 0.09; sum 1.38. RMS = √(1.38/4) = √0.345 = 0.587 ≈ 0.59 pixel. The third point contributes most and would be the first to check for misidentification.
  6. In a raw scene from a polar-orbiting scanner, successive scan lines are progressively offset toward the west. The cause is

    1. the Earth rotating eastward beneath the sensor during imaging
    2. relief displacement of mountains
    3. atmospheric haze
    4. a miscalibrated detector
    Show answer

    Answer: A — the Earth rotating eastward beneath the sensor during imaging

    While the sensor moves along its orbit, the Earth turns eastward, so each later line images ground that has moved east; placed one under another, the lines appear skewed westward. It is systematic and removed by a model of Earth rotation. Relief displacement is radial, and haze and detectors affect brightness, not position.
  7. An output pixel centre maps to input position (x, y) = (0.25, 0.5) between four input pixels: DN 10 at (0, 0), 20 at (1, 0), 30 at (0, 1) and 40 at (1, 1). Its value by bilinear interpolation is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 22.5

    Along y = 0: 10 + 0.25 × 10 = 12.5; along y = 1: 30 + 0.25 × 10 = 32.5; between them at y = 0.5: 12.5 + 0.5 × 20 = 22.5. Interpolating in the other order gives the same result. Nearest neighbour would return one of the four originals.
  8. Which resampling method uses a 4 × 4 neighbourhood of 16 input pixels?

    1. Cubic convolution
    2. Bilinear interpolation
    3. Nearest neighbour
    4. Dark-object subtraction
    Show answer

    Answer: A — Cubic convolution

    Cubic convolution fits cubic weights over 16 pixels; bilinear uses the 4 nearest, nearest neighbour just 1. Dark-object subtraction is a radiometric correction, not a resampling method.
  9. Which of the following are properties of nearest-neighbour resampling?

    1. Output values are all original input DNs
    2. It is the fastest of the common methods
    3. It can displace features by up to about half a pixel, giving a blocky look
    4. It produces the smoothest-looking output
    Show answer

    Answer: A — Output values are all original input DNs; B — It is the fastest of the common methods; C — It can displace features by up to about half a pixel, giving a blocky look

    Nearest neighbour copies the closest input value, so no new DNs appear — which is why it is chosen before classification — and it needs no arithmetic. Copying the nearest value shifts features by up to half a pixel and gives stepped edges. Bilinear and cubic convolution are smoother.
  10. Which of the following statements about geometric correction and registration are correct?

    1. A first-order (affine) transformation can correct translation, rotation, scale and skew
    2. Image-to-image registration is needed before pixel-by-pixel change detection
    3. Relief displacement in hilly terrain requires a DEM (orthorectification) for full removal
    4. A higher-order polynomial always gives better accuracy away from the GCPs
    Show answer

    Answer: A — A first-order (affine) transformation can correct translation, rotation, scale and skew; B — Image-to-image registration is needed before pixel-by-pixel change detection; C — Relief displacement in hilly terrain requires a DEM (orthorectification) for full removal

    The six affine parameters cover shifts, rotation, two scales and skew; change detection compares the same ground pixel by pixel, so the images must coincide; and relief displacement depends on each point's height, which only a DEM supplies. Higher-order polynomials fit the GCPs more closely but can oscillate between and beyond them — a low residual is not proof of accuracy elsewhere.
  11. Which of the following reduce the brightness difference between a sunlit slope and a shaded slope of the same land cover?

    1. A cosine topographic correction using a DEM
    2. Taking a ratio of two bands
    3. Computing NDVI
    4. Nearest-neighbour resampling
    Show answer

    Answer: A — A cosine topographic correction using a DEM; B — Taking a ratio of two bands; C — Computing NDVI

    The cosine correction rescales each pixel by its local illumination angle; and because illumination multiplies all bands by about the same factor, a band ratio — and NDVI, which is built from a ratio of differences — largely cancels it. Resampling changes the grid, not the illumination.
  12. A band is calibrated as L = 0.5 × DN + 1 (radiance units). The radiance of a pixel with DN 100 is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 51

    L = 0.5 × 100 + 1 = 51. Applying the offset before the gain (0.5 × 101 = 50.5) mis-orders the linear calibration.
  13. The minimum number of ground control points needed to solve a first-order (affine) transformation is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 3

    Each coordinate has 3 coefficients (a₀ + a₁x + a₂y), and each GCP gives one equation per coordinate, so 3 points (more in practice for redundancy). Answering 6 counts all coefficients of both coordinates as if each point gave only one equation.
  14. Atmospheric path radiance (haze) removed by dark-object subtraction is usually largest in

    1. the near-infrared band
    2. the thermal band
    3. the blue band
    4. the short-wave infrared band
    Show answer

    Answer: C — the blue band

    Rayleigh scattering varies as λ⁻⁴, so the short blue wavelengths carry the most added haze. Water and shadows, the usual dark objects, are close to zero in NIR, where scattering is far weaker.
  15. A first-order transformation is x′ = 2 + 0.5x + 0.1y. For the input point (x, y) = (10, 20), x′ is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 9

    x′ = 2 + 5 + 2 = 9. Swapping x and y (2 + 10 + 1 = 13) applies the coefficients to the wrong coordinates. Substituting the answer back into the relation confirms it.
  16. Bilinear interpolation computes each output DN from how many surrounding input pixels? ____

    Numerical answer — type the value.

    Show answer

    Answer: 4

    Bilinear uses the 2 × 2 neighbourhood (4 pixels); nearest neighbour uses 1 and cubic convolution 16. It smooths the image slightly and creates DNs not present in the input.
  17. A band is calibrated as L = 0.8 × DN − 2. A pixel has radiance 70. Its DN is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 90

    DN = (L − offset)/gain = (70 + 2)/0.8 = 90. Using (70 − 2)/0.8 = 85 subtracts the negative offset instead of adding it back.
  18. An output pixel lies one quarter of the way from an input pixel of DN 10 to its neighbour of DN 30 along a row (1-D linear interpolation). Its interpolated DN is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 15

    DN = 10 + 0.25 × (30 − 10) = 15. Weighting the far pixel by 0.75 (giving 25) reverses the weights; the nearer pixel gets the larger weight.
  19. To remove striping, a detector's output (mean 52, standard deviation 10) is linearly matched to the scene statistics (mean 50, standard deviation 8). A DN of 62 from this detector becomes ____.

    Numerical answer — type the value.

    Show answer

    Answer: 58

    DN′ = (DN − 52) × (8/10) + 50 = 10 × 0.8 + 50 = 58. Shifting the mean only (62 − 2 = 60) ignores the gain difference between detectors.
  20. A 3000 × 3000 scene with 10 m pixels is resampled to 30 m pixels over the same area. The number of output pixels is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 1000000

    Each side shrinks to 3000/3 = 1000 pixels, giving 1 000 000 pixels, a ninefold reduction. Dividing the total by 3 (3 × 10⁶) forgets both directions.
  21. The Earth's equatorial surface speed is 2πR/T with R = 6378 km and T = 86 164 s (one sidereal day). During a 25 s image acquisition over the equator, the ground shifts eastward by, in km (two decimals), ____.

    Numerical answer — type the value.

    Show answer

    Answer: 11.63

    v = 2π × 6378/86 164 = 465.1 m/s, so the shift is 465.1 × 25 = 11.63 km: this is the skew that geometric correction removes by offsetting successive scan lines westward. Using 86 400 s (a solar day) gives a slightly smaller value.