- Using the Hough Transform and
- By searching for white pixels in own algorithm
A vertical search is run for a white pixel then it continues searching for the next white pixel, it calculates the distance between them and this gives the diameter.
The search then moves to the centre of these two white pixels and searches left and right. If these measurements are the same as the vertical diameter, then the centre point is established.
No comments:
Post a Comment