imantics icon indicating copy to clipboard operation
imantics copied to clipboard

Is it possible to delete entries below threshold in class imantics annotation polygons?

Open binaryannamolly opened this issue 3 years ago • 0 comments

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.

binaryannamolly avatar Apr 14 '22 05:04 binaryannamolly