regarding downloading of file exchange contribution
조회 수: 1 (최근 30일)
이전 댓글 표시
I have just downloaded "imoverlay" function..and i have MATLAB 7.9 but plz tell me why it's not working.It's reporting following error
OriIma=imread('coffee.jpg');
GrayOri=rgb2gray(OriIma);figure,imshow(GrayOri);color=[0 0 0];MaskGrayOri=imoverlay(GrayOri,Bgmclose3,color);figure,imshow(MaskGrayOri);
??? Undefined function or method 'imoverlay' for input arguments of type 'uint8'.
답변 (1개)
Image Analyst
2012년 4월 21일
You would get the very same error if you don't have imoverlay on your path, and so MATLAB can't even find it. I get that and I didn't even download it. Try this:
which -all imoverlay
and see where it tells you that it lives. If it says "'imoverlay' not found." then you don't have it in your current folder or anywhere on your path. So find out where it lives, then do this:
addpath(folderOfimoverlay);
savepath;
I'm pretty sure that's the cause of your problem. The actions I've given you should let it run without that error message.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Biomedical Imaging에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!