Search found 1815 matches

by Michael Onken
Thu, 2021-06-03, 11:14
Forum: DCMTK - General
Topic: Proper way to add private sop class uid
Replies: 3
Views: 76

Re: Proper way to add private sop class uid

For completeness: If you plan to patch DCMTK with a private SOP Class (though I doubt you need it that deep in DCMTK), we have a wiki page that describes the most important code files. As Marco said, for most networking tools there are either configuration options or a configuration file.

Michael
by Michael Onken
Thu, 2021-05-20, 11:03
Forum: DCMTK - General
Topic: Combine two data sets
Replies: 2
Views: 67

Re: Combine two data sets

Hi Amal, there is no specific support for that. There are some methods in DcmIODCommon (dcmtk/dcmiod/iodcmmn.h) to import basic patient/study/series data from other projects, if this is what you are looking for. Otherwise you would have to copy DICOM elements manually between datasets. Best regards,...
by Michael Onken
Thu, 2021-05-06, 11:45
Forum: DCMTK - General
Topic: Issue with Modality Worklist Config and Setup for Esaote G-Scan and Orthanc
Replies: 10
Views: 219

Re: Issue with Modality Worklist Config and Setup for Esaote G-Scan and Orthanc

Hi Stephen,

regarding dump2dcm: The tool adds, if necessary, the null byte itself, you dont need to specify it.
regarding the root: You could also use the Orthanc root, or write a little tool (few lines with DCMTK) to generate a UID locally, if this is an option for you.

Best regards,
Michael
by Michael Onken
Thu, 2021-05-06, 08:36
Forum: DCMTK - General
Topic: Questions on pdf2dcm.exe
Replies: 4
Views: 117

Re: Questions on pdf2dcm.exe

Hi,

try DLLS for dcmdata, oflog and ofstd.

Best regards,
Michael
by Michael Onken
Wed, 2021-05-05, 16:51
Forum: DCMTK - Installation
Topic: Working movescu with same --port and port number. Bad?
Replies: 3
Views: 138

Re: Working movescu with same --port and port number. Bad?

Ah, yes, sorry, I read over that one. Not 100% sure if I understand the question, but: You cannot use the same port on the same system, so in that regard you cannot "re-use" a port. So if 138.218.233.66 is yourself then you should use a different port at the "--port 1112" option. Make sure the PACS ...
by Michael Onken
Wed, 2021-05-05, 09:00
Forum: DCMTK - General
Topic: Issue with Modality Worklist Config and Setup for Esaote G-Scan and Orthanc
Replies: 10
Views: 219

Re: Issue with Modality Worklist Config and Setup for Esaote G-Scan and Orthanc

Hi Stephen, So if Esaote added: (0008,1030) LO (no value available) # 0, 0 StudyDescription to the query, then that value would be returned to the scanner and they could use that to populate that tag ? Exactly, otherwise you will never get it back. However, note that support for returning this field...
by Michael Onken
Wed, 2021-05-05, 08:24
Forum: DCMTK - Installation
Topic: Working movescu with same --port and port number. Bad?
Replies: 3
Views: 138

Re: Working movescu with same --port and port number. Bad?

Hi, DICOM datasets, i.e. actual DICOM objects (CT image, Structured Report, etc.) never contain tags from group (0002,...) since those are reserved for the DICOM meta header which is part of the DICOM file format. When you transfer DICOM file (in file format) to a network destination, you have to cu...
by Michael Onken
Tue, 2021-05-04, 07:59
Forum: DCMTK - General
Topic: Issue with Modality Worklist Config and Setup for Esaote G-Scan and Orthanc
Replies: 10
Views: 219

Re: Issue with Modality Worklist Config and Setup for Esaote G-Scan and Orthanc

Hi, Study Description: The simple general rule is that the worklist server only returns what you ask it for. So the request must contain StudyDescription (with empty value) to get the description back from the worklist server. Study Instance UID: Yes, a single (!) NULL byte is used to make the UID v...
by Michael Onken
Tue, 2021-05-04, 07:50
Forum: DCMTK - General
Topic: Questions on pdf2dcm.exe
Replies: 4
Views: 117

Re: Questions on pdf2dcm.exe

Hi, dcm2pdf that you can download here as part of the 3.6.6 executable windows binaries is not self-contained but links against (some of) the DLLs that are also contained in the download package. However, since the DLLs are in the same directory as the dcm2pdf.exe binary, I think running this binary...
by Michael Onken
Thu, 2021-04-29, 08:58
Forum: DCMTK - General
Topic: Anonymize Dicom data from code
Replies: 2
Views: 89

Re: Anonymize Dicom data from code

Hi, unfortunately we do not have any anonymization routines in DCMTK that you could call. You could use the dcmodify code base (mdfdsman.cc) as a basis but it is probably easier to directly use the API provided by DcmItem directly. Note that good anonymization takes some effort. See the Attribute Co...
by Michael Onken
Fri, 2021-04-09, 08:01
Forum: DCMTK - General
Topic: dcmtls_scp_pool_tls test instability?
Replies: 7
Views: 282

Re: dcmtls_scp_pool_tls test instability?

Ok thank you very much. Probably my colleague who wrote the test should check this more thoroughly. We'll get back to you.

Best regards
Michael
by Michael Onken
Thu, 2021-04-08, 16:02
Forum: DCMTK - General
Topic: dcmtls_scp_pool_tls test instability?
Replies: 7
Views: 282

Re: dcmtls_scp_pool_tls test instability?

Hi, thank you for trying this. I just realized the problem is in dcmtk/dcmtls/tests/tscuscptls.cc which a colleague wrote (I did not notice it before thats way the "tls" slipped through my attention when reading your report), sorry. I / we have to check the tscuscptls.cc test as well. My first try w...
by Michael Onken
Thu, 2021-04-08, 12:03
Forum: DCMTK - General
Topic: dcmtls_scp_pool_tls test instability?
Replies: 7
Views: 282

Re: dcmtls_scp_pool_tls test instability?

Hi Troels, so far no instability I know of. Since the test uses client and server threads that interact with each other, I guess there is a timing problem. My first guess is that the problem is the following line in the test (dcmtk/dcmnet/tests/tpool.cc): OFStandard::sleep(5) Since this can be inter...
by Michael Onken
Tue, 2021-04-06, 10:45
Forum: DCMTK - General
Topic: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT
Replies: 10
Views: 445

Re: dcmjpeg encoder crashes on EPI_YBR_RCT and EPI_YBR_ICT

-Wall is not part of our CMake configuration right now. We consider to enable it per default.

Best regards,
Michael
by Michael Onken
Thu, 2021-03-25, 16:48
Forum: DCMTK - General
Topic: Unexpected exit code using dcmftest
Replies: 1
Views: 142

Re: Unexpected exit code using dcmftest

Hi,

Thank you for the report! We'll fix this and let you know once it's online.

Best regards,
Michael