[Dcmlib] DocEntry offset bug?
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Fri Jun 10 17:59:49 CEST 2005
dqqiu at hkusua.hku.hk wrote:
>Dear All,
>
>I'm trying to write a programm to create DICOMDIR for dicom images.
>
Did you try to use Example/MakeDicomDir?
It creates a file called NewDICOMDIR, and you can visualize it with
PrintDicomDir.
HTH
Jean-Pierre Roux
>I need to
>use the offset of a data element, but I found that the DocEntry::GetOffset()
>actually point to the start of next data element rather than itself. After
>exploring the source code, I found that in Document::GetNextEntry the file
>pointer position after rather than before the reading was passed to
>SetOffset(). So I changed to passed the file pointer position before reading to
>the function, but the library doesn't work. I think there are somewhere else in
>the code knows the actual meaning of GetOffset,so I think the logic is
>designed. Any comment on this behavior?
>
>Regards,
>Deqiang Qiu
>
>_______________________________________________
>Dcmlib mailing list
>Dcmlib at creatis.insa-lyon.fr
>http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
>
>
More information about the Dcmlib
mailing list