- May 31 Thu 2018 22:29
-
Halcon 形狀物件特性
- Jul 03 Sun 2016 20:49
-
Halcon 二維條碼
- Jul 03 Sun 2016 20:39
-
Halcon Contour XLD 繪製到 bitmap
- Sep 02 Wed 2015 14: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
