필터 지우기
필터 지우기

Error using imread (line 350) File "F:.png" does not exist.

조회 수: 2 (최근 30일)
jeffin
jeffin 2014년 6월 23일
답변: SRI 2014년 6월 23일
I was trying to run these code.
fn = 'F:\003.png'
img = imread(sprintf(fn,0))
[M N C] = size(img);
Initially it worked without error.Next time while i tried i am getting an error message saying
Error using imread (line 350) File "F:.png" does not exist.
Error in LKTrackShow (line 10) img = imread(sprintf(fn,0))
somebody Pls help me. Thanks in advance.

답변 (1개)

SRI
SRI 2014년 6월 23일
Hi Jeffin your input image data 003.png in the current F folder might be not there so you are facing that file does not exist in the current folder
if it there means better you try this way
inputImage = imread('003.png');
[row,col] = size(inputImage);

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by