converting Cardiac DICOM image into gray scale for Image segmentation.

How to convert DICOM image into a grayscale image or RGB Image ? I want to draw contour on the dicom image for finding Cardiac epi and endocardium boundaries using level set segmentation method .

回答 (1 件)

vaishali
vaishali 2013 年 9 月 21 日

0 投票

RGB=dicomread('filename');%%%%%read dicom file which is in current directory path if not add path%%
G=rgb2gray(RGB);%%%convert to grayscale image%%%

1 件のコメント

koturu bhavana
koturu bhavana 2015 年 10 月 19 日
how to convert if the image is not in size of mx3 or mxnx3 thank u in advance..bhavanabtech2010@gmail.com...

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

カテゴリ

ヘルプ センター および File ExchangeDICOM Format についてさらに検索

タグ

コメント済み:

2015 年 10 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by