Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell splitting when passing in single candidate segmentation #96

Closed
gouthamr321 opened this issue Apr 4, 2024 · 2 comments
Closed

Cell splitting when passing in single candidate segmentation #96

gouthamr321 opened this issue Apr 4, 2024 · 2 comments

Comments

@gouthamr321
Copy link

gouthamr321 commented Apr 4, 2024

Hello again,

I am only using a single candidate segmentation and only passing in the cell masks(no raw images) and am noticing there is a lot of cell splitting and also some missing segmentations.....

I have below the original instance segmentation on top and then the tracking output below for that timepoint

Screenshot 2024-04-04 at 12 36 39 PM

Screenshot 2024-04-04 at 12 36 26 PM

I am using the following parameters below:

config.segmentation_config.min_frontier = 0.35 # increase this to get less split cells?
config.linking_config.max_neighbors = 5
config.linking_config.max_distance = 50

config.tracking_config.appear_weight = -1.0
config.tracking_config.disappear_weight = -1.0
config.tracking_config.division_weight -0.1

config.tracking_config.window_size = 15
config.tracking_config.overlap_size = 3
config.tracking_config.solution_gap = 0.01

Any suggestion on parameters that I should play around with?

@JoOkuma
Copy link
Member

JoOkuma commented Apr 5, 2024

Hey @gouthamr321

To avoid splitting you need to filter intermediate nodes, as you did with minimum_frontier, you can increase it to any value below 1 and maintain your labels. Be sure that no cells size are exceeding the max_area parameter and that track(sigma=None).

If with these changes you're still getting splits there must be a bug and we will fix it.

To decrease the amount of disappearing cells you have to bring the tracking_config weights closer to zero, so they are not penalized for not finding a reliable pair.

@gouthamr321
Copy link
Author

Hi,

Just wanted to confirm that raising the minimum_frontier helped fixed this issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants