error using edge detection function
Show older comments
hi, all i have error in edgedet function my code is shown in the attaching picture please help with regards.

1 Comment
anas qazaz
on 24 Oct 2015
Answers (1)
Walter Roberson
on 20 Oct 2015
0 votes
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.
Categories
Find more on Object Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!