Is the .tiff structure in Matlab 2020a and Matlab 2020b/2021 different?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Bruno Luong
2022-4-5
移动:Dyuman Joshi
2024-1-16
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 个评论
Bruno Luong
2022-4-6
移动:Dyuman Joshi
2024-1-16
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.
更多回答(1 个)
Siraj
2024-1-16
编辑:Siraj
2024-1-16
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!