How to get raw ecg data from DICOM file?
问题 I would like to obtain raw ecg data (time - voltage) from a dcm file I have. I would like to do that in MATLAB, hovever if there is any other way, please let me know. Thank you 回答1: The following code will get the elements. Not sure if the values are Big Endian or Little Endian so the bytes may need to be swapped. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace ConsoleApplication51 { class Program { const string FILENAME = @"c: