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!