I would like to process a dominant wavelength calculation of Sentinel 2 imagery in matlab. How can I read the Sentinel 2 Imgaery corretly? I tried to use imread function. But the obtanied data of each cell doesnt correspond to the DN value that I opened the sentinel2 in ENVI? Is there any solution to solve this problem ?
Thank you guys.