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.