Search found 2048 matches

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: 7956

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: 7956

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: 3927

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: 25077

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: 4425

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: 4425

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: 3534

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: 3254

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
by Michael Onken
Thu, 2023-07-27, 15:31
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 25077

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

P.S: And remove all but the following attributes from the C-GET request: D: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel D: (0020,000d) UI [1.2.840.113663.1500.1.313721677.1.1.20140708.145420.781] # 56, 1 StudyInstanceUID I removed: D: (0008,0050) SH (no value available) # 0, 0 AccessionNumber D...
by Michael Onken
Thu, 2023-07-27, 15:29
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 25077

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

You must also propose various Storage SOP Classes to the server which the server can use on the connection to send you the images. Look into getscu.cc how it's done there.

BR Michael
by Michael Onken
Thu, 2023-07-27, 11:07
Forum: DCMTK - General
Topic: movescu
Replies: 3
Views: 3657

Re: movescu

Great! And greetings back to Löningen/Berlin :)

BR,
Michael
by Michael Onken
Thu, 2023-07-27, 11:06
Forum: DCMTK - General
Topic: Download the MR image from a PACS server and save it in jpeg format.
Replies: 22
Views: 25077

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

Correct, you will receive the images on the same connection that is used to deliver the C-GET.

BR,
Michael
by Michael Onken
Wed, 2023-07-26, 13:25
Forum: DCMTK - General
Topic: dcmsend
Replies: 3
Views: 3692

Re: dcmsend

Hi,

please paste the full log of the dcmsend call. Add option --debug to show all relevant info.

BR,
Michael
by Michael Onken
Wed, 2023-07-26, 10:02
Forum: DCMTK - General
Topic: FINDSCU INFORMATION MODELS
Replies: 19
Views: 37028

Re: FINDSCU INFORMATION MODELS

Ebaad wrote: Tue, 2023-07-25, 14:42 After 17 years, I am back to the same question, but was able to resolve it.
It took a little while but what the heck :) Glad that it works for you now and that you remember this old post ;)

BR Michael