image processing
-
:confused:Hi Everybody, I am doing a project in image processing using VC++, in which I have to find the intersecting points in a grid. I tried many corner detection algorithms. Everything works fine with straight lines but not with skewed lines. Please help me with some algorithm or code Thanks in advance
-
:confused:Hi Everybody, I am doing a project in image processing using VC++, in which I have to find the intersecting points in a grid. I tried many corner detection algorithms. Everything works fine with straight lines but not with skewed lines. Please help me with some algorithm or code Thanks in advance
I guess you'll have to take each pixel and verify if it has the same value as at least one from his neighbours. Something like this: [ 1 2 3 ] [ 4 5 6 ] [ 7 8 9 ] Now you take pixel #5 and check his value with the ones from that matrix. if it's the same then it is a point of the line(composing the grid), if not then it don't belongs there. Once you know where the grid lines starts it's easy to identify the intersecting points since you'll know the angle and everything.