Azzera filtri
Azzera filtri

how to solve this error

1 visualizzazione (ultimi 30 giorni)
Aarsha mv
Aarsha mv il 28 Apr 2017
Risposto: Guillaume il 28 Apr 2017
Error using imageDisplayValidateParams Expected input number 1, I, to be one of these types: numeric, logical Instead its type was SURFPoints. Error in imageDisplayValidateParams (line 12) validateattributes(common_args.CData, {'numeric','logical'},... Error in imageDisplayParseInputs (line 79) common_args = imageDisplayValidateParams(common_args); Error in imshow (line 220) [common_args,specific_args] = ... Error in Untitled (line 24) imshow( I);

Risposta accettata

Guillaume
Guillaume il 28 Apr 2017
As the error message states, your input to imshow is of class SURFPoints. imshow expects an image (i.e. a numeric or logical array), it has no idea how to display SURFPoints as an image.
Neither have I. Pass a proper image to imshow.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by