I have used Canny edge detector to detect the edges and below is the output. I need to detect the density of edges in the image and select the region where ever the density is high. How to do that in opencv.How to find the density of high intensity pixels using opencv?
Below is the output after Canny Edge:
How to get the below output?