摘要: 第一步,阈值化找到要测量的区域 threshold 第二步,用边缘函数查找边轮廓 edge_sub_pix 第三步,对边进行分割,抽取直线跟圆弧 segment_contour_xld get_contour_global_attrib_xld (SingleSegment, 'cont_appro 阅读全文
posted @ 2021-12-14 11:30 zyl2 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 首先,平滑灰度值轮廓,确定一阶导数和二阶导数。 measure_projection — 提取一个垂直于矩形或环形圆弧的灰度值轮廓。 create_funct_1d_array — 根据y值序列创建一个函数。 smooth_funct_1d_gauss — 用高斯函数平滑等距一维函数。 deriva 阅读全文
posted @ 2021-12-14 10:41 zyl2 阅读(1547) 评论(0) 推荐(0) 编辑