フィルターのクリア

Lung CT image cannot convert to grayscale image and binary

1 回表示 (過去 30 日間)
muzaiyanah ahmad supian
muzaiyanah ahmad supian 2019 年 9 月 24 日
編集済み: KALYAN ACHARJYA 2019 年 9 月 24 日
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 件のコメント
muzaiyanah ahmad supian
muzaiyanah ahmad supian 2019 年 9 月 24 日
this image cannot process to grayscale n binary..

サインインしてコメントする。

回答 (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 Center および File ExchangeImport, Export, and Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by