Error line (350) imread pls help me solve it !!

1 Ansicht (letzte 30 Tage)
aldif
aldif am 24 Jul. 2014
Bearbeitet: Ben11 am 25 Jul. 2014
my code like this:
addpath(genpath('C:\Users\alfit\Documents\MATLAB'))
img_name='C888tif'
I=imread('C888tif');
it come out this error :
*Error using imread (line 350) File "C888tif" does not exist.
Error in main_2DL (line 12) I=imread('C888tif');*

Antworten (1)

Ben11
Ben11 am 24 Jul. 2014
Bearbeitet: Ben11 am 25 Jul. 2014
My guess would be to explicitly add the tiff extension in the image name, which I modified:
Eg:
I=imread('C888.tif');
since Matlab needs to know what type of data you are trying to open.

Community Treasure Hunt

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

Start Hunting!

Translated by