Search found 1788 matches

by Michael Onken
Mon, 2020-07-13, 21:34
Forum: DCMTK - Installation
Topic: DCMTK MacOS Installation Homebrew
Replies: 2
Views: 30

Re: DCMTK MacOS Installation Homebrew

Hi, I don't know CodeBLlocks so I cannot help with that. Here is a hit how you can include DCMTK into your CMake-based project using CMake's find_package mechanism . General examples how to read and write DICOM files and how to access DICOM tags can be found in the dcmdata documentation (scroll down...
by Michael Onken
Thu, 2020-07-09, 10:37
Forum: DCMTK - General
Topic: MOVESCU Unable to process
Replies: 4
Views: 37

Re: MOVESCU Unable to process

Hi, no you cannot influence the transfersytanx between PACS and image receiver, so you do not have to provide it via movescu. If there is a problem between PACS server and image receiver on the connection, you should at least see a connection attempt in the storescp log. I can't see a problem with t...
by Michael Onken
Thu, 2020-07-09, 10:21
Forum: DCMTK - General
Topic: MOVESCU Unable to process
Replies: 4
Views: 37

Re: MOVESCU Unable to process

Hi, the PACS server can probably not connect back to you. The +P option only requires to be the port, not the IP, to tell movescu which port it should listen for incoming images. The PACS server only uses the move AE title (provided with -aem) to lookup IP and port; what you provide with +P is not s...
by Michael Onken
Fri, 2020-06-12, 15:45
Forum: DCMTK - General
Topic: Store SCP error: DIMSE Failed to receive message
Replies: 3
Views: 100

Re: Store SCP error: DIMSE Failed to receive message

Hi, I agree that this looks like a VPN issue where the network connection breaks down in the middle of the communication. If there is a virus scanner running in the background, I would try to disable it for testing. We had cases where this was also a cause of weird connection problems. Best regards,...
by Michael Onken
Mon, 2020-05-25, 14:52
Forum: DCMTK - General
Topic: DCMODIFY and DCMDUMP private tags
Replies: 4
Views: 542

Re: DCMODIFY and DCMDUMP private tags

Hi,
I will ask the author of dcmodify to comment on this.
That would be me...

There is a bug with the reservation checking for private tags. I have fixed this in commit f7bd99. Do you have the chance to compile from source and try the new version?

Best regards,
Michael
by Michael Onken
Mon, 2020-04-27, 10:22
Forum: DCMTK - General
Topic: Insert meta header to dataset
Replies: 4
Views: 294

Re: Insert meta header to dataset

Hi, yes, understood. But the tag 0002,0016 (i.e. group number 0002) is not permitted in a dataset according to the DICOM standard. Otherwise just copy the value to any other tag: OFString val; metainfo->findAndGetOFStringValue(DCM_SourceApplicationEntityTitle​, val); dataset->putAndInsertOFStringArr...
by Michael Onken
Fri, 2020-04-24, 16:13
Forum: DCMTK - General
Topic: Insert meta header to dataset
Replies: 4
Views: 294

Re: Insert meta header to dataset

Hi,

do something like this (add error checks where necessary):

Code: Select all

DcmFileFormat dcmff;
dcmff.loadFile("file.dcm");
// Most relevant part:
dcmff.getMetaInfo()->putAndInsertOFStringArray(DCM_SourceApplicationEntityTitle, "DESIREDAETITLE");
dcmff.saveFile();
Best regards,
Michael
by Michael Onken
Fri, 2020-02-21, 14:10
Forum: Other DICOM Tools
Topic: dcmodify and private sequence attributes
Replies: 4
Views: 662

Re: dcmodify and private sequence attributes

Sorry, I did not have the time to look into this in depth, I will check within the next days.

Best,
Michael
by Michael Onken
Fri, 2020-02-21, 14:08
Forum: DCMTK - General
Topic: Do we have any validation Report for DCMTK Lib?
Replies: 3
Views: 354

Re: Do we have any validation Report for DCMTK Lib?

Hi,

some vendors definitely have such an approval with DCMTK as part of their system but I dont know how they did it and we (DCMTK team) do not have any validation reports.

Best,
Michael
by Michael Onken
Wed, 2020-02-19, 12:05
Forum: DCMTK - General
Topic: Do we have any validation Report for DCMTK Lib?
Replies: 3
Views: 354

Re: Do we have any validation Report for DCMTK Lib?

Hi, I am not aware of any validation report of any type. Also I am not sure what kind of validation you are referring to, e.g. DCMTK as a software under the medical device directive or with FDA label? We know various companies that use DCMTK in their medical products but I don't know how they did th...
by Michael Onken
Wed, 2020-02-12, 09:29
Forum: Other DICOM Tools
Topic: dcmodify and private sequence attributes
Replies: 4
Views: 662

Re: dcmodify and private sequence attributes

Hi, under some cirumstances it is into possible for a DICOM parser to recognize and parse unknown private sequence data. Is the file encoded in Little Endian Implicit? It could also be a problem with the lookup method dcmodify uses to recognize the tag on the commandline, so I am not 100% sure that ...
by Michael Onken
Tue, 2020-02-04, 11:40
Forum: DCMTK - General
Topic: Getting file id from DICOMDIR
Replies: 3
Views: 413

Re: Getting file id from DICOMDIR

Hi, you could use DcmItem's findAndGetElements() to retrieve all occurrences of a tag. I think you must load it as a regular DICOM file/dataset (not via DcmDicomDir), i.e. DcmFileformat dcmff; dcmff.loadFile("DICOMDIR"); dcmff.getDataset()->findAndGetElements(....) ... Best regards, Michael
by Michael Onken
Tue, 2020-02-04, 09:23
Forum: DCMTK - General
Topic: Storescu/ dcmqrscp Transfer Syntax option
Replies: 8
Views: 988

Re: Storescu/ dcmqrscp Transfer Syntax option

Hi, JPEG Baseline options are -xy for storescu, and +xy for dcmqrscp, I think. Best regards, Michael PS instead of storescu you could also use dcmsend which is smarter than storescu. It can also decompress if desired, eg if the server does not accept compression. To decompress also lossy images with...
by Michael Onken
Tue, 2020-02-04, 09:19
Forum: DCMTK - General
Topic: Getting file id from DICOMDIR
Replies: 3
Views: 413

Re: Getting file id from DICOMDIR

dcmdump +P ReferencedFileID DICOMDIR
by Michael Onken
Fri, 2020-01-31, 18:24
Forum: DCMTK - General
Topic: dcmqrscp and --assoc-config-file
Replies: 6
Views: 464

Re: dcmqrscp and --assoc-config-file

Hi,

thanks for the update and the link to the great website! I agree that it would be helpful to allow unknown Storage SOP Classes in the future.

Maybe option -pm (like in storescp) would make sense in dcmqrscp, too?

Best regards,
Michael