MATLAB: What’s the procedures I have to follow to overcome this problem
image processing
Hi Sir, What's the procedures I have to follow to overcome this problem? I want to see the images.
Best Answer
As the error message is suggesting, the image file does not exist - meaning it cannot find it in your current working directory and paths. Here are 3 ways to fix this:
- Use the FULL file name, including the file path. Ex:imread('c:/Users/username/Desktop/Image/flowers.tif')
- Change your matlab working directory to the folder where the images are
- Before usingimread, add the path to the folder storing the images viaaddpath('c:/users/username/Desktop/Image/')
Best Answer