Search found 1461 matches

by Marco Eichelberg
Mon, 2024-06-10, 15:36
Forum: DCMTK - General
Topic: Secure Connections with DCMTK
Replies: 6
Views: 220

Re: Secure Connections with DCMTK

It would be nice if we just turned on TLS with a preprocessing value set to true and then have the code inject the TLS layer instead of having to do it ourselves. It is certainly possible to make the code nicer. The TLS support was developed as an add-on years after the network module, which in par...
by Marco Eichelberg
Mon, 2024-06-10, 15:32
Forum: DCMTK - General
Topic: dcmPreferVRFromDataDictionary and EVR_ox
Replies: 12
Views: 132

Re: dcmPreferVRFromDataDictionary and EVR_ox

EVR_ox is used for attributes that may be either OB or OW in DICOM, such as WaveformData. The DCMTK parser actually looks at the value of WaveformBitsAllocated to determine whether OB or OW should be used. You can either force WaveformData to OW by calling setVR(EVR_OW), or access the value with get...
by Marco Eichelberg
Sat, 2024-06-01, 17:36
Forum: DCMTK - General
Topic: Specific Character set issue
Replies: 11
Views: 739

Re: Specific Character set issue

convertToUTF8() should be able to convert all valid DICOM character sets to UTF-8 when using the oficonv library.
When using GNU libiconv and ICU, only a subset of character sets is supported. In particular, the ICU-based implementation in DCMTK will not support the character sets for Japanese.
by Marco Eichelberg
Sat, 2024-06-01, 17:33
Forum: DCMTK - General
Topic: Specific Character set issue
Replies: 11
Views: 739

Re: Specific Character set issue

How to get the SpecificCharacterSet from dataset if multiple exists and if two values is present which one is need to consider the first one This is explained in detail in DICOM Part 5. In brief: Every attribute value that is subject to specific character set (e.g. attributes of the value represent...
by Marco Eichelberg
Wed, 2024-05-29, 10:08
Forum: DCMTK - General
Topic: Specific Character set issue
Replies: 11
Views: 739

Re: Specific Character set issue

The underlying code in DCMTK should handle this case just fine. No special handling needed if you want to convert that to UTF-8 (ISO_IR 192). Note, however, that the other direction, i.e. conversion of Unicode into more than one target character set, is not supported in DCMTK.
by Marco Eichelberg
Tue, 2024-05-28, 08:50
Forum: DCMTK - General
Topic: Specific Character set issue
Replies: 11
Views: 739

Re: Specific Character set issue

DCMTK expects the data files for character set conversion in a certain place, in your case, for example, there should be a file '/usr/local/share/dcmtk-3.6.8/esdb/esdb/esdb.alias.db''.
If you need to use a different path, you can use the environment variable DCMICONVPATH to point to that directory.
by Marco Eichelberg
Tue, 2024-05-28, 08:39
Forum: DCMTK - General
Topic: ECG modality (scu) does not find records in wlmscpfs (scp) when they exist
Replies: 11
Views: 622

Re: ECG modality (scu) does not find records in wlmscpfs (scp) when they exist

please change this to dcmEnableAutomaticInputDataCorrection.set( OFTrue ); and retry.
by Marco Eichelberg
Sat, 2024-05-25, 12:23
Forum: DCMTK - General
Topic: ECG modality (scu) does not find records in wlmscpfs (scp) when they exist
Replies: 11
Views: 622

Re: ECG modality (scu) does not find records in wlmscpfs (scp) when they exist

there is one thing you might want to try, if you can compile wlmscpfs from source: in file dcmwlm/libsrc/wlmactmg.cc , look for the following line: dcmEnableAutomaticInputDataCorrection.set( OFFalse ); Change "OFFalse" to "OFTrue", re-compile and check if it makes a difference. I...
by Marco Eichelberg
Fri, 2024-05-24, 13:39
Forum: DCMTK - Installation
Topic: Configuring DCMTK using CMake Utility
Replies: 7
Views: 523

Re: Configuring DCMTK using CMake Utility

Great to hear that it's working now :)
by Marco Eichelberg
Fri, 2024-05-24, 13:38
Forum: DCMTK - General
Topic: ECG modality (scu) does not find records in wlmscpfs (scp) when they exist
Replies: 11
Views: 622

Re: ECG modality (scu) does not find records in wlmscpfs (scp) when they exist

The provider keeps telling me that it is a Transfer Syntax issue. I disagree. I see no sign of any transfer syntax related problems. If the modality negotiates Implicit VR Little Endian, then the worklist SCP will convert all response messages to that transfer syntax before sending. If the provider...
by Marco Eichelberg
Fri, 2024-05-24, 13:34
Forum: DCMTK - General
Topic: Specific Character set issue
Replies: 11
Views: 739

Re: Specific Character set issue

It looks like you are trying to compile DCMTK 3.6.2 on MacOS for ARM. That platform is only supported since DCMTK 3.6.8.
DCMTK 3.6.2, which is from 2017, predates the existence of MacOS for ARM by several years.
by Marco Eichelberg
Fri, 2024-05-24, 13:28
Forum: DCMTK - General
Topic: Secure Connections with DCMTK
Replies: 6
Views: 220

Re: Secure Connections with DCMTK

1. Once I build the toolkit using WITH_OPENSSL, I should be able to do secure and unsecure connections (I think the answer is yes)? Correct. 2. Is the only way to create, and use secure, connections with TLS to always create a DcmTLSTransportLayer and pass it to ASC_setTransportLayer? Yes, this is ...
by Marco Eichelberg
Tue, 2024-05-21, 16:52
Forum: DCMTK - General
Topic: Secure Connections with DCMTK
Replies: 6
Views: 220

Re: Secure Connections with DCMTK

I would suggest that you look at how dcmnet/apps/findscu.cc does this, since this is one of the DCMTK command line tools that support secure TLS connections. dcmnet/apps/storescp.cc would be an example of a server application with TLS support.
by Marco Eichelberg
Tue, 2024-05-21, 16:50
Forum: DCMTK - Installation
Topic: Configuring DCMTK using CMake Utility
Replies: 7
Views: 523

Re: Configuring DCMTK using CMake Utility

I am sorry, Michael, but this is not really a DCMTK question. There are certainly tutorials out there how to compile things with Visual Studio. Basically, you need to start Visual Studio, open the "solution" file (.sln) and start the compiler within Visual Studio.
by Marco Eichelberg
Sat, 2024-05-18, 18:58
Forum: DCMTK - Installation
Topic: Configuring DCMTK using CMake Utility
Replies: 7
Views: 523

Re: Configuring DCMTK using CMake Utility

This information is not sufficient to provide any help. CMake certainly reports more about the source of the problem than "Error in configuration process". First thing to check, have you installed the C++ compiler within Visual Studio? That is not installed by default. In the Visual Studio...