regarding downloading of file exchange contribution

1 回表示 (過去 30 日間)
supriya
supriya 2012 年 4 月 21 日
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 件のコメント
TAB
TAB 2012 年 4 月 21 日
It is better to contact the author.

サインインしてコメントする。

回答 (1 件)

Image Analyst
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.

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by