dn 2 reflectance imagery
3 views (last 30 days)
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.