305 - What is Cellpose algorithm for segmentation?

  Рет қаралды 7,774

DigitalSreeni

11 ай бұрын

What is Cellpose algorithm for instance segmentation? and how to train your own Cellpose model?
Code generated in the video can be downloaded from here:
github.com/bnsreenu/python_for_microscopists/blob/master/305_What_is_Cellpose_algorithm_for_segmentation.ipynb
All other code:
github.com/bnsreenu/python_for_microscopists
Useful links:
cellpose.readthedocs.io/en/latest/
www.cellpose.org/
Data set used in this video can be downloaded from: www.kaggle.com/datasets/batuhanyil/electron-microscopy-particle-segmentation
Cellpose GitHub: Code: github.com/mouseland/cellpose​
Original paper: www.biorxiv.org/content/10.1101/2020.02.02.931238v1.full.pdf​
Cellpose 2.0 paper: www.nature.com/articles/s41592-022-01663-4​
Cellpose is a generalist algorithm for cellular segmentation which can very precisely segment a wide range of image types out of-the-box and does not require model retraining or parameter adjustments.
This video demonstrates the use of Cellpose in Google Colab on a custom data set.

Пікірлер: 21
@awaisahmad5908
@awaisahmad5908 Ай бұрын
Thank You Alot. You are the best teacher.
@damanrique
@damanrique 11 ай бұрын
Hi Sreeni. I have advanced a lot in my research thanks to your insightful videos. I keep having problems with segmentation. Algorithms like cellpose or others you have explored in the channel work very well for circular or oval objects, or for those that border each other. I study glial cells in the brain, objects that are highly irregular, branching, and strongly overlapping with each other. It would be great if you could explore some object segmentation and identification algorithms for those cases. Greetings from Canada
@DigitalSreeni
@DigitalSreeni 11 ай бұрын
Glial cells (e.g., Astrocytes) are challenging to segment as individual objects. I've read a couple of papers on the topic but haven't found a good approach. The best approach that kind of works is to performing semantic segmentation (e.g., using U-net) followed by watershed. You may find traditional techniques to work better, such as Random Walker segmentation. Here is an interesting article on this topic: www.ncbi.nlm.nih.gov/pmc/articles/PMC9396514/
@damanrique
@damanrique 11 ай бұрын
@@DigitalSreeni I appreciate the hint Sreeni. Thanks
@somashekharkulkarni3304
@somashekharkulkarni3304 11 ай бұрын
@@DigitalSreeni do you think Omnipose might help in such a situation? In any case, it would be helpful if you could make a video on Omnipose.
@yujanshrestha3841
@yujanshrestha3841 11 ай бұрын
Another great presentation. I find it fascinating that reformulating the output from a binary mask to flows results in such performance. Do you think this yields any insight on how (or what) the U-net learns?
@DigitalSreeni
@DigitalSreeni 11 ай бұрын
By representing the output of the U-net as flows, Cellpose is able to capture more information about the spatial relationships between cells. This information is then used to improve the accuracy of the segmentation algorithm. The fact that reformulating the output of the U-net as flows results in such performance suggests that the U-net is learning to represent the spatial relationships between cells in a way that is more than just a binary mask. This is an important insight, as it suggests that the U-net is learning more than just the boundaries of cells.
@Dina-sc5ks
@Dina-sc5ks 11 ай бұрын
Hello 👋! Thank you for video 😊, all your videos are very helpful❤. Could you help me, I need to choose best PC for machine learning especially for segmentation task
@urzdvd
@urzdvd 11 ай бұрын
Hi Sreeni, great great video thanks a lot, I'm going to use this model to my pap smear dataset, right now with stardist I have decent results but not great in segmenting multiclass, do you recomend another model?, so far I have good results in the Apeer Zeiss but unfortunately the model is closed and I cannot see the strecture used.
@kulkarniajinkya
@kulkarniajinkya 11 ай бұрын
Hi, can you post some example images? There are several options you can try - SplineDist, DCSA-Net, lacss, torch-em, MaskRCNN, detectron2 and many more.
@urzdvd
@urzdvd 11 ай бұрын
@@kulkarniajinkya Hi, sorry KZbin delete my comment every time I put a link to my database, you can look in google: CRIC database, it´s a classification database of Cervix pap smear, I already labeled the nuclei in segmentation.
@emmanuelailok4291
@emmanuelailok4291 11 ай бұрын
Hi sir, I am a high school student currently doing research using this same dataset and I am having issues with the handcrafted feature extraction method, in terms of segmenting all the images in the dataset I would like to ask for help
@DigitalSreeni
@DigitalSreeni 11 ай бұрын
I have been experimenting with Detectron2, amazing results (see my LinkedIn posts). I recommend you to try it out. I will try to record a tutorial in the next couple of weeks.
@urzdvd
@urzdvd 11 ай бұрын
@@DigitalSreeni Thanks for the answer, I'll check it and am anxious to see your video
@emmanuelailok4291
@emmanuelailok4291 11 ай бұрын
Hi Sreeni! Thanks fo the video! I am currently a high school student doing research on cervical cancer and I am evaluating the performance of cervical cancer classification systems specifically using handcrafted features vs CNN features. For the handcrafted features, I am having issues with my code and would like to ask whether you could be of help in that. I can share my linkedln/email if needed. I would really appreciate it thank you!
@ribwarjahani7529
@ribwarjahani7529 11 ай бұрын
Hello, did you mention changing the Python version in Google Collab in your training? Thank you if there is a way to do this For example, changing the current version 3.10.6 to 3.6
@DigitalSreeni
@DigitalSreeni 11 ай бұрын
To change python version in colab: First check the current version: !python --version Install the desired version: !apt-get install python3.6 Create symbolic link to the new version: !ln -sf /usr/bin/python3.6 /usr/bin/python3 Now check the version agaon to confirm that the new version is being used: !python --version
@ribwarjahani7529
@ribwarjahani7529 11 ай бұрын
Thank You 😍
@dounia4109
@dounia4109 10 ай бұрын
Hello sir please I need the code for unmasking face by gan network
@shresthashreya5418
@shresthashreya5418 4 ай бұрын
is cellpose a CNN?
@DigitalSreeni
@DigitalSreeni 4 ай бұрын
Yes. It uses a U-Net architecture.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 107 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 30 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 51 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 33 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,1 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,7 МЛН
Самый дорогой кабель Apple
0:37
Romancev768
Рет қаралды 302 М.