Lung CT image cannot convert to grayscale image and binary
Mostrar comentarios más antiguos
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
onvert to grayscale? other image can process with the grayscale code. Attache is my picture1 comentario
muzaiyanah ahmad supian
el 24 de Sept. de 2019
Respuestas (1)
KALYAN ACHARJYA
el 24 de Sept. de 2019
Editada: KALYAN ACHARJYA
el 24 de Sept. de 2019
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!
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!