Lesson 2 of 3 · Finite-reference thresholds
Account for an estimated background
24 minute lesson · 3 checks along the way
Your goal for this lessonDerive a cell-average threshold that accounts for finite independent reference samples and identify conditions that break its nominal false-alarm rate.
In this lesson 4 sections · 3 checks
Read & understand
Estimate the background without including the test cell
The previous threshold assumed the background mean was known. Usually it must be estimated. Let X be the test-cell intensity and Y1,…,YN be N reference intensities. Assume all N+1 values are independent exponential variables with the same unknown mean µ. The reference mean is M=(Y1+…+YN)/N. Cell-average constant-false-alarm-rate detection, abbreviated CA-CFAR, compares X with αM for a dimensionless factor α.
The reference area should represent the background surrounding the cell under test. Guard cells create a gap between the test cell and the reference area, helping exclude energy from the feature being investigated. They do not prove independence or homogeneity. Correlated pixels, land–water boundaries or other bright features can violate the model even when a guard ring is present. The COSMO-SkyMed ICOSSOP study explicitly separates its test, guard and background regions.
Read & understand
Average the probability over the uncertain reference
For a fixed observed reference mean M=m, the exponential test cell has probability exp(−αm/µ) of crossing the threshold. Across repeated reference windows, M itself varies. The nominal false-alarm rate must therefore average that conditional probability: p=E[exp(−αM/µ)]. Independence lets this expectation factor into N identical terms, one for each reference sample.
For one reference, integrate exp[−αy/(Nµ)] against exp(−y/µ)/µ from zero to infinity. The result is 1/(1+α/N). Multiplying the N factors gives p=(1+α/N)^(−N), hence α=N[p^(−1/N)−1]. This calculation accounts for the uncertainty in estimating the mean. Substituting the known-mean factor −ln p directly into α does not do so.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Compare two decisions with the same requested rate
With N=4 and p=0.01, α≈8.64911. For the original reference values 2,3,4,7, M=4 and the threshold is approximately 34.5964. A test intensity X=25 now falls below threshold. The known-mean example flagged 25 because it assumed µ=4 was exact; four measurements whose average happens to be 4 do not provide that same certainty.
Using α=−ln(0.01)≈4.60517 with only four references would produce p≈0.04669 under the stated repeated-window model, rather than 0.01. With sixteen independent references, the correctly calibrated factor drops to about 5.33634. As N grows without bound it approaches −ln p. Adding more adjacent pixels does not establish this improvement if those pixels are correlated or represent different backgrounds.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Check invariance and a failed reference construction
Multiply every test and reference intensity by a positive constant g. Both X and αM scale by g, so the comparison is unchanged. This is the scale invariance behind the constant-rate result for the assumed exponential family. It does not protect against a changed distribution, a different test-cell background, contamination or correlation. The nominal rate also averages over random reference windows; it is not necessarily the conditional crossing probability for one already observed window.
A construction error makes this distinction vivid. Suppose the test cell is included among the four nonnegative values used to form M. Then M≥X/4, so X/M≤4 whenever M>0. With α≈8.64911, X can never exceed αM. If every value is zero, the strict comparison still fails. A seemingly quiet detector could therefore be broken by its reference definition. Keep the test cell separate, document excluded regions and validate the statistical assumptions on appropriate background data.
Finite reference uncertainty changes the threshold
Original finite-reference comparison, assuming independent test and reference cells drawn from a common exponential background. The difference is knowledge of the mean, not a new spacecraft specification. A guard region does not by itself establish the statistical assumptions.
Open full-size diagram in a new tab: Finite reference uncertainty changes the thresholdCheck 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.
- Read: Rohling: radar CFAR thresholding (1983)Exponential reference model and cell-average versus ordered-statistic thresholds. The finite-N calculation is worked explicitly with original examples.
- Read: MathWorks: CFAR detectorsPrimary implementation documentation explains square-law detection, training and guard cells. The separate introductory Gaussian variance/dB example is not used.
- Read: Bacci and colleagues: ICOSSOP (2013)Section 2 supplies the research context for a sliding test cell, guard region and background estimate.