cellpose icon indicating copy to clipboard operation
cellpose copied to clipboard

Force separation of masks

Open CristiSoitu opened this issue 1 year ago • 1 comments

Hello,

First of all great resource!

Is there a way to force cellpose to produce separated masks when cells are close together or overlapping rather than a continuous one? I've tried decreasing the diameter, but it get into a region where it picks up things way too small to be cells.

Thanks, Cristian

CristiSoitu avatar Aug 20 '22 23:08 CristiSoitu

do you have an image you can post as an example? I'd recommend maybe retraining the model if cellpose is merging your masks. you can alternatively use a decreased diameter then use the min_size input to model.eval to filter out objects which are too small (min_size is in pixels)

carsen-stringer avatar Sep 09 '22 14:09 carsen-stringer

closing due to inactivity

carsen-stringer avatar Nov 06 '22 16:11 carsen-stringer