How can i calculate the sum of intensity of the edges in MATLAB using automatic threshold sobel edge detector?
1 回表示 (過去 30 日間)
古いコメントを表示
I am doing edge detection using Sobel edge detector and i need to find the sum of pixel intensity of the sobel edge?
0 件のコメント
採用された回答
Image Analyst
2016 年 4 月 1 日
Try this:
theSum = sum(yourSobelEdgeImage(:))
2 件のコメント
Image Analyst
2016 年 4 月 1 日
No, not if you used imgradient() to get the actual Sobel edge image instead of edge() which gets the edge image but thresholds and skeletonizes it and returns the skeleton image instead of the actual edge image like imgradient() does.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!