suzannelab / Dissect

Library to segment, explore and analyse networks, cells and tissues.
Mozilla Public License 2.0
0 stars 0 forks source link

Proposition: Segmentation function 02 with a maximum number of pixels for a cell #15

Closed TatiaM closed 3 years ago

TatiaM commented 3 years ago

Still need to be improved to suggest a min and max at one or two sigmas after the 1rst segmentation process -> thus needs to be done in two steps.

sophietheis commented 3 years ago

You can merge two segmentation functions. Maybe you can add a parameter like auto_remove that the user set to True or False; if he wants to use auto threshold or not. To avoid writing twice the same code, you can set the result of threshold calculation in min_area and max_area directly.

TatiaM commented 3 years ago

Yes good idea! Don't merge plz, I'm working on it

sophietheis commented 3 years ago

Can I close the PR ?

TatiaM commented 3 years ago

Yes !