Hi
I have been having problems with using the imshow function, and other functions related to the image processing toolbox. I've been getting messages like these when I try to use them:
??? Undefined function or variable 'implay'.
??? Undefined function or variable 'imtool'.
or
??? Undefined function or method 'imshow' for input arguments of type 'uint8'.
I'm pretty sure I have the image toolbox installed because when i check the version this shows up in the list:
Image Processing Toolbox Version 7.2 (R2011a)
So if anyone could provide any help I would really appreciate it as this is kind of an urgent matter.
Thanks.

 採用された回答

Wayne King
Wayne King 2011 年 12 月 14 日

2 投票

Hi Brandon, Can you use any of the functions in Image? If not, are you working in a networked configuration where you have to checkout licenses?
What does:
license('test','image_toolbox')
return?
If that returns a 1, then perhaps try
addpath(genpath([matlabroot '\toolbox\images\']))
savepath
If you are in a networked configuration, check with your local MATLAB administrator. If you have a standalone installation and the above suggestion does not work, do contact MathWorks, they will help you.

4 件のコメント

Brandon Slattery
Brandon Slattery 2011 年 12 月 14 日
When I try that it returns 0, so I'm guessing this is because I have to borrow a license from my university. I believe I have found a work around by using the basic Matlab functions, because I'm just trying to get this project done involving warps and morphs. I kind of procrastinated a bit so I won't really have the opportunity to talk to my administrator. Thank you for helping me understand why I am having this problem. I must say though that it is kind of silly the way the license system works for addons.
Dipjyoti Narzari
Dipjyoti Narzari 2021 年 8 月 23 日
It though gave 1 as the ans in my part ... And also I did the next two steps. . But what should I do now ???
Aboozar S
Aboozar S 2024 年 9 月 27 日
編集済み: Aboozar S 2024 年 9 月 27 日
for me it gave 1 for license and after adding and saving the path it still gives me the same error, what should I do?
I'm on linux and have R2024a, my problem was with imguassfilt function
the error is: undefined function 'imguassfilt' for input arguments of type 'string'\'double'
the code line is: A=imguassfilt(B,5,FilterDomain='spatial')
B is a 200x180 double
DGM
DGM 2024 年 9 月 28 日
I'm not the one to ask to troubleshoot messed up installations, but if the rest of IPT works, this is equivalent:
% given this parameter
sigma = 5;
% this is the same
A = imgaussfilt(inpict,sigma);
% as this
fk = fspecial('gaussian',2*ceil(2*sigma)+1,sigma);
B = imfilter(inpict,fk,'replicate');
... but if the rest of IPT is somehow not on the path, that won't help either.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2011 年 12 月 14 日

コメント済み:

DGM
2024 年 9 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by