02-11-2016 02:09 PM - edited 02-11-2016 02:09 PM
I image processed a micro grid array and there are missing points in the grid. I am having trouble find the best way/algorithm to find these "missing points"
I attached an image for better understanding.
02-12-2016 12:53 AM
02-12-2016 07:59 AM
You should sort by x position then y position. Find distance to previous point in X. This should be pretty consistent unless there is a missing pin.
Probably easier to do in LabVIEW rather then VBAI, but still achievable in VBAI
Mike
02-12-2016 01:22 PM
I don't think that will work. The X and Y coordinates vary by a few pixels for each row or column, so they won't sort in the order you want. If they were integer values, this method would work great.
You might want to look at the grid calibration functions. They do a pretty good job of sorting all the points and making a grid. You might be able to start with them, then finish with whatever is needed. I think if you calibrate the image with grid spacing = 1, then step through all the pixel coordinates of the dots and convert them to world units, you get an integer coordinate for each point. You could then double check the pixel distances to see if there are missing dots.
Bruce
02-17-2016 09:46 PM