Is the .tiff structure in Matlab 2020a and Matlab 2020b/2021 different?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Emma
am 5 Apr. 2022
Verschoben: Dyuman Joshi
am 16 Jan. 2024
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 Kommentare
Akzeptierte Antwort
Bruno Luong
am 5 Apr. 2022
Verschoben: Dyuman Joshi
am 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 Kommentare
Bruno Luong
am 6 Apr. 2022
Verschoben: Dyuman Joshi
am 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.
Weitere Antworten (1)
Siraj
am 16 Jan. 2024
Bearbeitet: Siraj
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Image Data finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!