Error while reading and displaying an image in R2020a

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Star Strider
Star Strider il 7 Giu 2020
The extension is wrong.
Try this:
I = imread('rice.png');
figure
imshow(I)
That worked for me (R2020a).

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by