how to convert .mat file to .dcm file?
    13 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    mohd akmal masud
 am 5 Jun. 2023
  
    
    
    
    
    Kommentiert: mohd akmal masud
 am 5 Jun. 2023
            Dear all,
I have the .mat file as attached. Anyone can help me to convert to .dcm file?
0 Kommentare
Akzeptierte Antwort
  Simon Chan
      
 am 5 Jun. 2023
        Try the following:
rawdata = load('petnew.mat');
J = permute(rawdata.petnew, [1 2 4 3]);
dicomwrite(J,'yourFile.dcm');
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Convert Image Type 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!

