I am implementing A No-Reference Perceptual Blur Metric paper.
Somewhere in the prep steps they mention the use of vertical Sobel filter for finding vertical edges.
The algorithm is summarized in Fig. 1. First we apply an edge detector (e.g. vertical Sobel filter) in order to find vertical edges in the image. We then scan each row of the image1.
I am using
scipy.ndimage.sobel(y, axis=1) on Y component of the image as suggested in the paper. But to be honest I don't know how should I interpret this output to decide if there is an edge in this area or not.
Basic idea of the solution from the paper is summarised in this graph:
So I think I understand how to calculate the edge width using the algorithm but to be able to do that I need to know the location for the green dashed line. I think this is what Sobel filter gave them or interpreting the results of
scipy.ndimage.sobel(y, axis=1) will give me.
How will I be able to identify the locations of green dashed lines from the output of