Is there a metric to quantify edge information contained within different regions of an image

1 visualización (últimos 30 días)
I have regions on an image (Rectangular ROI) which are passed to an an algorithm (The algorithm does edge segmentation to compute some metrics). I want to know if there is some metric I can use to choose quantify the edge quality and select the right ROI. I have attached a picture to explain the problem.The region in blue select a part of the vertical line , but the region in red does the same but contains noise from a horizontal feature (Being the bigger box it contains more statistics).

Respuestas (1)

Image Analyst
Image Analyst el 8 de Ag. de 2022
You can find lines with hough or houghlines. If you take the profile across the edge you can fit a line through the middle part of the profile to get the slope of the edge.

Productos


Versión

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by