Filter löschen
Filter löschen

Error with validate attribute

3 Ansichten (letzte 30 Tage)
MARIA MALAKOPOULOU
MARIA MALAKOPOULOU am 13 Jan. 2021
Kommentiert: Steven Lord am 14 Jan. 2021
Hello guys , do you know what's the problem about this error?
Any solutions?
Thanks in advance !

Akzeptierte Antwort

Steven Lord
Steven Lord am 13 Jan. 2021
Nowhere in your message did you show the error you received. Please show all the text displayed in the Command Window in red and/or orange when you execute that line of code.
My guess is that you called this function with a 3-dimensional or 4-dimensional A array like an RGB image.
  2 Kommentare
MARIA MALAKOPOULOU
MARIA MALAKOPOULOU am 13 Jan. 2021
Steven Lord
Steven Lord am 14 Jan. 2021
The documentation for the medfilt2 function does state that its first input must be a "2-D grayscale image | 2-D binary image". Yours is not 2-D.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Denoising and Compression finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by