Effacer les filtres
Effacer les filtres

error using edge detection function

4 vues (au cours des 30 derniers jours)
anas qazaz
anas qazaz le 19 Oct 2015
Commenté : anas qazaz le 24 Oct 2015
hi, all i have error in edgedet function my code is shown in the attaching picture please help with regards.
  1 commentaire
anas qazaz
anas qazaz le 24 Oct 2015
Dear, Walter my picture is gray scale not true color also i try pictures gray scale in format of tiff, jpg, but the same error appear how i can use the bulit in edgedet function for gray scale images .tiff, .jpeg, .jpg regards

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 20 Oct 2015
JPEG images are always TrueColor, and so are always 3 dimensional. You are trying to apply edge() to a 3 dimensional array, but it is restricted to 2 dimensional arrays.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by