Clear Filters
Clear Filters

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

8 views (last 30 days)
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
Rik on 10 Mar 2022
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)

yanqi liu
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);

Categories

Find more on DICOM Format in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!