Edge/Contour identification
Hello,
Let's say we have one original/ prototype image and one for testing as below.
And I want each time to test if each of the horizontal lines in the second image are the same with the analogous in the original image. The problem is that in the test image there may be noise etc and the length of each line may not be the same (that's what we want to check!).
To sum up, after finding the contours of 2 images, how can I compare contours which are suposed to be on the same place but may have not the same index because of noise.... Is there any kind of labelling that will allow me to do that automatically (for many test images)?
Thanks in advance
I have thought of using some kind of masks which would let only one horizontal line per time to check, but I am not quite sure how to do it automatically and without affecting the test image....
I would say comparing contours is unnecessary here! You can find Lines in the Two Images and compare its x,y Co-Ordinates in the two Images!
I don't know.. The lines may be broken or of uneven breadth, so something like hough lines may not be suitable. So, my major problem here is to label the lines and then compare them between the two pictures... Thanks anyway..