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

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');*

답변 (1개)

Ben11
Ben11 2014년 7월 24일
편집: Ben11 2014년 7월 25일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2014년 7월 24일

편집:

2014년 7월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by