Modis Image Processing
I have a modis tiff image 2000 by 4059, with int16
values. I want to multiply an image by a scaling factor of 0.0001 to get the reflectance in Matlab.
+3
user2007408
source
to share
1 answer
As @zplesivcak said:
img = imread( 'myModisImg.tiff' ); %// img should be 2000x4059 array of type uint16
img = im2double( img ); %// now img is of type double in the range [0..1]
rimg = img * 0.0001; %// multiply each pixel by 0.0001
0
Shai
source
to share