satellite images exporting problem

when i processing the satellite images in matlab (calculate Toa reflectance) the pixel value result is correct but when i export the images in tiff format, images coordinate system and georeference are loss and pixel values are change. Help please

8 Comments

How are you doing the exporting?
imwrite(TOA7,'I:/matlab test','.tif');
What is the class of TOA7? uint8? double?
B7=imread('I:\PATH = 140 ROW = 44\LC81400442016100LGN00_B7.TIF');
TOA7=double((double(B7)*0.00002)-0.1);
imwrite(TOA7,'I:/matlab test','.tif');
If you want to save as double, then use save() to save into a .mat file, or else maybe try the TIFF class. I don't think imwrite likes double images.
when i save the images after calculation TOA7(pixel values range -0.1 to 1.56) the pixel values of TOA7 are change and the coordinate system and georeference are loss.The pixel range change into 0 to 245.
Hi....How to export satellite images processed in matlab without losing geolocation information?..

Sign in to comment.

Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Tags

Asked:

on 11 Nov 2017

Commented:

on 11 Dec 2021

Community Treasure Hunt

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

Start Hunting!