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 (Contours, SmoothedContours, 3)