intersection

算子intersection计算两个区域(这两个区域中可以包含很多个小区域)的交集,Region1中的每个区域都和Region2中的每个区域进行相交;Region1中的区域在和Region2中的区域相交之前,Region2中的区域必须和并成一个区域;交集后的区域中的区域顺序和Region1中的区域顺序是一样的。

交集:intersection (区域1, 区域2, 交集图)

并集:union2(区域1,区域2,并集图)

补集(差异的区域):difference(大区域,小区域,补集图),或 complement (Region, 整幅图内Region的补集)

char_threshold (Image, Image, DarkRegion, 5, 99, Threshold)
closing_circle (DarkRegion, CharRegion, 7.5)
connection (CharRegion, CharConnected)
intersection (CharConnected, DarkRegion, CharOrig)
select_shape (CharOrig, CharSel, 'area', 'and', 50, 99999)

closing_rectangle1 (Region1, RegionClosing1, 400, 5)
closing_circle (RegionClosing1, RegionClosing2, 10)
difference (Rectangle, RegionClosing2, RegionDifference)
gen_rectangle2 (Rectangle1, 1277, 1700, 0, 10, 600)
intersection (RegionDifference, Rectangle1, RegionIntersection)
connection (RegionIntersection, ConnectedRegions)
area_center (ConnectedRegions, Area, Row, Column)
tuple_length (Area, Length)

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值