Search found 1459 matches

by Marco Eichelberg
Mon, 2004-12-13, 14:32
Forum: DCMTK - General
Topic: Adding sequences to DcmDataset
Replies: 3
Views: 8618

You are trying to insert multiple sequences with the same attribute tag! Remember that each tag can exist not more than once in each DICOM dataset (where each sequence item is considered as a different dataset). If you want to have multiple entries in the ReferencedInstanceSequence, you need to add ...
by Marco Eichelberg
Mon, 2004-12-13, 10:48
Forum: DCMTK - General
Topic: Adding sequences to DcmDataset
Replies: 3
Views: 8618

DcmItem *dset must not be casted to DcmSequenceOfElements since a DcmItem is not a sequence. You should directly insert into imageDataSet, i.e. replace all calls to dset->insert by imageDataSet->insert.
by Marco Eichelberg
Mon, 2004-12-13, 10:44
Forum: DCMTK - Installation
Topic: instalation error in FreeBSD system
Replies: 6
Views: 12536

The first error message /usr/include/c++/3.4/cwchar:166: error: `::vfwscanf' has not been declared seems to indicate that there is a dependency in one of the standard header files that is not resolved in the header file itself, i.e. <cwchar> uses ::vfwscanf but does not declare it. This could very w...
by Marco Eichelberg
Mon, 2004-12-13, 10:38
Forum: DCMTK - Installation
Topic: Compiling with Borland C++ Builder 6
Replies: 9
Views: 15457

We recently added some experimental support for Borland C++ (the free 5.5 version). If you insert the following code fragment into the main CMakeLists.txt file, you should be able to use CMake to generate makefiles for Borland: # set project wide flags for compiler and linker IF(CMAKE_CXX_COMPILER M...
by Marco Eichelberg
Mon, 2004-12-06, 10:10
Forum: DCMTK - General
Topic: 3D Images using DCMTK
Replies: 1
Views: 7177

No, it does not. You might wish to look at tools such as ITK/VTK which are specifically intended for 3D reconstruction and rendering. A "plugin" for VTK named DicomToVtk that uses DCMTK to load DICOM images (CT/MR slices) into a VTK volume has been developed by Tobias Wissmueller, see FAQ ...
by Marco Eichelberg
Fri, 2004-12-03, 15:07
Forum: DCMTK - General
Topic: Can DCMTK be used in multithreaded application in some limited way?
Replies: 3
Views: 9077

There are probably a few more functions that need to be replaced by thread-safe counterparts. This is an article I looked up some time ago when I created an entry for this topic in our internal to-do list: Page 32 of the 1996 Posix.1 standard says "All functions defined by Posix.1 and the C sta...
by Marco Eichelberg
Fri, 2004-12-03, 13:29
Forum: DCMTK - General
Topic: Can DCMTK be used in multithreaded application in some limited way?
Replies: 3
Views: 9077

First of all, we have never really tried this, so all comments below should be taken with care. The answer to your question depends on the platform. On Windows, all winsock functions are thread safe, so the only thing that would need to be protected are global and static objects, including a static ...
by Marco Eichelberg
Fri, 2004-12-03, 09:57
Forum: DCMTK - General
Topic: Difference between the options --call and --aetitle of echoscu
Replies: 1
Views: 8097

When opening a network connection, the application that initiates the connection transmits two symbolic names to the remote system: The Calling Application Entitity Title identifies the client application itself. DICOM does not attach a specific meaning to this symbolic name (except that it uniquely...
by Marco Eichelberg
Fri, 2004-12-03, 09:21
Forum: DCMTK - General
Topic: metainfo grp size
Replies: 1
Views: 5294

DICOM files that do not include (0002,000) Group Length in the meta-header are badly malformed because this element is the only place from where the decoder can reliably determine the end of the meta-header, i.e. the point in which the transfer syntax may change. DCMTK will in most cases refuse to l...
by Marco Eichelberg
Fri, 2004-12-03, 09:17
Forum: DCMTK - General
Topic: lossless jpeg supported bit depths
Replies: 1
Views: 5918

The patched IJG JPEG implementation should be able to decode anything between 2 and 16 bits for lossless JPEG, it will just be unable to create a compressed stream with 15 bits/sample (this would be padded to 16).
by Marco Eichelberg
Wed, 2004-12-01, 11:37
Forum: DCMTK - General
Topic: Clarification regarding the imagectn configuration file imagectn.cfg
Replies: 5
Views: 9888

The connection from the server to the clients starts as soon as a well-formed retrieve request (C-MOVE-RQ message) is received. Queries against the index database do not require the additional connection. In the retrieve request, the client transmits a third AETitle, called the "Move AE Title&q...
by Marco Eichelberg
Wed, 2004-12-01, 11:17
Forum: DCMTK - General
Topic: DICOM Print ! but with postscript!!!
Replies: 3
Views: 9380

I am not aware of any open source tool that would convert DICOM images to PostScript. There should certainly be tools that convert general purpose formats to PostScript (use Google), but there is no specific tool I could recommend. PostScript is indeed a programming language. The only way to impleme...
by Marco Eichelberg
Wed, 2004-12-01, 10:16
Forum: DCMTK - General
Topic: Clarification regarding the imagectn configuration file imagectn.cfg
Replies: 5
Views: 9888

The DICOM Query/Retrieve protocol uses two separate connections for image downloads from the archive. The first connection is initiated by the client and is used to transmit the query and retrieve requests and status update messages. The second connection is initiated from the archive to the client ...
by Marco Eichelberg
Wed, 2004-12-01, 10:14
Forum: DCMTK - General
Topic: DICOM Print ! but with postscript!!!
Replies: 3
Views: 9380

If your printer only supports PostScript, and does not include a DICOM Print SCP, then you will not be able to print on it with a DICOM Print SCU. It's that simple (although this certainly does not help you). There are two options for you: Forget the Print SCU code and write code that converts your ...
by Marco Eichelberg
Mon, 2004-11-29, 17:00
Forum: DCMTK - General
Topic: Configuration file of PRINT SCP
Replies: 2
Views: 8447

The various parameters of the dicomscope.cfg configuration file are explained in the file itself; the same file is also available in the DCMTK source code distribution in dcmpstat/etc/dcmpstat.cfg. A peer type "LOCALPRINTER" means that DICOMscope will start a Print SCP process for this vir...