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 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Image Analyst
2020년 12월 12일
편집: Image Analyst
2020년 12월 12일
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?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!