資料來源:http://www.ihalcon.com/read-1136.html#read_122777
- 5月 31 週四 201822:29
Halcon 形狀物件特性
- 7月 03 週日 201620:49
Halcon 二維條碼
Halcon 的 二維條碼處理 並不困難,困難的是得先讀完說明.........此說明 以常見的 "Data Matrix ECC 200" 為主
- 7月 03 週日 201620:39
Halcon Contour XLD 繪製到 bitmap
Halcon 的 XLD 可由 Region 的輪廓 或 資料處理取得
由Region 取得
由Region 取得
- 9月 02 週三 201514:39
異常區域檢測
read_image(Image,'D:/Study/Halcon/異域檢測/Sample.jpg')
decompose3(Image, Image1, Image2, Image3)
mean_image(Image3, ImageMean, 20, 20)
sub_image(Image1,ImageMean,ImageSub, 2, 130)
gray_range_rect(ImageSub, ImageResult, 7, 7)
threshold(ImageResult,reg,0,120)
connection(reg, ConnectedRegions1)
opening_circle(ConnectedRegions1, RegionOpening1, 3.5)
union1(RegionOpening1, RegionUnion)
closing_circle(RegionUnion, RegionClosing, 10)
fill_up(RegionClosing, RegionFillUp)
gen_contour_region_xld(RegionFillUp, Contours, 'border')
smooth_contours_xld(Contours, SmoothedContours, 31)
1
