Lesson 2 of 3 · Atmospheric adjacency, neighborhood assumptions and error sensitivity
Separate neighboring light from ground contrast
13 minute lesson · 3 checks along the way
Your goal for this lessonCorrect an original adjacency model and explain how its background, parameter and noise affect the answer.
In this lesson 4 sections · 3 checks
Read & understand
A ground patch does not contribute all the arriving light
Light assigned to one ground patch can include sunlight scattered through the atmosphere, light reflected from that patch and light reflected nearby before scattering into the viewing direction. The last contribution is atmospheric adjacency. It is a light-transport effect, distinct from putting an image at the wrong geographic coordinates. A bright neighborhood can influence a darker target even when the image is correctly aligned. A correction therefore needs a description of the surroundings as well as the target sample.
Sections 4.5–4.6 of the 2021 Sen2Cor Level-2A algorithm document motivate a neighborhood correction. Write its simplified form as ρ=y+q(y−m). Here y is an initial reflectance estimate, m is a neighborhood mean of those estimates, q is a diffuse-to-direct ground-to-sensor transmittance ratio, and ρ is the corrected estimate. The sign matters: a target below the neighborhood mean receives a negative adjustment. The following two-cell construction isolates this relationship; it is not a full atmospheric processor.
Read & understand
Follow a dark and bright pair
Invent two equal-area cells with surface reflectances 0.10 and 0.50. Both share their mean, 0.30. Stipulate diffuse transmittance 0.20 and direct transmittance 0.80, giving q=0.25. Define a toy forward rule yᵢ=(ρᵢ+q×mean(ρ))/(1+q). It gives initial estimates 0.14 and 0.46. Their mean is still 0.30, but their contrast is only 0.32, compared with the original 0.40. The mixing has drawn the dark and bright estimates toward one another without changing this symmetric neighborhood’s mean.
Apply the correction to the first cell: 0.14+0.25(0.14−0.30)=0.10. For the second it gives 0.46+0.25(0.46−0.30)=0.50. The known parameter and shared mean recover this constructed scene exactly. A uniform pair would need no contrast adjustment because y=m in both cells. These results depend on the deliberately symmetric forward model. They do not demonstrate that real atmospheric correction restores every field edge or that every neighborhood is equally weighted.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
A crop can remove needed evidence
Keep y=0.14 and q=0.25 for the darker cell, but mistakenly use a background mean of 0.40. The result becomes 0.14+0.25(0.14−0.40)=0.075, an error of −0.025. More generally, with y and q held fixed, a background error Δm changes the corrected value by −qΔm. Choosing the background is therefore part of the measurement argument. An incorrect neighborhood can push the estimate farther from the true value while still producing a visually sharper boundary.
Cropping to the dark cell alone creates a different mistake: its estimated neighborhood mean becomes 0.14, so the correction becomes zero and the result stays 0.14. The missing surroundings have not stopped contributing light to the original observation. The dated algorithm discussion identifies neighborhood range and aerosol-height assumptions as limitations. Retain suitable surrounding context when applying such a model, and document edge treatment. This lesson’s two cells are ideal boxes; terrain, nonuniform atmospheric conditions and real spatial response require more information.
Correct a neighborhood contrast
Original symmetric two-cell model, not a full Sen2Cor processor. Both cells share an equally weighted neighborhood and constant q. With y fixed, using the wrong mean 0.40 changes the dark answer to 0.075. Error propagation depends on whether the mean changes with the observations.
Open full-size diagram in a new tab: Correct a neighborhood contrastCheck 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Separate uncertainty in the contrast from uncertainty in the mean
Add opposing errors +0.01 and −0.01 to the initial pair. Their mean stays 0.30, but the corrected pair becomes 0.1125 and 0.4875: each error grows by 1+q=1.25. Instead add +0.01 to both initial estimates and recompute the mean as 0.31. The corrected pair is 0.11 and 0.51; the common error passes through unchanged. “The correction amplifies noise” is incomplete unless the error pattern and treatment of the background are specified.
The parameter matters too. The same initial pair 0.14,0.46 yields 0.06,0.54 if q=0.50. Applying the corresponding toy forward rule to that second surface reproduces the original observations. The observations alone therefore do not identify both the surface contrast and an unknown q. Independent atmospheric information or justified constraints are needed. Inspect those assumptions before interpreting a corrected boundary as a real landscape change. Next, even a correctly decoded and corrected image must be matched to the spectral and spatial information in the comparison image.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.