Search found 1902 matches

by Michael Onken
Wed, 2022-09-07, 10:39
Forum: DCMTK - General
Topic: dcmodify: image extremely truncated
Replies: 7
Views: 150

Re: dcmodify: image extremely truncated

Hi, where did you download DCMTK? If you download from dcmtk.org you should use dcmtk-3.6.7-win64-dynamic.zip from that site, instead of dcmtk-3.6.7-win32-dynamic.zip. The latter will only be able to use 4 GB of memory per process while the 64 bit version is (practically) only limited to your system...
by Michael Onken
Mon, 2022-09-05, 15:57
Forum: DCMTK - General
Topic: dcmodify: image extremely truncated
Replies: 7
Views: 150

Re: dcmodify: image extremely truncated

Hi,

hard to say without looking at the file, sorry, maybe the length field of the pixel data element in the file is already wrong before (but the field stores ca. 4GB anyway?). Is there no related output on the logger?

Best regards,
Michael
by Michael Onken
Mon, 2022-09-05, 15:53
Forum: DCMTK - General
Topic: Unable to change Implementation Class UID and Implementation Version Name
Replies: 5
Views: 162

Re: Unable to change Implementation Class UID and Implementation Version Name

Hi, the reason is that if you use DCMTK in order to write or transfer DICOM objects, then, by our interpretation, DCMTK is still the DICOM software implementation that you use. Maybe we also like to see DCMTK-based implementation version information from time to time ;) Anyway, I understand the need...
by Michael Onken
Mon, 2022-09-05, 15:35
Forum: DCMTK - General
Topic: Invalid sop instance uid - bad Dicom file
Replies: 11
Views: 157

Re: Invalid sop instance uid - bad Dicom file

Hi,

can you post the generated UID? e.g. run dcmdump +P SOPInstanceUID <yourfile.dcm>

Best regards,
Michael
by Michael Onken
Fri, 2022-08-05, 08:57
Forum: DCMTK - General
Topic: Unable to Compress DICOM Image File wtih Lossless JPEG
Replies: 2
Views: 144

Re: Unable to Compress DICOM Image File wtih Lossless JPEG

Hi, the file is already compressed using JPEG baseline (see the Transfer Syntax 1.2.840.10008.1.2.4.50 = JPEG Baseline (Process 1). You can only compress uncompressed pixel data (i.e. transfer syntaxes Little Endian Implicit/Explicit and Big Endian Explicit) using chooseRepresentation(). So one way ...
by Michael Onken
Wed, 2022-07-13, 10:58
Forum: Other DICOM Tools
Topic: static port for storescu
Replies: 1
Views: 298

Re: static port for storescu

This topic is handled here instead. Please avoid double posting.
by Michael Onken
Tue, 2022-07-12, 19:02
Forum: DCMTK - General
Topic: Static Port for storescu
Replies: 5
Views: 373

Re: Static Port for storescu

This is most likely to configure outgoing connections from the PACS, I.e. a system the PACS should send images to. Its unlikely you have to configure this or any port at all for storescu.

BR,
Michael
by Michael Onken
Tue, 2022-07-12, 16:53
Forum: DCMTK - General
Topic: Static Port for storescu
Replies: 5
Views: 373

Re: Static Port for storescu

Hi, sorry, I was busy. You wrote: As you can see in the images in the study one, storescu uses port 49955 to send the study to my PACS and study two uses port 49958. I could not see that from the logs you posted. Usually, only the port of the PACS, i.e. the "listening party", the receiver, is intere...
by Michael Onken
Wed, 2022-07-06, 09:33
Forum: DCMTK - General
Topic: Static Port for storescu
Replies: 5
Views: 373

Re: Static Port for storescu

Hi Brian, I am not able to understand the problem. Can you post your storescu call? The port of the PACS, that receives the images, should (and very like *is*) always the same once configured on the PACS. Or do you want to receive images? Then storescu would not be the right tool. Best regards, Mich...
by Michael Onken
Wed, 2022-07-06, 09:31
Forum: DCMTK - General
Topic: Send multiple images as a serie to the practice IT
Replies: 1
Views: 140

Re: Send multiple images as a serie to the practice IT

Hi, in order to send all images in on series all those images must already be part of the same series. That means, that all the images must have the same value for Series Instance UID (0020,000E). Note that if two images are in the same series, they must also be in the same study, so the Study Insta...
by Michael Onken
Thu, 2022-06-30, 10:14
Forum: DCMTK - General
Topic: How to populate request MessageId when deriving from DcmScu
Replies: 30
Views: 3340

Re: How to populate request MessageId when deriving from DcmScu

Hi Jøger, https://github.com/DCMTK/dcmtk/pull/57 (Extend DcmScu with support for N-SET requests) is rebased on top of master, and with some slight fixes since the previous draft. In particular, the attributeList of the DcmSCU::sendNSETRequest is made mandatory. This also goes for DcmSCU::sendNCREATE...
by Michael Onken
Wed, 2022-06-29, 08:41
Forum: DCMTK - General
Topic: How to populate request MessageId when deriving from DcmScu
Replies: 30
Views: 3340

Re: How to populate request MessageId when deriving from DcmScu

Hi,

I will look at the pull request. I think it is possible that the EF_Slow mark was the EF_Slow mark caused the tests not having problems. As far as I remember, we now run a few builds with EF_Slow tests but I need to recheck that.

Best regards,
Michael
by Michael Onken
Tue, 2022-06-28, 15:05
Forum: DCMTK - General
Topic: How to populate request MessageId when deriving from DcmScu
Replies: 30
Views: 3340

Re: How to populate request MessageId when deriving from DcmScu

Hi Jøger, I assume this is a universal challenge for automated testing of DICOM networking functionality. Maybe it could be possible to let the OS assign a free port if the DcmSCP is configured with port 0. DcmSCP seems to already have a function to query the port. I will look into what it would tak...
by Michael Onken
Tue, 2022-06-28, 13:31
Forum: DCMTK - General
Topic: How to populate request MessageId when deriving from DcmScu
Replies: 30
Views: 3340

Re: How to populate request MessageId when deriving from DcmScu

Hi Jøger, Hi again Michael, I am trying to understand why the unit tests failed in your build environment. I believe that if these kind of tests fail on a build server, it is not unlikely that the code could fail also in a real life scenario. True. Such tests are extremely useful for detecting hard-...
by Michael Onken
Wed, 2022-06-22, 09:19
Forum: DCMTK - General
Topic: Slow transfer rates (this time with actual measurements)
Replies: 18
Views: 950

Re: Slow transfer rates (this time with actual measurements)

You should then try to experiment with a different PDU size on storescp, since storescp tells the other party which PDU size they can maximally send to storescp (to see whether it makes a difference)