Why there is error in reading a tiff image?
7 views (last 30 days)
Show older comments
I tried to read a tiff image. But showing an error. My code works for other image formats. What may be the reason?
1 Comment
Answers (1)
Jan
on 19 May 2021
Possible reasons:
- You do not provide a CHAR or string as file name
- The specified file does not exist in the current folder
- You have provided the wrong path
- The path is on a network drive, which is not connected
- Matlab was started with user privilegs, which do not have read permissions for the file or folder
- The file is not a TIFF file
- The format of the file is damaged
- The hard disk is damaged
- The function to import the file is damaged
- The imported image needs more RAM than is available
To distinguish the reasons, the error message tells some details. So read the message. Posting the message in the forum would be useful also.
0 Comments
See Also
Categories
Find more on Image Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!