π Learn how to build AI systems for medical imaging domain by leveraging tools and techniques that I share with you! | π‘ The newsletter is read by people from: Nvidia, Baker Hughes, Harvard, NYU, Columbia University, University of Toronto and more!
Hi Reader,,
Welcome to the PYCAD newsletter, where every week you receive doses of machine learning and computer vision techniques and tools to help you learn how to build AI solutions to empower the most vulnerable members of our society, patients.
I've used lots of deep learning models for image segmentation in my career. A lot of these segmentation models have been for medical imaging applications.
β
Here's one issue that we constantly faced when using them through an API.
β
Image segmentation models such as YOLOv8 or Mask RCNN are very useful in a variety of computer vision applications.
β
If you're building a cloud based image segmentation solution, you most likely will need to deploy your model through an API.
β
This means that your model will live in a separate entity like a docker container.
β
In most scenarios you'll have a REST API that controls how your backend or frontend interacts with the model.
β
These models produce masks as the main output.
β
These masks are basically binary images that have the same size as your input images.
β
If you return these masks from your REST API as they are, it will require a lot of time to transmit that information from your API to your backend or frontend server.
β
This will quickly become a bottleneck for your application performance.
β
Solution?
β
Don't return full masks. Return polygons instead.
β
Polygons represent the border of the masked regions.
β
This means that they require a lot less time to transfer.
β
Big win for performance!
β
But you need masks in the backend and frontend and not polygons right?
β
Well, just reconstruct the masks from the polygons.
β
You can use a function like cv2.fillpoly to achieve this.
β
Sometimes small modifications can lead to great improvements in terms of performance!
In the past 3 weeks, 2 medical imaging datasets have been made available by the open source community. Here they are and hereβs how to download them.
Dataset 1:
It contains 27 thorax CT scans which contains annotations for airways as well as lungs.
Dataset size: 5Gb
Link to download the dataset: https://zenodo.org/records/10069289β
Dataset 2:
It contains 15 CT scans of:
But if youβre mostly interested in lymph nodes, then you can access a bigger dataset with 90 CT scans that has only lymph nodes annotations.
It contains:
Link to download the 15 CT scans dataset: https://huggingface.co/datasets/andreped/LyNoSβ
Link to download the 90 CT scans dataset: https://wiki.cancerimagingarchive.net/pages/viewpage.action?pageId=19726546β
β
β
|
We Can Help You with Your Next Medical Imaging ProjectIf your company or organization is looking to build a machine learning solution for a medical imaging problem, then feel free to reach out to us at: βcontact@pycad.coβ We can help you build a full ML solution from training to deployment with affordable rates! You can check out some of the projects that we worked on here: βhttps://pycad.co/portfolio and some of our clients case studies here. |
That's it for this week's edition, I hope you enjoyed it!
by Nour Islam Mokhtari from pycad.co
π Learn how to build AI systems for medical imaging domain by leveraging tools and techniques that I share with you! | π‘ The newsletter is read by people from: Nvidia, Baker Hughes, Harvard, NYU, Columbia University, University of Toronto and more!
Hi Reader,, Welcome to the PYCAD newsletter, where every week you receive doses of machine learning and computer vision techniques and tools to help you learn how to build AI solutions to empower the most vulnerable members of our society, patients. TotalSegmentator : Whole Body Segmentation at your Fingertips This free tool available online can do full body segmentation, it's called TotalSegmentator. I have already mentioned this tool in a previous edition of the newsletter, but in this...
Hello Reader, Welcome to another edition of PYCAD newsletter where we cover interesting topics in Machine Learning and Computer Vision applied to Medical Imaging. The goal of this newsletter is to help you stay up-to-date and learn important concepts in this amazing field! I've got some cool insights for you below β A Medical Imaging Expert Told Me This Recently I saw a post on LinkedIn where a medical imaging expert showcased his work of segmenting the lungs and its bronchial trees. You can...
Hello Reader, Welcome to another edition of PYCAD newsletter where we cover interesting topics in Machine Learning and Computer Vision applied to Medical Imaging. The goal of this newsletter is to help you stay up-to-date and learn important concepts in this amazing field! I've got some cool insights for you below β How we helped accelerate inference time for a client's AI product Below is a screenshot of a benchmark we did for a client of ours. The goal was to accelerate inference time. This...