Lung CT image cannot convert to grayscale image and binary

1 次查看(过去 30 天)
i need your favour regards why my image cannot convert to grayscale? other image can process with the grayscale code. Attache is my picture

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-9-24
编辑:KALYAN ACHARJYA 2019-9-24
im=imread('image.jpeg');
im_gray=rgb2gray(im);
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!

类别

Help CenterFile Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by