Search found 2074 matches

by J. Riesmeier
Thu, 2019-06-13, 08:02
Forum: DCMTK - General
Topic: DicomImage writeBMP() lost information
Replies: 5
Views: 46

Re: DicomImage writeBMP() lost information

There is no rounding involved. Floating point numbers are truncated (to integers) if this was the question. For visualization purposes this makes no difference.
by J. Riesmeier
Wed, 2019-06-12, 10:43
Forum: DCMTK - General
Topic: DicomImage writeBMP() lost information
Replies: 5
Views: 46

Re: DicomImage writeBMP() lost information

I'm still not sure what your question is. If the input image is monochrome and has more than 8 bits per pixel, and the output image (in BMP format) supports only 256 shades of gray it should be obvious that some information is lost (grayscale values are downscaled, e.g. from 12 to 8 bits/pixel).
by J. Riesmeier
Mon, 2019-06-10, 19:03
Forum: DCMTK - Installation
Topic: error calling dcmtk from another project
Replies: 2
Views: 31

Re: error calling dcmtk from another project

what did I do wrong ? My first guess would be that you compiled your project and, therefore, also the included DCMTK header files with UNICODE or _UNICODE defined. This is not supported as you can read in the INSTALL file: Known limitations of DCMTK on the Windows platform. [...] 3. DCMTK does not ...
by J. Riesmeier
Mon, 2019-06-03, 17:31
Forum: DCMTK - General
Topic: DCMTK > find and store dicom files to local folder
Replies: 12
Views: 72

Re: DCMTK > find and store dicom files to local folder

What do you mean by the "results of the FIND"? Do you want to store the C-FIND response datasets (then use findscu with option -X) or the DICOM SOP Instances retrieved with movescu? Maybe, you should first read how DICOM Query/Retrieve works and then look into this HOWTO: https://support.dcmtk.org/r...
by J. Riesmeier
Mon, 2019-06-03, 17:22
Forum: DCMTK - General
Topic: DCMTK > find and store dicom files to local folder
Replies: 12
Views: 72

Re: DCMTK > find and store dicom files to local folder

You haven't specified the first (mandatory) parameter "peer" = hostname or IP address.
by J. Riesmeier
Mon, 2019-06-03, 15:56
Forum: DCMTK - General
Topic: DCMTK > find and store dicom files to local folder
Replies: 12
Views: 72

Re: DCMTK > find and store dicom files to local folder

Did you see this line?

Code: Select all

$dcmtk: movescu v1.0 2005-07-30 $
by J. Riesmeier
Mon, 2019-06-03, 15:53
Forum: DCMTK - General
Topic: DCMTK > find and store dicom files to local folder
Replies: 12
Views: 72

Re: DCMTK > find and store dicom files to local folder

Then, option -od should be available (also see -h output).

Maybe, you could post your exact command line call and the error message you get.
by J. Riesmeier
Mon, 2019-06-03, 15:37
Forum: DCMTK - General
Topic: DCMTK > find and store dicom files to local folder
Replies: 12
Views: 72

Re: DCMTK > find and store dicom files to local folder

First of all, you should check that the version of the movescu you use is not more than ten years old (option -od has been introduced back in November 2008). Then, you also have to specify option +P (--port) with the number of the port the movescu should listen on for incoming connection requests. O...
by J. Riesmeier
Wed, 2019-05-29, 15:11
Forum: Other DICOM Tools
Topic: Modality Worklist Database
Replies: 1
Views: 40

Re: Modality Worklist Database

Basically, you have to derive a new class from WlmDataSource and implement its methods (at least the abstract ones). See WlmDataSourceFileSystem for an example.
by J. Riesmeier
Mon, 2019-05-27, 15:23
Forum: DCMTK - General
Topic: Simplify output of dcmsend, findscu and movescu
Replies: 3
Views: 28

Re: Simplify output of dcmsend, findscu and movescu

Is there a way to output the resulting XML to stdout?
No, currently not. This would either require a new option or the filename specified for the --extract-xml-single option should be checked for "-" (as it is done e.g. in xml2dcm).
by J. Riesmeier
Mon, 2019-05-27, 13:51
Forum: DCMTK - General
Topic: Simplify output of dcmsend, findscu and movescu
Replies: 3
Views: 28

Re: Simplify output of dcmsend, findscu and movescu

Thank you for your (feature) request. findscu already has various --extract options for extracting the C-FIND response datasets to various formats, including DICOM and XML. I don't think that it makes sense to add further output formats since all DCMTK tools are basically meant as sample programs th...
by J. Riesmeier
Mon, 2019-05-20, 09:42
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 229

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

This is what I've meant in my first posting: use the latest version of the DCMTK tools. We've changed a few things in the networking module "dcmnet", which should enhance the performance on recent Linux systems (e.g. don't disable Nagle algorithm and don't set TCP send/receive buffer length by defau...
by J. Riesmeier
Wed, 2019-05-15, 09:10
Forum: DCMTK - General
Topic: storescp much slower than scp (copy through ssh)
Replies: 27
Views: 229

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: 27
Views: 229

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: 27
Views: 229

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

You could also call "cmake -L | fgrep CMAKE_BUILD_TYPE" to see the build type.