User Defined Image files
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jessica Reimer
am 5 Apr. 2017
Kommentiert: Jessica Reimer
am 10 Apr. 2017
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.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 5 Apr. 2017
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu DICOM Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!