medical image processing - Import and Segment DICOM (CT) files
8 views (last 30 days)
Show older comments
Does anyone know of good codes to import DICOM files (from CT) and to segment the bone present within the DICOM file?
3 Comments
Answers (1)
yanqi liu
on 11 Mar 2022
yes,sir,read dcm image can use dicomread,if want to segment image,there are many method,we should choose method by real image information,such as
I = dicomread('CT-MONO2-16-ankle.dcm');
bw = imbinarize(mat2gray(I),'adaptive','ForegroundPolarity','dark','Sensitivity',0.7);
bw = bwareaopen(bw, 50);
figure
imshow(I,[]);
hold on;
h = imshow(label2rgb(bwlabel(bw)), []);
set(h, 'AlphaData', 0.5);
0 Comments
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!