Search found 2062 matches

by J. Riesmeier
Wed, 2019-05-15, 09:10
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

How can I check that on Linux (Ubuntu 16.04 Server).
There are numerous tools. One of them is iperf.
by J. Riesmeier
Tue, 2019-05-14, 19:52
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

Did you already check what the maximum throughput of your network connection is (i.e. theoretically). Maybe, your "scp" tool compresses the transferred file by default,
by J. Riesmeier
Mon, 2019-05-13, 19:38
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

You could also call "cmake -L | fgrep CMAKE_BUILD_TYPE" to see the build type.
by J. Riesmeier
Mon, 2019-05-13, 19:34
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

This generates a release or debug version? I don't know since I (still) prefer GNU Autoconf on Linux systems. You should check this with "ccmake" (which I usually use on Linux when needed). if mine is a debug version can it be the cause of the slowness?. I don't think that it slows down the transfe...
by J. Riesmeier
Mon, 2019-05-13, 19:24
Forum: DCMTK - General
Topic: findAndGetUint8Array read of DCM_EncryptedContent
Replies: 2
Views: 18

Re: findAndGetUint8Array read of DCM_EncryptedContent

Deleting a NULL pointer should be OK (does nothing). Maybe, you delete the "data" pointer which refers to the internally stored element value, i.e. when you retrieved the pointer with findAndGetUint8Array()? I am wondering also if I should upgrade to a more recent version. You should definitely upgr...
by J. Riesmeier
Mon, 2019-05-13, 18:54
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

Now, I checked a similar scenario between a Debian stable (64 bit) and a Mint Linux (64 bit) system over a simple DSL connection. Both dcmsend/storescp (version 3.6.4) and scp transfer a 5 MB DICOM object/file with more or less the same speed. Sometimes even the DICOM C-STORE is a little faster sinc...
by J. Riesmeier
Mon, 2019-05-13, 14:12
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

The "I/O suspension or premature end of stream" status code is just the way DCMTK's DICOM dataset parser notifies the caller (in this case, the storage receiver) e.g. that further bytes are needed in order to parse a data element. This block is the slowest (approx. 1 second for each iteration): One ...
by J. Riesmeier
Mon, 2019-05-13, 11:13
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

You could enable TRACE log output (at least for the dcmnet module since the output for the dcmdata module might be annoying in this context). You might also want to test the +B (--bit-preserving) option of storescp.
by J. Riesmeier
Sun, 2019-05-12, 18:55
Forum: DCMTK - General
Topic: error C2678: binary '+': no operator found (DCMTK 3.6.4 & VS2017_x64)
Replies: 3
Views: 26

Re: error C2678: binary '+': no operator found (DCMTK 3.6.4 & VS2017_x64)

The solution would be to adapt your project settings so that neither UNICODE nor _UNICODE is defined.
by J. Riesmeier
Sat, 2019-05-11, 16:40
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 24
Views: 117

Re: storescp much slower than scp (copy through ssh)

Which version of the DCMTK tools do you use? There were some changes regarding the TCP/IP network options in the last couple of years/months (see CHANGES file or git log).
by J. Riesmeier
Thu, 2019-05-09, 13:08
Forum: DCMTK - General
Topic: DicomImage writeBMP() lost information
Replies: 1
Views: 18

Re: DicomImage writeBMP() lost information

I use the upper code to save a 'dcm' file as a 'bmp' file. when I use the function setWindow() or setMinMaxWindow(), I will got a bmp file with some informations lost. e.g.The pixels which value is 16 are lost. I found that the LUT got in dimoopxt.h when calculating LUT entries is a little differen...
by J. Riesmeier
Wed, 2019-05-08, 09:52
Forum: DCMTK - General
Topic: XMLNode::findPosition explanation
Replies: 4
Views: 40

Re: XMLNode::findPosition explanation

Marcel, did you read the corresponding comment in the header file "ofxml.h" (line 615): // these are functions and structures used internally by the XMLNode class (don't bother about them): I would strongly recommend not to start with an "external implementation" like the XML parser (aka "ofxml"). F...
by J. Riesmeier
Tue, 2019-05-07, 16:24
Forum: DCMTK - General
Topic: StoreSCP and Private Tag Data
Replies: 11
Views: 78

Re: StoreSCP and Private Tag Data

Both RT Dose and RT Plan are accepted with Little Endian Explicit VR Transfer Syntax, i.e. if the DICOM files created by DCMTK's storescp use the VR "UN" (Unknown) for private tags then this is how the Storage SCU (ELEKTA_NTPS_11.1) encoded the data elements. However, you should double check the fil...
by J. Riesmeier
Mon, 2019-05-06, 13:36
Forum: DCMTK - General
Topic: How to get data from DICOM file receiver in C++
Replies: 5
Views: 55

Re: How to get data from DICOM file receiver in C++

Sounds like you want to derive your own class from DcmStorageSCP and overwrite the notifyInstanceStored() method.