smooth_contours_xld:轮廓平滑

smooth_contours_xld:轮廓平滑

read_image (Image, 'printer_chip/printer_chip_01')
threshold (Image, Region, 128, 255)
gen_contour_region_xld (Region, Contours, 'border')

smooth_contours_xld:轮廓平滑_第1张图片

轮廓平滑后

smooth_contours_xld:轮廓平滑_第2张图片

* 轮廓平滑
smooth_contours_xld (Contours, SmoothedContours, 3)

你可能感兴趣的:(halcon)