select_shape多个过滤条件

binary_threshold (Image, Region, 'max_separability', 'light', UsedThreshold)
connection (Region, ConnectedRegions)
*  select_shape (ConnectedRegions, SelectedRegions, 'circularity', 'or', 5, 880)
select_shape (ConnectedRegions, SelectedRegions,['convexity','circularity','rectangularity','area'],'and', [0.91,0.603,0.5,5],[1,1,1,880])


 

你可能感兴趣的:(笔记,学习)