MATLAB Answers

Detect If a brain has a tumor

9 views (last 30 days)
Vu Trinh
Vu Trinh on 15 Sep 2020
Answered: Pranav Verma on 18 Sep 2020
Hi everyone, please help me with this problem.
I have attached 2 images of brains. One has a tumor and another has no tumor. Is there a way I can write a function which will return 0 if the brain has no tumor and return 1 if the brain has a tumor?

  2 Comments

Ameer Hamza
Ameer Hamza on 15 Sep 2020
Do you have a lot of images for both cases, then you can train a deep learning classifier: https://www.mathworks.com/help/vision/examples/image-category-classification-using-deep-learning.html. Otherwise, you will need to use traditional image processing methods to identify the distinguishing features manually.

Sign in to comment.

Answers (1)

Pranav Verma
Pranav Verma on 18 Sep 2020
Hi Vu,
You can train a semantic segmentation network using deep learning.
The below link runs through an example on how to implement the network and parallely provides the explanation for the steps involved.
Thanks

  0 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by