Search found 2054 matches

by Michael Onken
Fri, 2023-11-10, 08:50
Forum: DCMTK - General
Topic: How to override incorrectly labeled VR values
Replies: 6
Views: 11196

Re: How to override incorrectly labeled VR values

Hi Spencer, it should not matter if the attribute is stored with data type UN in the file as long DCMTK knows it and fix the VR by looking it up in the dictionary when loading it into memory. Maybe something with the dictionary is wrong, or you haven't loaded one. Let's try to find out what happens....
by Michael Onken
Wed, 2023-10-04, 06:59
Forum: DCMTK - General
Topic: possible memory leak in dulfsm
Replies: 1
Views: 8606

Re: possible memory leak in dulfsm

Hi,

you are right, this doesn't look good. I created an issue on the issue tracker.

Best regards,
Michael
by Michael Onken
Tue, 2023-09-19, 12:45
Forum: DCMTK - General
Topic: Exception in DT_2_IndicatePData
Replies: 1
Views: 8632

Re: Exception in DT_2_IndicatePData

Hi Vasyl,

thank you for the investigation and proposed patch. I roughly looked over it a few days ago and it looks good. We will discuss the patch on Friday and I provide final feedback then.

Best regards,
Michael
by Michael Onken
Thu, 2023-08-17, 09:42
Forum: DCMTK - General
Topic: Storescu With TLS
Replies: 6
Views: 13466

Re: Storescu With TLS

Analogous to storescu's "--propose-..." flags, storescp has some "--prefer-..." flags, e.g.

Code: Select all

--prefer-jpeg8
. However, to be sure storescp "eats" everything just use

Code: Select all

--accept-all
flag and you should be able to accept any transfer syntax.

BR Michael
by Michael Onken
Thu, 2023-08-17, 09:10
Forum: DCMTK - General
Topic: Storescu With TLS
Replies: 6
Views: 13466

Re: Storescu With TLS

Hi, storescu cannot (de)compress images and per default only supports uncompressed transmission. Try option --propose-jpeg8 to also propose JPEG Baseline, or --required to propose whatever is required if you also have files that use a different compression scheme than JPEG Baseline. If you want cust...
by Michael Onken
Wed, 2023-08-16, 09:52
Forum: DCMTK - General
Topic: Storescu With TLS
Replies: 6
Views: 13466

Re: Storescu With TLS

Hi,

make sure you download the DCMTK binaries that include the SSL extensions, see DCMTK 3.6.7 - OpenSSL based security extensions on the download page.

Best regards,
Michael
by Michael Onken
Mon, 2023-08-14, 12:53
Forum: DCMTK - General
Topic: Memory Leak occurring When Inserting 1000CT Datasets in std::map
Replies: 6
Views: 23175

Re: Memory Leak occurring When Inserting 1000CT Datasets in std::map

Hi,

I am not aware (at least) of any Windows-specific code in dcmdata's memory management, so I doubt the leak stems from DCMTK. If you can find the reason of the leak, let us know.

Best regards,
Michael
by Michael Onken
Thu, 2023-08-10, 13:51
Forum: DCMTK - General
Topic: Memory Leak occurring When Inserting 1000CT Datasets in std::map
Replies: 6
Views: 23175

Re: Memory Leak occurring When Inserting 1000CT Datasets in std::map

Hi, I doubt that the leak comes from DCMTK. I used this main(), running 10 iterations only, on a directory with > 1100 DICOM files (up-to-date DCMTK code): int main(int argc, char* argv[]) { std::string dir_path = "/path/to/images"; std::vector<fs::path> pathList; std::copy(fs::recursive_d...
by Michael Onken
Thu, 2023-08-03, 11:51
Forum: DCMTK - General
Topic: DIMSE Failed to receive message (line=653)
Replies: 4
Views: 10241

Re: DIMSE Failed to receive message (line=653)

Hi Arnauld, I agree with you that probably the conversion at the PACS side fails. Maybe your client could at least check the PACS logs to see how the PACS experiences this error. Also, if possible, get one of the affected DICOM files in original format (as it is stored in the PACS), if possible, by ...
by Michael Onken
Wed, 2023-08-02, 10:29
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 40884

Re: Download the MR image from a PACS server and save it in jpeg format.

Yes, the server will send the C-STORE-RQ (to you) with the image on the same association as the C-GET-RQ is sent (from your side, to the server). The C-GET Retrieve SOP Classes will, per design, always re-use the same association and will never use two associations.
by Michael Onken
Wed, 2023-08-02, 09:10
Forum: DCMTK - General
Topic: Error While Running StoreSCU
Replies: 5
Views: 10910

Re: Error While Running StoreSCU

HI,

Great that it worked :)

Note that --enable-tls requires two arguments (key file and certificate file) while you provided only one:

Code: Select all

  +tls  --enable-tls  [p]rivate key file, [c]ertificate file: string
          use authenticated secure TLS connection
Best regards,
Michael
by Michael Onken
Tue, 2023-08-01, 12:32
Forum: DCMTK - General
Topic: Error While Running StoreSCU
Replies: 5
Views: 10910

Re: Error While Running StoreSCU

Hi, it looks like something in the arriving command set of the C-STORE-RQ is wrong; in particular the DCMTK parser complains that this tag: (0000,0100) US [1] CommandField is missing, though at least in the DCM4CHEE log it is still present. Maybe you can record the DICOM communication using wireshar...
by Michael Onken
Mon, 2023-07-31, 13:09
Forum: DCMTK - General
Topic: Creating a Pacs Server With Google pacs service + dcm4che
Replies: 1
Views: 8870

Re: Creating a Pacs Server With Google pacs service + dcm4che

Hi,

at least I can say that there is no DCMTK-based solution. This is probably not well-suited for this forum.

Best regards,
Michael
by Michael Onken
Mon, 2023-07-31, 13:07
Forum: DCMTK - General
Topic: movescu works but no images are stored
Replies: 1
Views: 8561

Re: movescu works but no images are stored

Hi,

either CARDIAC1 is not configured in the PACS to your IP address/port, or the selected study does not have any images. Use --debug option and post check/post the details of the C-MOVE response.

Best regards,
Michael