01-20-2015 12:32 AM
How does one apply this algorithm ? Kindly Guide.
01-20-2015 02:46 AM - edited 01-20-2015 02:48 AM
Hello,
if your edge has a linear model, you can simply detect the edge points, fit a line to the points (in a least square sense) and calculate the distances (perpendicular) from edge points to the fitted line model. See the simplified attached example (saved for Labview 2013). You can set a threshold for maximum distance.
If your model is not linear, it is more difficult to find the distances as you would probably need to use some iterative optimization algorithm.
Hope this helps.
Best regards,
K