Updated 30 Jan 2021
I have used band 5 of LANDSAT images as an example for converting the DN values to radiance. Further, the radiance image is converted to reflectance. The sections are defined as follows;
Step 1: DN to radiance (L) using Gain and Bias method
Step 2: DN to radiance (Lsrc) using Spectral radiance scaling method
Step 3: Radiance (L) to Reflectance (rho)
Just change the image apply the code. Good Luck!
ABHILASH SINGH (2021). Atmospheric correction of LANDSAT 7 images in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/86628-atmospheric-correction-of-landsat-7-images-in-matlab), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!