Search found 1459 matches

by Marco Eichelberg
Tue, 2005-01-25, 17:29
Forum: DCMTK - General
Topic: OFThread
Replies: 3
Views: 6338

This code is legal but dangerous. If somebody ever creates a CDcmThread instance on the stack (i.e. as local or global variable), the destructor will exhibit undefined behaviour. You should at least declare all constructors as private and define a public static factory method as the only way of crea...
by Marco Eichelberg
Tue, 2005-01-25, 11:56
Forum: DCMTK - General
Topic: Communication, transfer syntax...
Replies: 7
Views: 15249

Your code will not be able to find a presentation context for Basic Film Session or Basic Film Box because these SOP classes are handled through the Meta SOP Class (read Part 4 about how the Meta SOP classes work). You will need something like if (colorMode) { if ((sopclass == UID_BasicFilmSessionSO...
by Marco Eichelberg
Tue, 2005-01-25, 11:49
Forum: DCMTK - General
Topic: Retrieving with movescu where study contains 2 formats
Replies: 2
Views: 6882

It is not possible with movescu alone to retrieve images in both RLE and JPEG encoding within a single association. It would be possible to setup the storescp tool as a receiver that accepts both RLE and JPEG images and use movescu only for handling the C-MOVE request and response messages. You woul...
by Marco Eichelberg
Tue, 2005-01-25, 11:42
Forum: DCMTK - General
Topic: Presentation State, Presentation LUT...
Replies: 2
Views: 5478

There is no counterpart to the Presentation LUT for color images, mostly because DICOM does not address the issue of color calibration yet. It is not mandatory to apply a Presentation State to a DICOM image before sending it to a printer, this is just how we chose to implement the Print SCU in modul...
by Marco Eichelberg
Tue, 2005-01-25, 11:40
Forum: DCMTK - General
Topic: running imagectn
Replies: 5
Views: 8639

Try putting the "vendor name", i.e. "mark" instead of "marks_laptop" into the AETable.
by Marco Eichelberg
Mon, 2005-01-24, 10:36
Forum: DCMTK - General
Topic: Encapsulate DVPStoredPrint (please, important, end of practice soon)
Replies: 1
Views: 4672

The anser to this question is rather generic: You need to apply the usual code re-factorization techniques to extract the print specific code from class DVInterface and put that into a separate class. Most of the code is contained in distinct classes anyway, class DVInterface just maintains everythi...
by Marco Eichelberg
Fri, 2005-01-21, 10:44
Forum: DCMTK - General
Topic: Python bindings?
Replies: 2
Views: 6484

No, not for the time being.
by Marco Eichelberg
Fri, 2005-01-21, 10:41
Forum: DCMTK - General
Topic: Getting VR UN for known tags in Query response from Conquest miniPACS
Replies: 5
Views: 9195

The network module would allow you to retrieve the stream of bytes containing the C-FIND-RSP dataset directly, bypassing the dcmdata module that contains the parser, however, this would require some real low-level code. The dcmdata module, as it is today, never changes a VR by itself, even if the VR...
by Marco Eichelberg
Tue, 2005-01-11, 17:03
Forum: DICOMscope - General
Topic: Cannot display overlays
Replies: 5
Views: 15885

Please check first if the problem is fixed in the 3.6.0 version of DICOMscope which is not yet referenced from the DICOMscope web page but available for download from here . By default, DICOMscope should activate and display all overlay planes when an image is opened, as long as the overlay planes a...
by Marco Eichelberg
Thu, 2004-12-30, 14:03
Forum: DCMTK - General
Topic: Print parameters
Replies: 6
Views: 11531

If the creation of the basic film session instance fails as soon as you enable trim, decimate/crop or min/max density, something is wrong with the film session N-CREATE-RQ message, you should be able to check that using the --dump option in the Print SCP. All of these attributes are defined for the ...
by Marco Eichelberg
Thu, 2004-12-30, 13:56
Forum: DCMTK - General
Topic: wlmscpfs not sending SpecificCharacterSet
Replies: 1
Views: 5393

The DICOM standard should really add a "howto" section explaining the correct handling of extended character sets :cry: The attribute SpecificCharacterSet (0008,0005), when sent as part of a query or a response message, is not treated like the rest of the query strings. The attribute, when...
by Marco Eichelberg
Thu, 2004-12-30, 13:48
Forum: DCMTK - General
Topic: Using API to check valid characters in an LO element
Replies: 3
Views: 7912

The toolkit contains code for VR value checks, although not currently in any of the libraries. The tool "dcmpschk" (in dcmpstat/apps) uses regular expressions (a Lex scanner) to check string VRs. Look at the functions checkelem() and checkitem() in dcmpstat/apps/dcmpschk.cc - these should ...
by Marco Eichelberg
Thu, 2004-12-30, 13:43
Forum: DCMTK - Installation
Topic: compilation with dcmtk
Replies: 10
Views: 15775

The directories seem to be OK. You should check if there is a header file named "cfunix.h" somewhere on your system that might be loaded by the preprocessor instead of the file in ${DCMTK_PATH}/config/include. All results of DCMTK's configure tests are stored in this file as preprocessor #...
by Marco Eichelberg
Fri, 2004-12-17, 11:18
Forum: DCMTK - Installation
Topic: instalation error in FreeBSD system
Replies: 6
Views: 12533

Since the error message is still the same, <wchar.h> is obviously not what was needed here. Sorry, but we cannot give you more detailed instructions than explained before since we don't have any FreeBSD 5.x installation currently. Determine where ::vfwscan et al are declared and make sure this heade...
by Marco Eichelberg
Wed, 2004-12-15, 10:41
Forum: DCMTK - General
Topic: Help in experimenting with query / retreive calls
Replies: 11
Views: 23455

I think it would be a good idea if you carefully read the description of the Query/Retrieve service class (in particular the query part for now) in Part 4 of the DICOM standard, Annex C. The DICOM Query Model is a hierarchical one, and there is a well-defined list of matching and return keys for eac...