User Defined Image files

3 ビュー (過去 30 日間)
Jessica Reimer
Jessica Reimer 2017 年 4 月 5 日
コメント済み: Jessica Reimer 2017 年 4 月 10 日
I am trying to write a code that allows the user to upload multiple image files, then displays those images in their own figures.
For uploading files I have:
[PCMR_Lumen_Files,Pathname,index]=uigetfile('*.ima','open files','MultiSelect','on')
And for displaying a specific file I have:
info = dicominfo('PCMR_Lumen_Data_Set1_0001.IMA');
magnitude_1 = dicomread(info);
imshow(magnitude_1);
imcontrast
But I don't know how to use them together or if I need to use a different dicom-() function.

採用された回答

Image Analyst
Image Analyst 2017 年 4 月 5 日
dicomread() takes a single filename, not a cell array of multiple filenames. So you'd have to put it into a for loop where you call it once for each image file name.
  1 件のコメント
Jessica Reimer
Jessica Reimer 2017 年 4 月 10 日
Thank you very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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