Dicom file in app designer

8 ビュー (過去 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 Center および File ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by