形状模板匹配找到的东西位置有5~10个像素差,差分出来有边界
- create_shape_model_xld (Contours, 6, rad(0), rad(360), 'auto', 'auto', 'ignore_local_polarity', 1, ModelID1)
- find_shape_model (ImageReduced5, ModelID1, rad(0), rad(360), 0.2, 1, 0.5, 'least_squares_very_high', 6, 0.9, Row21, Column21, Angle21, Score11)
- find_shape_model (ImageReduced6, ModelID1, rad(0), rad(360), 0.2, 1, 0.5, 'least_squares_very_high', 6, 0.9, Row22, Column22, Angle22, Score12)
复制代码
|