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 Commenti

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?..

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Read, Write, and Modify Image in Centro assistenza e File Exchange

Tag

Richiesto:

il 11 Nov 2017

Commentato:

il 11 Dic 2021

Community Treasure Hunt

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

Start Hunting!

Translated by