Dicom file in app designer

조회 수: 9 (최근 30일)
Chanachote Muenjai
Chanachote Muenjai 2020년 1월 28일
답변: Olivia 2024년 3월 5일
I can't show image of dicom file in UIAxes in app designer , how i can show dicom image in UI Axes

채택된 답변

Adam Danz
Adam Danz 2020년 1월 28일
편집: Adam Danz 2020년 1월 28일
You just need to specify the UIAxis handle in your app.
Here's a functional demo using a built-in dcm file.
info = dicominfo('CT-MONO2-16-ankle.dcm');
Y = dicomread(info);
app.Figure = uifigure(); % you won't need this line
app.UIAxes = uiaxes(uif); % you won't need this line
imshow(Y,[],'Parent',app.UIAxes); % replace app.UIAxes with your axis handle.
% ^^^^^^^^^^^

추가 답변 (1개)

Olivia
Olivia 2024년 3월 5일
How do you add a scale bar for size referance of the dicom image?

카테고리

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