SchmollerLab / Cell_ACDC

A Python GUI-based framework for segmentation, tracking and cell cycle annotations of microscopy data
BSD 3-Clause "New" or "Revised" License
127 stars 21 forks source link

Transfer Segmentation mask/outline to next frame if ID is lost by Segmentation Algorithm #365

Open ppreith opened 1 year ago

ppreith commented 1 year ago

Description:

In the GUI segmentation mode an option to apply the segmentation mask from a previous frame to a frame where an ID has been just lost. This might be very useful for new buds, that are just around the pixel count threshold for segmentation.

ElpadoCan commented 1 year ago

Hi @ppreith,

I finally found some time to implement this request. At the moment it is only on developer version but it will be released with the next version.

To try it, activate the environment where you have the developer version, navigate to the cloned Cell_ACDC folder and run the command git pull.

You will have a new button in segmentation and tracking mode (with this icon). Activate that button, hover with the mouse over a lost object's contour, and right-click on it. The contour will then be copied to the current frame. You can leave the button checked to always have this function active.

Let me know if it works and if you think it could be improved. Thank you very much!

Cheers, Francesco

ppreith commented 1 year ago

Sounds Great. I will try it as soon as I am back to better internet connections :)

ppreith commented 1 year ago

I have been testing it a bit now. It seems to work well. The "W" default shortcut has a double assignment though.

ElpadoCan commented 1 year ago

Oh yeah, you are right, I will change the shortcut to "J" in the next version, thanks for spotting that!

ElpadoCan commented 1 year ago

Note that you should be able to customise all the shortcuts from the menu Edit -- > Customize keyboard shortcuts... on the top menubar of the GUI.

Also, I just saw that the intended shortcut was "V" but I accidentally set "W". I will set it to "V". Thanks again!

github-actions[bot] commented 8 months ago

Hi there, I'm the Cell-ACDC bot :wave:. This issue had no activity for more than 180 days. For now, we have marked it as "inactive" until there is some new activity. If this issue was not solved yet, unfortunately we haven't had the time to implement it or it requires more discussion. Note that it doesn't mean it has been ignored, but a little reminder from your side would help :D. Feel free to reach out to us here or on our forum. If you think that this issue is no longer relevant, you may close it by yourself. In any case, we apologise for the inconvenience and we thank you for your patience and contributions so far!