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 using imread, add the path to the folder storing the images via addpath('c:/users/username/Desktop/Image/')