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!