Skip to content

Instantly share code, notes, and snippets.

@SharpCoder
Created April 28, 2021 15:29
Show Gist options
  • Select an option

  • Save SharpCoder/b1da13adccf28d6e81d6d55202fd7615 to your computer and use it in GitHub Desktop.

Select an option

Save SharpCoder/b1da13adccf28d6e81d6d55202fd7615 to your computer and use it in GitHub Desktop.
IARR Atmospheric Correction Algorithm

Algorithm

There is surprisingly very little information about what the actual IARR algorithm is. IARR stands for Internal Average Relative Reflectance and the idea is that you extract the spectral information from the raw data by measuring the mean spectrum of the whole image. Every pixel vector is normalised by this global spectral mean to produce a 'relative reflectance' image. The psuedo-code for this algorithm is as follows:

for each band
   compute mean
for each pixel in a particular bad
   divide by the computed mean for this band

That's it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment