matlab help required. need to open a matlab file named as1.mat and convert the image from binary (masks are binary, 1-channel images). to gray level . matlab help required to open a file and convert theimage to graylevel i need to open and see

1 vue (au cours des 30 derniers jours)
I need to open a matlab file named as1.mat and convert the image from binary (masks are binary, 1-channel images) to gray level. The image is attached.
Matlab help required to open a file and convert the image to graylevel.
I need to open and see the images of brain tumors. Can someone help me with the coding on how to open and see the images, and convert the images from binary to gray level.
The file is in the given link below.
Image is given in attachment as jpg. I need to see the original image in gray level or any other method.

Réponses (1)

Image Analyst
Image Analyst le 12 Déc 2020
Modifié(e) : Image Analyst le 12 Déc 2020
grayImage = imread('4.jpg');
Now as far as reading "as1.mat", you forgot to attach that file so we don't know what's in it. Can you attach it? I'm not going to go to some third party web site to get your mat file when you can simply attach it here. Let's keep everything all in one place.
Also, isn't this question just a duplicate of the question you asked yesterday?

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by