Search found 3 matches

by Max
Mon, 2006-07-17, 11:38
Forum: DCMTK - General
Topic: Troubles in creating empty sequences
Replies: 1
Views: 2794

Troubles in creating empty sequences

Hi all, When i try to insert a new sequence in a dataset with the following code ... DcmDataset *dataset = fileformat.getDataset(); DcmTagKey key(0x0020,0x9222); DcmItem *item = new DcmItem(); status = dataset->findOrCreateSequenceItem(key, item); ... I get a file that, using dcmdump, looks like thi...
by Max
Mon, 2006-04-10, 17:35
Forum: DCMTK - General
Topic: read all the dicom files in a directory?
Replies: 7
Views: 10003

Thank you,
I've modified my code, now it uses the findAndGetUint16Array() function and seems to work fine.
Sorry for the dumb question.
by Max
Fri, 2006-04-07, 13:24
Forum: DCMTK - General
Topic: read all the dicom files in a directory?
Replies: 7
Views: 10003

Alternatively, you could write a little program that performs this task (load DICOM file, extract pixel data, append to output file). Hi, This is exactly what I am trying to do, I started from the example in the DCMTK documentation and have written the following code: FILE *stream; int main() { int...