mode_filter#

omnipose.core.mode_filter(masks)[source]#

super fast mode filter (compared to scipy, idk about PIL) to clean up interpolated labels