Clear Filters
Clear Filters

Why there is error in reading a tiff image?

2 views (last 30 days)
Neetha Francis
Neetha Francis on 19 May 2021
Answered: Jan on 19 May 2021
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
KSSV
KSSV on 19 May 2021
What error it shows? You should specify the error as well.

Sign in to comment.

Answers (1)

Jan
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.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!