Search found 20 matches

by wrgben
Tue, 2005-09-20, 10:56
Forum: DCMTK - General
Topic: FINDSCU with date greater than ...
Replies: 2
Views: 6949

Dates and times use Range Matching, so for all dates after and including 2000-01-01 the syntax is "20000101-". The syntax for matching dates prior to and including 200-01-01 is "-20000101" and for matching between 2000-01-01 and 2000-01-31 is "20000101-20000131"
by wrgben
Fri, 2005-08-05, 06:43
Forum: DCMTK - General
Topic: Get a tag and all subtags from an element in DcmDataset
Replies: 5
Views: 9683

(0018, 6011) *is* the sequence. There is a simple way to determine if the sequence exists: DcmItem *ditem = NULL; OFCondition ret = dset->findAndGetSequenceItem(DCM_SequenceOfUltrasoundRegions,ditem); If ditem is not NULL, then the sequence exists. You can then search ditem with the findAndGet... me...
by wrgben
Wed, 2005-08-03, 14:21
Forum: DCMTK - General
Topic: Get a tag and all subtags from an element in DcmDataset
Replies: 5
Views: 9683

What do you mean by "subtag"? The only concept I can think of which is vaguely related to "subtags" is to do with Sequences, in which case you can use findAndGetSequenceItem or findAndGetSequence.
by wrgben
Sun, 2005-07-03, 12:17
Forum: DCMTK - General
Topic: PrintSCU
Replies: 1
Views: 3326

Everything you require can be found in part 4 of the DICOM Standard.
by wrgben
Thu, 2005-06-30, 08:20
Forum: DCMTK - Installation
Topic: Cygwin and fork
Replies: 8
Views: 12576

Hi Colby,

I'd be happy to colaborate with you on changes needed to make the DCMTK thread-safe for Win32. Marco, what are your thoughts on including such platform-specific changes into the general release of the toolkit?

Cheerio,

Ben
by wrgben
Thu, 2005-06-30, 08:16
Forum: DCMTK - General
Topic: PRINT SCU Problem
Replies: 3
Views: 5126

Are you trying to simply pass a "normal" composite instance (e.g. CR or DX image) to the print SCU? From the error message you provided, that certainly looks to be the case. The print SCU has very specific input requirments (Stored Print and Hardcopy objects). You need to read the document...
by wrgben
Thu, 2005-06-30, 06:31
Forum: DCMTK - Installation
Topic: compiling dcmtk with qt and kdevelop on ubuntu.
Replies: 5
Views: 10111

getDataset() returns a pointer to a DcmDataset. So you need to use the -> operator rather than the . operator:

Code: Select all

fileformat.getDataset()->findAndGetOFString(DCM_PatientsName, patientsName)
by wrgben
Wed, 2005-06-29, 10:07
Forum: DCMTK - Installation
Topic: Cygwin and fork
Replies: 8
Views: 12576

My experience (which should certainly not be taken as gospel) is that DCMTK can be made thread safe when using it in an SCP role (see above), but that it is not, in general, thread-safe when using it in an SCU role. I say this because I had some SCU code running which handled multiple concurrent C-S...
by wrgben
Fri, 2005-06-24, 08:36
Forum: DCMTK - Installation
Topic: Cygwin and fork
Replies: 8
Views: 12576

Instead of using fork(), I have had good results on Windows with the following methodology: - The main thread loops waiting for associations - If it receives an association request and successfully negotiates, then the association is accepted. - A new thread is spawned to handle the accepted associa...
by wrgben
Mon, 2005-06-06, 08:50
Forum: DCMTK - General
Topic: read all the dicom files in a directory?
Replies: 7
Views: 9839

You could use dcmdump with the +W option. This will dump the pixel data into a .raw file. Then you could concatenate all the .raw files together to make your volume dataset.
by wrgben
Wed, 2005-05-04, 10:36
Forum: DCMTK - General
Topic: Reading full information using DICOMDIR
Replies: 1
Views: 5428

The reason that all the tags contained in each file are not included in the DICOMDIR structure is because the DICOM standard explicitly specifies which tags should be present in the DICOMDIR. If you want to read the other tags, you need to use the DICOMDIR to get the Referenced File ID, open the fil...
by wrgben
Mon, 2005-04-25, 09:21
Forum: DCMTK - General
Topic: addDicomFile
Replies: 9
Views: 14043

This may seem obvious, but did you remove the .dcm extension from the file in question?
by wrgben
Fri, 2005-04-08, 06:07
Forum: DCMTK - General
Topic: DCMTK with java code
Replies: 1
Views: 4183

The DicomScope application is written in Java and makes calls to the DCMTK libraries using jni. If you download the DicomScope source and use it as an example it might help you.
by wrgben
Mon, 2005-02-28, 13:06
Forum: DCMTK - General
Topic: Getting values from a sequence that has more than 1 entry
Replies: 3
Views: 6928

Thanks for the help Joerg, I had something like this but there was a little hole in my logic somwhere else :-) On a different topic, I have been hacking dcmpstat.lib to use it for rendering print jobs, and for some reason my GSPS annotations (lines, boxes etc.) are not being rendered. My code looks ...
by wrgben
Thu, 2005-02-17, 17:43
Forum: DCMTK - General
Topic: Getting values from a sequence that has more than 1 entry
Replies: 3
Views: 6928

Getting values from a sequence that has more than 1 entry

Hi Marco, Joerg, Thomas and the world, I'm sure Im going to kick myself, but... How do I find an item in a sequence when there is possibly more than one item of the same type in the sequence (e.g. the Referenced Series Instance UID(s) in a Presentation State's Referenced Series Sequence)? Currently ...