DVTk (Main) Forum Index
   All Posts (budhik)

 Bottom   Previous Topic   Next Topic



Ask : waveform padding value
Not too shy to talk
Joined:
2008/7/5 14:24
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 77
Offline
Hi,

If I have sample bits like this (explicit VR little endian) :

00 54 0a 10 4f 57 00 00 02 00 00 00 00 80

So, It means :

00 54 0a 10 = tag (5400,100a) : waveform padding value
4f 57 = "OW" (the VR value)
00 00 = 0000h reserved bits for VL32 encoding
02 00 00 00 = 2 bytes of value length (32 bit encoding)
00 80 = 32768 (in decimal)

Question :

What is the meaning of 32768 ? Since I read in the supplement 30 specification that "Equipment which produces digitized waveform curves may encode a specific value when the source is disconnected or otherwise invalid. This value is encoded like the Waveform Data attribute with one sample only. The Waveform Padding Value need not be within the range specified by the Channel Minimum and Maximum Data Values"

In my case, if I have a stream of ECG signals, let's say :

2.602857 0.388133 0.285276 3.504505 3.658790 0.336704 0.015254 0.218097 1.083970 1.732829 0.262715 0.461522 (all in millivolt)

What should I put for my (5400,100a) value ?

Please advise,
Budhi

Posted on: 2008/7/22 13:45
Transfer the post to other applications Transfer
Topic | Forum


Help: Text to DICOM converter project
Not too shy to talk
Joined:
2008/7/5 14:24
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 77
Offline
Hi,

I have an acquired ECG signal from ECG device and stored in text file (see attachment). Currently I'm trying to develop converter code in C++ to convert the ECG signal into DICOM waveform format. But I don't understand how to start.

Is there anyone can suggest me, what is the algorithm/work flow to complete the project ?

I already learn about DICOM waveform file structure based on supplement 30.

Do I need to build my own library ? Is there any code to be my references ? Please help !

Rgs,
Budhi

Attach file:


zip 12ecgsample2.zip Size: 599.96 KB; Hits: 452

Posted on: 2008/7/7 16:49
Transfer the post to other applications Transfer
Topic | Forum


Re: HELP : dicom waveform mapping
Not too shy to talk
Joined:
2008/7/5 14:24
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 77
Offline
@Marco

Where is the link to download DVT user manual ?

Note : I've checked the C:\Program Files\DVTk\DCM Editor\results\ but can't find anything in this folder.

Rgs,
Budhi

Posted on: 2008/7/7 11:07
Transfer the post to other applications Transfer
Topic | Forum


HELP : dicom waveform mapping
Not too shy to talk
Joined:
2008/7/5 14:24
Group:
Registered Users
Posts: 4
Level : 1; EXP : 21
HP : 0 / 5
MP : 1 / 77
Offline
Hi, I have downloaded dicom waveform file from http://www.excel-medical.com/waveforms/Waveform.htm named 39da47b7.dcm. I used DVTK dicom editor to parsethe dcm file and save it into txt file.

I've tried to "read" the txt file, but still don't know where the value of the waveform signals were stored. The txt file contains part such as (for example V6 ECG signal bellow) :

>>BEGIN ITEM 12
>>0x003a0208, SQ, #Channel Source Sequence
>>>BEGIN ITEM 1
>>>0x00080100, SH, 5.6.3-9-8 #Code Value
>>>0x00080102, SH, SCPECG #Coding Scheme Designator
>>>0x00080103, SH, 1.3 #Coding Scheme Version
>>>0x00080104, LO, Lead V6 #Code Meaning
>>>END ITEM 1
>>0x003a0210, DS, 0.00122 #Channel Sensitivity
>>0x003a0211, SQ, #Channel Sensitivity Units Sequence
>>>BEGIN ITEM 1
>>>0x00080100, SH, mV #Code Value
>>>0x00080102, SH, UCUM #Coding Scheme Designator
>>>0x00080103, SH, 1.4 #Coding Scheme Version
>>>0x00080104, LO, millivolt #Code Meaning
>>>END ITEM 1
>>0x003a0212, DS, 1 #Channel Sensitivity Correction Factor
>>0x003a0213, DS, 0 #Channel Baseline
>>0x003a0214, DS, 0 #Channel Time Skew
>>0x003a021a, US, 16 #Waveform Bits Stored
>>0x003a0220, DS, .05 #Filter Low Frequency
>>0x003a0221, DS, 100 #Filter High Frequency
>>END ITEM 12

but i don't understand, where is the representation of the signal's value placed ?

Can anyone help me ?

Regards,
Budhi

Posted on: 2008/7/5 14:33
Transfer the post to other applications Transfer
Topic | Forum



 Top



[Advanced Search]