error using edge detection function
显示 更早的评论
hi, all i have error in edgedet function my code is shown in the attaching picture please help with regards.

回答(1 个)
Walter Roberson
2015-10-20
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Object Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!