Halcom 发表于 2020-2-9 20:01:19

形态学算子:开运算

dev_update_window ('off')
read_image (Bond, 'die/die_03')
threshold (Bond, Bright, 100, 255)
shape_trans (Bright, Die, 'rectangle2')
reduce_domain (Bond, Die, DieGrey)
threshold (DieGrey, Wires, 0, 50)
fill_up_shape (Wires, WiresFilled, 'area', 1, 100)
stop ()
opening_circle (WiresFilled, Balls, 15.5)
stop ()
connection (Balls, SingleBalls)
select_shape (SingleBalls, IntermediateBalls, 'circularity', 'and', 0.85, 1.0)
sort_region (IntermediateBalls, FinalBalls, 'first_point', 'true', 'column')
smallest_circle (FinalBalls, Row, Column, Radius)

kai123 发表于 2020-6-9 09:59:53

全网唯一的这个介绍了吧,棒!

kai123 发表于 2020-6-9 10:00:31

加油,很厉害
页: [1]
查看完整版本: 形态学算子:开运算