Algorithm 2: Description of the relative calibration of the LJ1-01 nighttime sensor |
Input: dark current calibration results , i = 1, 2, 3, … N Input: dark current correction reference |
Input: daytime low-gain calibration data , j = 1, 2, 3, … M Input: model relationship between low- and high-gain DNs of LJ1-01 in HDR mode, , |
Output: relative calibration coefficients and for low-gain images and relative correction model for high-gain images |
for each j = 1 to M do for each i = 1 to N do |
Correct the dark current: |
end for |
end for |
Compute the average values of all detectors for the uniform daytime calibration data (j = 1): |
for each i = 1 to N do |
Compute the response difference coefficient : |
end for |
Compute the average value of the interest zone (9 × 9) of each frame: Compute the reference detector relative calibration coefficients: and |
for each i = 1 to N do |
Compute the relative calibration coefficients of the other detectors for low-gain images: |
end for |
Based on the , , and the correction model of the low-gain images: |
|
When the polynomial is of order n = 2, the relative correction model for high-gain images is: |
return , , and . |