Clear Filters
Clear Filters

what does this error mean?

3 views (last 30 days)
mmm ssss
mmm ssss on 20 Jan 2012
??? 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.

Answers (2)

Aurelien Queffurust
Aurelien Queffurust on 20 Jan 2012
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 Comments
Aurelien Queffurust
Aurelien Queffurust on 20 Jan 2012
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 on 20 Jan 2012
what do you mean by localize it ?
can you write what must i write to add it as a code line?

Sign in to comment.


Walter Roberson
Walter Roberson on 20 Jan 2012
MATLAB does not have any function named adpmedian
I do not see any routines with a similar name.
  3 Comments
Sean de Wolski
Sean de Wolski on 20 Jan 2012
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 on 20 Jan 2012
http://www.hackchina.com/en/r/84870/adpmedian.m__html

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!