Medical How Can I Detect the QRS Complex of an ECG Byte Array in Java?

  • Thread starter Thread starter ShahKhalid
  • Start date Start date
  • Tags Tags
    Complex
AI Thread Summary
The discussion centers on detecting the QRS complex from an ECG byte array obtained from a Lifegain defibrillator. The user seeks guidance on implementing this in Java and inquires about any generalized formulas or methods for QRS detection. They specify using lead II for data collection and express challenges with existing software that does not accommodate their data format. A suggestion is made to consider the type of ECG rhythm, as detecting QRS complexes can vary significantly with different dysrhythmias. The user also references a CodeProject article but finds it incompatible with their data format, prompting a question about standard formats for ECG data storage that could enhance compatibility across different systems.
ShahKhalid
Messages
2
Reaction score
0
HI
i read ecg byte array from file.now i want to detect QRS of read ecg byte. how can i achieve this in java.Is there any generalized formula or any thing from where i can easiliy calculate this?

i get byte array from Lifegain defibrilator(an ecg device).i draw ecg on android from these bytes.now i want to detect QRS complex(term used for calculation of time and voltage of a wave of one heart beat).DATA=LeadData":"-284,-127,-122,17,-35,10,32,10,52,16,49,33,38,69,70,58,45,93,47,88,58,90,149,5,82,-12,-4,40,-34,29,-29,5,-4,-17,-13,-29,-13,-4,-9,-9,-10,-20,-15,-22,-32,-25,-23,-2,-15,-7,-13,-19,-17,-28,-27,-27,-33,-20,-16,-13,-20,-10,-22,-20,-19,-28,-15,-19,-22,-21,-9,-3,-6,-8,-6,-11,-8,-8,-5,-10,-5,-6,-9,-4,-6,3,20,3,14,7,11,10,5,11,5,10,2,10,13,14"

Any help would be highly appreciated.
Regards,

shah
 
Biology news on Phys.org
ShahKhalid said:
HI
i read ecg byte array from file.now i want to detect QRS of read ecg byte. how can i achieve this in java.Is there any generalized formula or any thing from where i can easiliy calculate this?

i get byte array from Lifegain defibrilator(an ecg device).i draw ecg on android from these bytes.now i want to detect QRS complex(term used for calculation of time and voltage of a wave of one heart beat).DATA=LeadData":"-284,-127,-122,17,-35,10,32,10,52,16,49,33,38,69,70,58,45,93,47,88,58,90,149,5,82,-12,-4,40,-34,29,-29,5,-4,-17,-13,-29,-13,-4,-9,-9,-10,-20,-15,-22,-32,-25,-23,-2,-15,-7,-13,-19,-17,-28,-27,-27,-33,-20,-16,-13,-20,-10,-22,-20,-19,-28,-15,-19,-22,-21,-9,-3,-6,-8,-6,-11,-8,-8,-5,-10,-5,-6,-9,-4,-6,3,20,3,14,7,11,10,5,11,5,10,2,10,13,14"

Any help would be highly appreciated.
Regards,

shah

Can you assume that the EKG rhythm is a normal sinus rhythm? Or do you need to accommodate the various dysrhythmias? Finding the QRS complex in some dysrhythmias can be quite a challenge for software (if the QRS complex is there at all)...

http://en.wikipedia.org/wiki/Cardiac_dysrhythmia

.
 
Which lead are you using? Interpreting an ECG depends on which lead is being used. Most people are familiar with lead I, but there can be up to 6 leads used for diagnostic purposes.
 
Hi,

I am using lead 2 of ecg to get data.
i have searchd on it a lot and found some code project also. For reference http://www.codeproject.com/Articles/4353/ECG-recording-storing-filtering-and-recognition
but i think it save data in its particular format.my data format is not compatible with its format.so this software does not detect QRS from my Data file/Array.my data array is like
data_array={-757,-671,-583,-500,-427,-343,-269,-208,-131,-61,-5,57,109,174,237,285,334,381,439,486,524,566,604,642,677,711,742,776,810,838,866,892,920,947,961,974,996,1019,1029,1037,1059,1067,1075,1090,1094,1103,1109,1109,1117,1121,1123,1125,1123,1124,1121,1114,1116,1106,1099,1102,1094,1081,1082,1081,1074,1069,1062,1055,1060,1057,1056,1063,1049,1054,1015,1040,1025,1020,1051,987,1083,964,1097,970,1050,1074,855,2088,1624,881,1067,1019,1036,926,1256,467,3321,7968,7933,7482};

i s there any standerd fromat for ecg data storage.so that that can be compatible for all.

Regards

Shah Khalid.
 
Chagas disease, long considered only a threat abroad, is established in California and the Southern U.S. According to articles in the Los Angeles Times, "Chagas disease, long considered only a threat abroad, is established in California and the Southern U.S.", and "Kissing bugs bring deadly disease to California". LA Times requires a subscription. Related article -...
I am reading Nicholas Wade's book A Troublesome Inheritance. Please let's not make this thread a critique about the merits or demerits of the book. This thread is my attempt to understanding the evidence that Natural Selection in the human genome was recent and regional. On Page 103 of A Troublesome Inheritance, Wade writes the following: "The regional nature of selection was first made evident in a genomewide scan undertaken by Jonathan Pritchard, a population geneticist at the...
Back
Top