MATLAB: How can i calculate the sum of intensity of the edges in MATLAB using automatic threshold sobel edge detector

image processingImage Processing Toolboxoptimization

I am doing edge detection using Sobel edge detector and i need to find the sum of pixel intensity of the sobel edge?

Best Answer

Try this:
theSum = sum(yourSobelEdgeImage(:))
Related Question