How can I read the headers in complicated tiff files?
54 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Melina Zempila
il 1 Ott 2018
Commentato: Kojiro Saito
il 3 Ott 2018
Hello dear all.
I have some tiff files that contain the information that I'm looking for within their header lines.
I used imfinfo and a custom function (tiff_read_header) but still I can't get to import into matlab what I see when opening the tiff with notepad++ (please see the attached file).
I could rename the tiff files to dat and then by using importdata I can manipulate them, but still that's not a neat solution...
Any ideas?
Thank you in advance,
Melina.
0 Commenti
Risposta accettata
Kojiro Saito
il 2 Ott 2018
How about using LibTIFF library?
t = Tiff('FILENAME.tif','r');
tagValue = t.getTag('SOME_TAG_ID');
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!