轮廓周围绘制矩形和圆形:
approxPolyDP()对图像轮廓点进行多边形拟合 ; https://blog.csdn.net/qq_18343569/article/details/47999257
boundingRect()计算轮廓的垂直边界最小矩形 ;https://blog.csdn.net/qq_18343569/article/details/48000035
minEnclosingCircle() 寻找最小包围圆形; https://blog.csdn.net/qq_23880193/article/details/49257637
fitEllipse()二维点集的椭圆拟合;https://blog.csdn.net/qq_18343569/article/details/48003295
minAreaRect()主要求得包含点集最小面积的矩形; https://blog.csdn.net/qq_18343569/article/details/48000179