Search found 1741 matches

by Michael Onken
Tue, 2019-08-13, 08:49
Forum: DCMTK - Installation
Topic: Build dcmtk-3.6.4 failed on Debian 10 with gcc-8.3.0
Replies: 2
Views: 14

Re: Build dcmtk-3.6.4 failed on Debian 10 with gcc-8.3.0

Hi,

thank you for the report; the includes have been fixed meanwhile in commit 2d2f2 in December 2018.

Best regards,
Michael
by Michael Onken
Thu, 2019-08-08, 22:30
Forum: DCMTK - General
Topic: C-MOVE Query Failure with David Harvey's Testserver
Replies: 1
Views: 25

Re: C-MOVE Query Failure with David Harvey's Testserver

Hi, here it's probably the same (potential) issue as in your other thread: Your storage server is listening on the wrong port (in case of Dave Harvey's site your listen port must be the same port that you connect to on Dave's server, see documentation on his website) or is behind a firewall, or both...
by Michael Onken
Thu, 2019-08-08, 22:26
Forum: DCMTK - General
Topic: C-MOVE Response (Refused: OutOfResourcesSubOperations)
Replies: 1
Views: 22

Re: C-MOVE Response (Refused: OutOfResourcesSubOperations)

Hi, An error during MOVE that refers to sub operations always refers to a problem on the second connection, i.e. the connection the PACS is starting to the storage server in order to send the images. Probably the storage server is behind a firewall, not configured correctly in the PACS (e.g. wrong p...
by Michael Onken
Tue, 2019-07-16, 13:55
Forum: DCMTK - General
Topic: Create quality jpeg image
Replies: 3
Views: 66

Re: Create quality jpeg image

Hi, what do you mean by quality loss? Note that some DICOM images have more grayscale values than JPEG can actually store i.e. there is inherent loss when converting to JPEG in such cases. In many cases, however, dcmj2pnm can help selecting those grayscales that are most interesting and/or meaningfu...
by Michael Onken
Tue, 2019-07-09, 15:01
Forum: DCMTK - General
Topic: Check if no associations are being used.
Replies: 7
Views: 145

Re: Check if no associations are being used.

Hi,

you have your own code in place that receives the image(s) right? Why not counting them using a class member variable?

Best regards,
Michael
by Michael Onken
Tue, 2019-07-09, 09:20
Forum: DCMTK - General
Topic: Check if no associations are being used.
Replies: 7
Views: 145

Re: Check if no associations are being used.

Ah thanks Jörg, sure. I implemented something similar for a customer based on DcmSCP that's why I was mistaken.

Best,
Michael
by Michael Onken
Mon, 2019-07-08, 16:29
Forum: DCMTK - General
Topic: Check if no associations are being used.
Replies: 7
Views: 145

Re: Check if no associations are being used.

notifyAssociationTermination() is called by the code once the association is ending. The original implementation does nothing but logging a short message (see DcmSCP, it's no secret...). For such a report file you have to collect the number of SOP instances in your C-STORE handler, as said earlier, ...
by Michael Onken
Mon, 2019-07-08, 11:18
Forum: DCMTK - General
Topic: Check if no associations are being used.
Replies: 7
Views: 145

Re: Check if no associations are being used.

Hi, How can we find that the Association has been released? Overwrite the method notifyAssociationTermination() in your DcmSCP-derived class and you will notice an association release. There was a bug that prevented that method for being called, that has been fixed in a recent commit . How can we fi...
by Michael Onken
Sat, 2019-06-15, 10:06
Forum: DCMTK - General
Topic: support for fractional part of a second
Replies: 1
Views: 72

Re: support for fractional part of a second

Hi,

thank you for the pull request. We maintain the mirror on github, so we also get notified of new pull requests. We'll have a look at the patch, thanks!

Best regards,
Michael
by Michael Onken
Wed, 2019-06-05, 13:42
Forum: DCMTK - General
Topic: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory
Replies: 13
Views: 224

Re: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory

That sounds weird.

Did you try just using the first parameter in createDirectory and leave the second parameter empty ("")?
Of course the first parameter should be the value that you would also provide to System::IO::Directory::CreateDirectory().

Best regards,
Michael
by Michael Onken
Wed, 2019-06-05, 13:35
Forum: DCMTK - General
Topic: Fetching Patient Details
Replies: 4
Views: 134

Re: Fetching Patient Details

Hi Aditya, the reason is still the same I guess: You do not set any value in patientName, so it is empty all the time. Maybe you want to add the line dataset->findAndGetOFStringArray(DCM_PatientName, patientName) before the first if statement? Also, I don't know getchar() but maybe you want to use g...
by Michael Onken
Wed, 2019-06-05, 12:28
Forum: DCMTK - General
Topic: Fetching Patient Details
Replies: 4
Views: 134

Re: Fetching Patient Details

Hi,

the variable patientName is not set at all, is it?

To try the rest of your code, maybe just turn "if (patName == patientName)" into "if (true)" for a test run.

Best regards,
Michael
by Michael Onken
Tue, 2019-06-04, 15:20
Forum: DCMTK - General
Topic: DCMTK > find and store dicom files to local folder
Replies: 12
Views: 230

Re: DCMTK > find and store dicom files to local folder

Hi, -aet CALLING_AET111.111.111.111 4321 ^ -aec CALLED_AET 222.222.222.222 104 ^ Why do you provide two IP Adresses and ports? (also it seems that a space is missing before the 111...) You only need one ip and port. You can insert them at any position, i.e. before or after any of the options, e.g. t...
by Michael Onken
Thu, 2019-05-30, 13:52
Forum: DCMTK - General
Topic: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory
Replies: 13
Views: 224

Re: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory

Exactly, please see DcmStorageSCP as the perfect and complete example:)
by Michael Onken
Wed, 2019-05-29, 11:32
Forum: DCMTK - General
Topic: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory
Replies: 13
Views: 224

Re: DcmSCPPool, stopAfterCurrentAssociations and setOutputDirectory

Hi, you can do the following within handleSTORERequest(): DcmFileFormat fileformat; *reqDataset = fileformat.getDataset(); OFCondition result = receiveSTORERequest(...., reqDataset) if (result.good()) { result = fileformat.save("/path/to/the/output_file.dcm"); if (result.bad() {...} } You can see mo...