Error while reading and displaying an image in R2020a
3 次查看(过去 30 天)
显示 更早的评论
Error using imread>get_full_filename (line 567)
File "rice.tif" does not exist
can say the solution for this
Note - i have installed image processing toolbox also
0 个评论
回答(1 个)
Star Strider
2020-6-7
The extension is wrong.
Try this:
I = imread('rice.png');
figure
imshow(I)
That worked for me (R2020a).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!