Hello!
I would like to know how the file index.dat generated by dcmqrscp is made. In fact, i want to display on a Visual Basic 6 form the contents of the database without using dcmqrti that is not really suitable.
thanks for your help
Hans
DataBase file Index.dat
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
This is a part of the code you should better not look at in detail, that is, this is not a piece of the code that is particularly clean or nice
All declarations are in dcmqrdb/dcmqridx.h. The index file is a binary copy (direct binary write/read) of certain memory structures. The first part consists of a constant number of struct StudyDescRecord entries. The number of entries is hard-coded as DB_UpperMaxStudies in dcmqrdb/dcmqrdbi.h, by default 500. This is followed by a flexible number of struct IdxRecord structures, one for each image in the index file. So far, so good, but the content of these structs is not exactly self explanatory - read them and you'll know what I mean.
All declarations are in dcmqrdb/dcmqridx.h. The index file is a binary copy (direct binary write/read) of certain memory structures. The first part consists of a constant number of struct StudyDescRecord entries. The number of entries is hard-coded as DB_UpperMaxStudies in dcmqrdb/dcmqrdbi.h, by default 500. This is followed by a flexible number of struct IdxRecord structures, one for each image in the index file. So far, so good, but the content of these structs is not exactly self explanatory - read them and you'll know what I mean.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest