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!