Lung CT image cannot convert to grayscale image and binary

2 vues (au cours des 30 derniers jours)
muzaiyanah ahmad supian
muzaiyanah ahmad supian le 24 Sep 2019
i need your favour regards why my image cannot convert to grayscale? other image can process with the grayscale code. Attache is my picture

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 24 Sep 2019
Modifié(e) : KALYAN ACHARJYA le 24 Sep 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!

Catégories

En savoir plus sur Import, Export, and Conversion dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by