How can i calculate the sum of intensity of the edges in MATLAB using automatic threshold sobel edge detector?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
AMMAR KAMOONA
il 31 Mar 2016
Commentato: Image Analyst
il 1 Apr 2016
I am doing edge detection using Sobel edge detector and i need to find the sum of pixel intensity of the sobel edge?
0 Commenti
Risposta accettata
Image Analyst
il 1 Apr 2016
Try this:
theSum = sum(yourSobelEdgeImage(:))
2 Commenti
Image Analyst
il 1 Apr 2016
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.
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!