Search found 2217 matches

by Jörg Riesmeier
Thu, 2011-04-07, 08:18
Forum: DCMTK - General
Topic: getCount() API crashing for compressed dicom images
Replies: 4
Views: 4813

Which version of the DCMTK are you using? Have you checked that the image could be processed at all (using DicomImage::getStatus())? Have you checked that "dmp" is not NULL?
by Jörg Riesmeier
Wed, 2011-04-06, 20:11
Forum: DCMTK - General
Topic: Creating a StoredPrint Object in memory
Replies: 1
Views: 2689

The main purpose of the DVInterface class is to provide an interface for the DICOMscope application (using JNI). To answer your question, you could either enhance this class by also implementing a method that stores the Stored Print object to a DcmDataset or you could start from scratch using dcmdat...
by Jörg Riesmeier
Wed, 2011-04-06, 10:22
Forum: DCMTK - General
Topic: JNI wrapper over dcm2pnm: where does dcm2pnm.cc delete the DcmFileFormat instance?
Replies: 2
Views: 3564

First of all, I don't think that wrapping "dcm2pnm" is a good idea. Since the main functionality is contained in the DicomImage class, why don't you just wrap this class? Regarding your questing: Using the flag "CIF_TakeOverExternalDataset", the DicomImage instance takes over the...
by Jörg Riesmeier
Tue, 2011-04-05, 13:23
Forum: DCMTK - General
Topic: Handling of renamed tags
Replies: 7
Views: 7752

Yes, please send us the patch by email (dicom/at/offis/dot/de). Of course, we cannot guarantee that it will make it into the public DCMTK ...
by Jörg Riesmeier
Mon, 2011-04-04, 14:37
Forum: DCMTK - General
Topic: DIMSE messages available
Replies: 4
Views: 5598

that is actually true since in the public DCMTK no services do need N-DELETE and N-CREATE. In fact, that's not true: For example, "dcmprscu" and "dcmprscp" from the public "dcmpstat" module use N-DELETE and N-CREATE. However, they do not use the SCU class since it was ...
by Jörg Riesmeier
Wed, 2011-03-30, 20:39
Forum: DCMTK - General
Topic: dcm2pdf+Error: not an Encapsulated PDF Storage object: C:\xx
Replies: 6
Views: 10148

Maybe a silly question: Why don't you just read the documentation of the tools before using them?
by Jörg Riesmeier
Wed, 2011-03-30, 20:32
Forum: DCMTK - General
Topic: GPWL Implementation
Replies: 2
Views: 4114

As far as I can remember, I read in the meeting minutes of DICOM WG6 that they are considering to retire the GP Worklist Management/PPS service. You should probably think of implementing the new Unified Worklist and Procedure Step service (Supplement 96) as an alternative. Of course, this depends on...
by Jörg Riesmeier
Tue, 2011-03-29, 16:24
Forum: DCMTK - General
Topic: Handling of renamed tags
Replies: 7
Views: 7752

When you have a solution that you think could also be interesting for other DCMTK developers, please feel free to send an email with the patch to us (dicom/at/offis/dot/de).
by Jörg Riesmeier
Tue, 2011-03-29, 15:42
Forum: DCMTK - General
Topic: Handling of renamed tags
Replies: 7
Views: 7752

Btw, I used the "search & replace" function of my text editor to change the code of all DCMTK tools and related files (like the DCMCHECK IOD descriptions) ... this was a one-time process, of course. Maybe, this is also an option for you.
by Jörg Riesmeier
Tue, 2011-03-29, 15:13
Forum: DCMTK - General
Topic: Handling of renamed tags
Replies: 7
Views: 7752

Not only the attribute names have been renamed between DCMTK 3.5.4 and 3.6.0 in order to be consistent with the official keywords of the standard, but also the names of some SOP Classes and Transfer Syntaxes. The changes of the attribute names have been documented in the DCMTK Wiki - as you probably...
by Jörg Riesmeier
Mon, 2011-03-28, 14:09
Forum: DCMTK - General
Topic: DIMSE: Odd Fragment Length
Replies: 12
Views: 19704

Parsing looks for me ok. So why i can't send it with storescu? Somehow the pixeldata is 1 byte shorter as required. Thank you for the sample file. I checked it with storescu/scp from DCMTK and can confirm that it does not work as expected. Using storescu from DCMTK 3.5.4 and storescp from DCMTK 3.6...
by Jörg Riesmeier
Mon, 2011-03-28, 10:41
Forum: DCMTK - General
Topic: movescu usage
Replies: 1
Views: 3327

In addition to the Q/R information model, you also need to specify the AE titles (i.e. calling, called and move destination) - see documentation of the movescu command line options and read the relevant parts of the DICOM standard (especially, part 4) in case you need some background information.
by Jörg Riesmeier
Thu, 2011-03-24, 16:07
Forum: DCMTK - General
Topic: findscu
Replies: 7
Views: 10200

The -X option does not expect a parameter since the filenames are generated automatically:

Code: Select all

  -X    --extract
          extract responses to file (rsp0001.dcm, ...)
So your call to findscu is incorrect. The correct call would be:

Code: Select all

findscu -X -v -d -P localhost 5678 req.dcm
by Jörg Riesmeier
Thu, 2011-03-24, 14:16
Forum: DCMTK - General
Topic: dcmj2pnm overlay data does not look right
Replies: 15
Views: 25411

No, dcmp2pgm does support some aspects of Grayscale Softcopy Presentation States (because the dcmpstat module is used as an underlying library for the DICOMscope viewer). You have to understand that the various DCMTK command line tools are basically examples on how to use the toolkit and not "f...
by Jörg Riesmeier
Thu, 2011-03-24, 11:45
Forum: DCMTK - General
Topic: findscu
Replies: 7
Views: 10200

... then you didn't read the NOTES section of the man page - at least not very carefully.