this image cannot process to grayscale n binary..
Lung CT image cannot convert to grayscale image and binary
조회 수: 1 (최근 30일)
이전 댓글 표시
i need your favour regards why my image cannot c
onvert to grayscale? other image can process with the grayscale code. Attache is my picture
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239442/image.jpeg)
답변 (1개)
KALYAN ACHARJYA
2019년 9월 24일
편집: KALYAN ACHARJYA
2019년 9월 24일
im=imread('image.jpeg');
im_gray=rgb2gray(im);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/239444/image.png)
The attached image is jpeg format, is it? May be the input image in dicom format, in such case use dicomread. If so, read using dicomread, then apply rgb2gray, or see the other option here (dicom to gray)
Good Luck!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!