Search found 1792 matches

by Michael Onken
Thu, 2020-08-06, 08:30
Forum: DCMTK - General
Topic: Bug in DcmPersonName::writeJson
Replies: 4
Views: 170

Re: Bug in DcmPersonName::writeJson

Hi Shaeto,

thank you for the report, I added an entry to the bug tracker for now.

Best regards,
Michael
by Michael Onken
Thu, 2020-07-23, 07:17
Forum: DCMTK - General
Topic: Combining multiple images into single multi-frame
Replies: 2
Views: 141

Re: Combining multiple images into single multi-frame

Hi, I think the best approach is to look into the dcmcjpeg application or more exactly, into the class that handles the encoding in dcmjpeg/libsrc/djcodece.cc. Look for example into DJCodecEncoder::encodeColorImage(...) that shows how you can construct a pixel sequence from scratch. Best regards, Mi...
by Michael Onken
Mon, 2020-07-20, 09:47
Forum: DCMTK - Installation
Topic: DCMTK MacOS Installation Homebrew
Replies: 8
Views: 393

Re: DCMTK MacOS Installation Homebrew

PS or create a CodeBlocks project file, see here for example: https://stackoverflow.com/questions/376 ... cmake-file

Also, CodeBlocks should show up on the cmake GUI if you prefer the GUI.
by Michael Onken
Mon, 2020-07-20, 09:45
Forum: DCMTK - Installation
Topic: DCMTK MacOS Installation Homebrew
Replies: 8
Views: 393

Re: DCMTK MacOS Installation Homebrew

Hi,

Maybe your IDE can directly load a project by opening the main CMakeLists.txt file?

Best regards,
Michael
by Michael Onken
Mon, 2020-07-13, 21:34
Forum: DCMTK - Installation
Topic: DCMTK MacOS Installation Homebrew
Replies: 8
Views: 393

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

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

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

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

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

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

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

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

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

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

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 ...