[英]Calculate distance between center of the circle at Edge
Hints:提示:
Not easy to make this reliably.可靠地做到这一点并不容易。 In the first place, make sure that you take the picture in front, to avoid parallax errors.
首先,请确保您在前面拍摄照片,以避免视差错误。
Possibly find the central circle(s) by Hough.可能找到霍夫的中心圆圈。 This gives you the center.
这给了你中心。
Now the hard par is to segment the blades.现在最难的是分割刀片。 Possibly by thresholding on a luminance image or anything close to that cream color.
可能通过对亮度图像或任何接近奶油色的图像进行阈值处理。 Or using a general segmentation method.
或者使用一般的分割方法。
Then figure out which blade is segmented most accurately, and find the longest distance from the center to any point of the blade (that gives you the tip).然后找出哪个刀片被最准确地分割,并找到从中心到刀片任意点的最长距离(这会给你尖端)。
If you don't care about accuracy, it is not impossible that Hough gives you the outer circle.如果你不关心准确性,Hough 给你外圈也不是不可能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.