HELP : DICOM initialization failure (version 2) - DICOM

This is a discussion on HELP : DICOM initialization failure (version 2) - DICOM ; On Jul 21, 8:53 pm, Mathieu Malaterre wrote: > On Jul 21, 2:45 pm, budhik wrote: > > > > > On Jul 21, 8:40 pm, Mathieu Malaterre > > wrote: > > > > On Jul 21, 2:34 pm, ...

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 22 of 22

Thread: HELP : DICOM initialization failure (version 2)

  1. Re: HELP : DICOM initialization failure (version 2)

    On Jul 21, 8:53 pm, Mathieu Malaterre
    wrote:
    > On Jul 21, 2:45 pm, budhik wrote:
    >
    >
    >
    > > On Jul 21, 8:40 pm, Mathieu Malaterre
    > > wrote:

    >
    > > > On Jul 21, 2:34 pm, budhik wrote:

    >
    > > > > On Jul 21, 7:09 pm, David Clunie wrote:

    >
    > > > > > By the way, how are you going to generate SOP, Series, Study
    > > > > > and Synchronization Frame of Reference UIDs, if you are doing
    > > > > > all this by hand without a toolkit ?

    >
    > > > > @Mathew

    >
    > > > > In DICOMTEST6.dcm I already followed the VL32 rules. For
    > > > > implementation class uid, I will set myown after the result file
    > > > > correctly viewed.

    >
    > > > well then you cannot set an undefined length for VR=OW

    >
    > > > -Mathieu

    >
    > > What do you mean ? Please explain me how to fix it.

    >
    > You are inserting a data element: (5400,100a) with VR=OW but at the
    > same time VL=u/l (== -1). You cannot do that u/l VL is reserved for
    > SQ and UN vr only. Compute the actual length of your binary blob and
    > set that length.
    >
    > HTH
    > -Mathieu


    Hmm.... OK.
    So, if I have bits like this (explicit VR little endian) :

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

    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 08 = 2048 (in decimal)

    Question :

    What is the meaning of 2048 ? 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 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

  2. Re: HELP : DICOM initialization failure (version 2)

    On Jul 21, 8:53 pm, Mathieu Malaterre
    wrote:
    > On Jul 21, 2:45 pm, budhik wrote:
    >
    >
    >
    > > On Jul 21, 8:40 pm, Mathieu Malaterre
    > > wrote:

    >
    > > > On Jul 21, 2:34 pm, budhik wrote:

    >
    > > > > On Jul 21, 7:09 pm, David Clunie wrote:

    >
    > > > > > By the way, how are you going to generate SOP, Series, Study
    > > > > > and Synchronization Frame of Reference UIDs, if you are doing
    > > > > > all this by hand without a toolkit ?

    >
    > > > > @Mathew

    >
    > > > > In DICOMTEST6.dcm I already followed the VL32 rules. For
    > > > > implementation class uid, I will set myown after the result file
    > > > > correctly viewed.

    >
    > > > well then you cannot set an undefined length for VR=OW

    >
    > > > -Mathieu

    >
    > > What do you mean ? Please explain me how to fix it.

    >
    > You are inserting a data element: (5400,100a) with VR=OW but at the
    > same time VL=u/l (== -1). You cannot do that u/l VL is reserved for
    > SQ and UN vr only. Compute the actual length of your binary blob and
    > set that length.
    >
    > HTH
    > -Mathieu


    Hmm.... OK.
    So, if I have bits like this (explicit VR little endian) :

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

    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 08 = 2048 (in decimal)

    Question :

    What is the meaning of 2048 ? 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 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

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2