DICOM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DICOM

Sandeep Rattu -RMSINDIA
Hi

In DICOM, why there is a code to readint() after getting length of the element.
By getting four bytes, we can get VR and VL. Again we are reading next four bytes to get element length. Why it is so.I know for Explicit VR, We need 32 bit VL. But again to fetch data of that particular length, we are fetching it from VL bytes excluding starting 8 bits (32 bit VL).
According to me

4 bytes for group
4 bytes for element
4 bytes for element length (VR +VL)
next 4 bytes for VL (32 bit Explicit VR) Contain length of element
next is the data. (but this data is not next to 32 bit, it is from 13 bytes ahead from the start of the data element.

Why it is so.

How to end one data element in DICOM. what type of data should need to add after data.
Or directly it will contain next tag.

Hope to see prompt response.

Thanks & Regards,

Sandeep
Recorders and Medicare Systems Pvt. Ltd
181/5, Phase - 1, Ind. Area
CHANDIGARH - 160 002 INDIA


URL: http://www.rmsindia.com | http://www.rmssecurity.org | http://www.rmssecurity.net