305 - What is Cellpose algorithm for segmentation?

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • 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/bns...
    All other code:
    github.com/bns...
    Useful links:
    cellpose.readt...
    www.cellpose.org/
    Data set used in this video can be downloaded from: www.kaggle.com...
    Cellpose GitHub: Code: github.com/mou...
    Original paper: www.biorxiv.or...
    Cellpose 2.0 paper: www.nature.com...
    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 4 місяці тому

    Thank You Alot. You are the best teacher.

  • @damanrique
    @damanrique Рік тому

    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  Рік тому

      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 Рік тому

      @@DigitalSreeni I appreciate the hint Sreeni. Thanks

    • @somashekharkulkarni3304
      @somashekharkulkarni3304 Рік тому

      @@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 Рік тому

    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  Рік тому

      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.

  • @emmanuelailok4291
    @emmanuelailok4291 Рік тому +1

    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!

  • @Dina-sc5ks
    @Dina-sc5ks Рік тому

    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 Рік тому

    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 Рік тому

      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 Рік тому

      @@kulkarniajinkya Hi, sorry UA-cam 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 Рік тому

      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  Рік тому

      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 Рік тому

      @@DigitalSreeni Thanks for the answer, I'll check it and am anxious to see your video

  • @ribwarjahani7529
    @ribwarjahani7529 Рік тому

    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  Рік тому +1

      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 Рік тому

      Thank You 😍

  • @dounia4109
    @dounia4109 Рік тому

    Hello sir please I need the code for unmasking face by gan network

  • @shresthashreya5418
    @shresthashreya5418 6 місяців тому

    is cellpose a CNN?

    • @DigitalSreeni
      @DigitalSreeni  6 місяців тому

      Yes. It uses a U-Net architecture.