dn 2 reflectance imagery

2 views (last 30 days)
N/A on 16 Dec 2020
Edited: Rik on 11 Nov 2021
Is there any way to convert multispectral images from DN values to reflectance values? I've found the dn2reflectance, but am not sure that would work with multispectral data rather than hyperspectral data.
  1 Comment
Rik on 17 Sep 2021
Regarding your flag: once you receive an answer it is no longer possible to delete your question. If you feel it is unclear, feel free to clarify it by editing it, or my posting a comment on the question or the answer.
Just in case you decide to edit away the question I have made a capture of this page, so it can easily be restored.

Sign in to comment.

Answers (1)

Subhadeep Koley
Subhadeep Koley on 28 Dec 2020
Edited: Subhadeep Koley on 28 Dec 2020
dn2reflectance(__) would work fine as long as the metadata of you multispectral image contains the reflectance gain values. Below is an example script.
% Read the image
DNimg = hypercube('yourFileName.hdr');
% Convert from Digial Number to reflectance
reflectanceImg = dn2reflectance(DNimg);
All the above mentioned fetures come under Image Processing Toolbox's Hyperspectral Imaging Library support package, and can be downloaded from here.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!