Borrar filtros
Borrar filtros

regarding downloading of file exchange contribution

1 visualización (últimos 30 días)
supriya
supriya el 21 de Abr. de 2012
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'.

Respuestas (1)

Image Analyst
Image Analyst el 21 de Abr. de 2012
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.

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by