what does this error mean?

??? Undefined function or method 'adpmedian' for input arguments of type 'uint8'.
i tried to implement adaptive median filter to a unit8 grayscale image and faced the above error.

回答 (2 件)

Aurelien Queffurust
Aurelien Queffurust 2012 年 1 月 20 日

2 投票

Just type :
which -all adpmedian
I guess this function is not on your path. You will get the same error by typing:
aurelien(int8(4))
??? Undefined function or method 'aurelien' for input arguments of type 'int8'.

3 件のコメント

mmm ssss
mmm ssss 2012 年 1 月 20 日
which -all adpmedian
the result was :'adpmedian' not found.
means that 'adpmedian' not found, how can i add it , is it possible?
Aurelien Queffurust
Aurelien Queffurust 2012 年 1 月 20 日
If you are sure that this function exists , localize it and use addpath command to add this function to your MATLAB path.
mmm ssss
mmm ssss 2012 年 1 月 20 日
what do you mean by localize it ?
can you write what must i write to add it as a code line?

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

Walter Roberson
Walter Roberson 2012 年 1 月 20 日

0 投票

MATLAB does not have any function named adpmedian
I do not see any routines with a similar name.

3 件のコメント

mmm ssss
mmm ssss 2012 年 1 月 20 日
no , it is found.
i found it at 'Digital image processing using Matlab -Gonzalez and Woods book'at page 165.
Sean de Wolski
Sean de Wolski 2012 年 1 月 20 日
That doesn't mean it's already programmed into MATLAB. You'll have to download it/rewrite it to somewhere on your MATLAB path.
Walter Roberson
Walter Roberson 2012 年 1 月 20 日
http://www.hackchina.com/en/r/84870/adpmedian.m__html

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

カテゴリ

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

質問済み:

2012 年 1 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by