load series of DICOM and convert it to volume to use volume viewer

조회 수: 3 (최근 30일)
eran bamani
eran bamani 2020년 5월 28일
댓글: Rik 2020년 5월 28일
Hi everyone,
I want to segmentation a 3D image, I have a series of DICOM CT scans and I want to convert it to volume image and to load it with volume viewer to do segmentation.
Can Someone knows such work?
  댓글 수: 1
Rik
Rik 2020년 5월 28일
Have you looked on the file exchange? There are dozens of readers and 3D viewers.

댓글을 달려면 로그인하십시오.

답변 (1개)

Subhadeep Koley
Subhadeep Koley 2020년 5월 28일
Refer the example code below,
close all; clc;
% Load the demo DICOM image
[X, map] = dicomread('US-PAL-8-10x-echo.dcm');
% Display the DICOM image
montage(X, map, 'Size', [2 5])
% Remove dimensions of length 1
X = squeeze(X);
% Launch volume viewer
volumeViewer(X)
% K-means clustering based volume segmentation
L = imsegkmeans3(X, 3);
% Visualize the segmented volume
volumeViewer(L)
Hope this helps!
  댓글 수: 9
eran bamani
eran bamani 2020년 5월 28일
Thank you Rik, You are right.
I try with with a lot code version but it didn't work.
Rik
Rik 2020년 5월 28일
'it didn't work' is not helping us to solve your issue. What release of Matlab are you using, what exact code are you running, and what is the exact and complete error message?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by