Unable to determine the file format
22 views (last 30 days)
Show older comments
Stelios Fanourakis
on 26 Jun 2018
Commented: Stelios Fanourakis
on 26 Jun 2018
I use both imread and imtool to read my image wich is like this
imread('name.bmp')
OR
imtool('name.bmp')
and I get the error of "Unable to Determine the file format".
Why is that?
Accepted Answer
Jan
on 26 Jun 2018
imread('name.bmp')
>> error of "Unable to Determine the file format"
(Please post a copy of the complete error message in every case.)
Most likely the BMP-file is damaged. Are you able to open the file with another software?
A = dicomread('name.dcm')
>> error "The parameter name.dcm is not recognized by imageDisplayParsePVPairs."
Mysterious. I guess, that you have redefined a built-in function and the toolbox functions are confused. Try to remove all user-defined folders from the path, e.g. by:
restoredefaultpath
Then try to call imread and dicomread again.
2 Comments
More Answers (0)
See Also
Categories
Find more on Explore and Edit Images with Image Viewer App 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!