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 个)

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

类别

帮助中心File Exchange 中查找有关 DICOM Format 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by