Dicom file in app designer

6 views (last 30 days)
Chanachote Muenjai
Chanachote Muenjai on 28 Jan 2020
Answered: Olivia on 5 Mar 2024
I can't show image of dicom file in UIAxes in app designer , how i can show dicom image in UI Axes

Accepted Answer

Adam Danz
Adam Danz on 28 Jan 2020
Edited: Adam Danz on 28 Jan 2020
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.
% ^^^^^^^^^^^

More Answers (1)

Olivia
Olivia on 5 Mar 2024
How do you add a scale bar for size referance of the dicom image?

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!