MATLAB Answers

dn2reflectance issues (need to radiometrically correct imagery)

1 view (last 30 days)
Rachel Smaby
Rachel Smaby on 16 Dec 2020
Edited: Subhadeep Koley on 28 Dec 2020
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.

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!