Search found 2067 matches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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