简体   繁体   English

在凸包的弯曲点绘制圆

[英]Drawing circles at BENDING points of convex hull

I am trying to figure out of drawing circles at the BENDING points of a convex hull. 我试图找出凸包的弯曲点处的绘制圆。 Using the sample from OpenCV documentation for convex hull , I have a convex hull. 使用OpenCV文档中的凸包示例,我有一个凸包。 But I am not really sure on how to draw the circles at the points where the finger tips are which basically are the bending points for the convex hull. 但是我不确定如何在指尖所在的点上绘制圆,这些点基本上是凸包的弯曲点。

I hope someone can guide me through this. 我希望有人可以指导我。

Thanks for the help 谢谢您的帮助

凸包图像原版的

Your convex hull contains points of finger tips. 您的凸包包含指尖。 You can find those points by approximating with a simpler shape. 您可以通过使用更简单的形状进行近似来找到这些点。 You can do that with cv::approxPolyDP . 您可以使用cv :: approxPolyDP做到这一点 After that, draw circle on the points with cvCircle, or cv::Circle . 之后,使用cvCircle或cv :: Circle在点上画圆

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM