Does imantics provide any built-in methods for removing entries in polygons = Mask(maskMorph).polygons()?
I would like to remove identified polygons that are smaller than a given size (say len(polygons.segmentation[l]) < 80), but cannot figure out how to do that with a imantics annotation polygons class.
Does imantics provide any built-in methods for removing entries in
polygons = Mask(maskMorph).polygons()?I would like to remove identified polygons that are smaller than a given size (say
len(polygons.segmentation[l]) < 80), but cannot figure out how to do that with a imantics annotation polygons class.