medical image processing - Import and Segment DICOM (CT) files

Does anyone know of good codes to import DICOM files (from CT) and to segment the bone present within the DICOM file?

3 Comments

The image processing toolbox should contain most of what you need.
Excuse me, as available codes?
You probably want to start with dicomread.
If you have specific question: have a read here and here. It will greatly improve your chances of getting an answer.

Sign in to comment.

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

Products

Release

R2021b

Asked:

on 10 Mar 2022

Answered:

on 11 Mar 2022

Community Treasure Hunt

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

Start Hunting!