How to access tiff files

1 vue (au cours des 30 derniers jours)
Daphne PARLIARI
Daphne PARLIARI le 30 Oct 2019
Hello MatLab world.
I have several .tiif files in my hands that I need to access, read and extract certain data from. As it is the first time that I'm handlind .tiff, I need your lights.
I have 102 folders (daily data from 01/07/2019 to 10/10/2019: 102 days=102 folders) . Each folder contains a zipped file with 73 .tiff files. These .tiff files contain hourly temperature data.
First thing I must extract only the first 24 of the 73 as they represent the 24 hourly values of the first day. Second thing, I must access the data these 24 .tiff contain and locate the temperature values I need.
I am copying the few lines of code I have written and please enlighten me:
cd 'C:\Projects\LIFE ASTI\C.3\THESSTemperature'
t = Tiff('THESSTemperature_20190701T0000Z.tiff','r');
filename = 'THESSTemperature_20190701T0000Z.tiff';
imageData = read(t);
imshow(imageData);
info = imfinfo(filename)
Thank you in advance!

Réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by