medical image processing - Import and Segment DICOM (CT) files
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
Rik
on 10 Mar 2022
The image processing toolbox should contain most of what you need.
Alberto Acri
on 10 Mar 2022
Answers (1)
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);
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!