Search found 10 matches

by IThirunarayanan
Thu, 2021-04-29, 17:07
Forum: DCMTK - General
Topic: Anonymize Dicom data from code
Replies: 2
Views: 31

Re: Anonymize Dicom data from code

Thank you!
by IThirunarayanan
Wed, 2021-04-28, 17:34
Forum: DCMTK - General
Topic: Anonymize Dicom data from code
Replies: 2
Views: 31

Anonymize Dicom data from code

Hello dcmtk team,

Is there a way to anonymize Dicom data using dcmtk from code rather than with the dcmodify app?

Thanks.
by IThirunarayanan
Tue, 2021-04-27, 17:01
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 115

Re: How to write Dcm file for RT Structure Set

Seems like I needed to set the Transfer Syntax. I am able to now write the file. I am yet to verify the contents. Thank you!
by IThirunarayanan
Tue, 2021-04-27, 00:25
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 115

Re: How to write Dcm file for RT Structure Set

The following line of code returns OF_ok auto status = rtStruct.write(*fileformat.getDataset()); but the saveFile returns a status of OF_error with code 7 and text "Illegal call, perhaps wrong parameters". rtStruct is of type DRTStructureSetIOD and rtStruct.isValid() is true. OFFilename dcmFile("D:\...
by IThirunarayanan
Mon, 2021-04-26, 16:59
Forum: DCMRT
Topic: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item
Replies: 4
Views: 76

Re: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item

Thank you. I didn't realize that the pointer to addItem was a return parameter.
by IThirunarayanan
Wed, 2021-04-21, 00:46
Forum: DCMRT
Topic: How to add DRTContourSequence::Item to an DRTROIContourSequence::Item
Replies: 4
Views: 76

How to add DRTContourSequence::Item to an DRTROIContourSequence::Item

Hello dcmtk team, Can you please provide an example to set the contour sequences in the DRTROIContourSequence::Item of DRTStructureSetIOD? With the below strategy, when I return to main(), rtStruct.getROIContourSequence().getItem(0) results in default empty DRTContourSequence::Item and the value set...
by IThirunarayanan
Tue, 2021-04-20, 17:25
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 115

Re: How to write Dcm file for RT Structure Set

Thank you. How about tags like ImplementationVersionName or ImplementationClassUID or MediaStorageSOPInstanceUID that are specific to the manufacturer? Do we not set these tags in the file meta data?
by IThirunarayanan
Tue, 2021-04-20, 06:07
Forum: DCMRT
Topic: How to write Dcm file for RT Structure Set
Replies: 7
Views: 115

How to write Dcm file for RT Structure Set

Hello dcmtk team, I am new to dcmtk and Dicom. I populated all the tags of an DRTStructureSetIOD object. Now I want to write this object to a dcm file. Assuming rtStruct is my fully populated DRTStructureSetIOD object, is the following the correct way to do it? DcmFileFormat fileformat; auto status ...