Is the .tiff structure in Matlab 2020a and Matlab 2020b/2021 different?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear all,
I have got the following problem: I wrote a Matlab-Scritp that saves my processed image as a tiff file.
Afterwards I want to load it into a different sofware.
If I run my script with Matlab 2020a, everything works fine. Using any older Matlab version, the other software is not able to read it anymore.
Do you know whether there is anything changed during the version in the way the tiff file is saved?
How can I save my tiff file using the newest Matlab version getting the "older tiff-format"?
Thank you for your help!
0 commentaires
Réponse acceptée
Bruno Luong
le 5 Avr 2022
Déplacé(e) : Dyuman Joshi
le 16 Jan 2024
MATLAB has several ways to write tiff file, imwrite, print, Tiff class, etc... Which function are upu using and what type the data image?
6 commentaires
Bruno Luong
le 6 Avr 2022
Déplacé(e) : Dyuman Joshi
le 16 Jan 2024
It seems imwrite Matlab 2021b use an update tiff library that your other SW cannot deal with.
I'm afraid you are stuck with the older MATLAB version, unless some authority person in TMW know a work around.
Plus de réponses (1)
Siraj
le 16 Jan 2024
Modifié(e) : Siraj
le 16 Jan 2024
Hi!
I understand that you've been using a MATLAB script with version R2020a to process images and save them as TIFF files, and this works well when you import the images into another program. However, it seems that you're encountering issues when you use newer versions of MATLAB, like R2020b or R2021a; the other software can't read the images.
It appears that the issue you're experiencing may be related to the version of LibTIFF that MATLAB is using. In MATLAB R2020a, the supported LibTIFF version is 4.0.10, while in MATLAB R2020b and R2021a, the version has been updated to 4.1.0. You can confirm this information through the following MATLAB documentation links:
MATLAB typically binds to a specific version of LibTIFF for each release and doesn't offer the flexibility to change it. A practical approach would be to identify the versions of LibTIFF that are supported by the other software you're using and match it with the corresponding MATLAB version.
If the information provided doesn't quite solve your issue, or if there's something I've misunderstood, you could reach out to MathWorks using the following link.
Hope this helps.
0 commentaires
Voir également
Catégories
En savoir plus sur Image Data dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!