Search found 11 matches

by Sergey Prokudaylo
Wed, 2021-09-01, 11:06
Forum: DCMTK - General
Topic: How to modify sequence in multiframe
Replies: 5
Views: 2507

Re: How to modify sequence in multiframe

It works, thanks al lot!
by Sergey Prokudaylo
Tue, 2021-08-31, 10:20
Forum: DCMTK - General
Topic: How to modify sequence in multiframe
Replies: 5
Views: 2507

Re: How to modify sequence in multiframe

Thank you. Let me clarify my question: how to erase items in sequence ? For example I have CT multiframe. The details of each frame are given in DCM_PerFrameFunctionalGroupsSequence, in this sequence there are some items like DCM_CTExposureSequence. As soon as I reduce number of frames I have to era...
by Sergey Prokudaylo
Mon, 2021-08-30, 10:11
Forum: DCMTK - General
Topic: How to modify sequence in multiframe
Replies: 5
Views: 2507

How to modify sequence in multiframe

Hi All, Working with CT multiframe dicom file, I need to reduce number of frames. To do it correctly I need (at least) to reduce amount of sequence in DCM_CTExposureSequence. How it could be done ? Or perhaps I have to ask what for an approach should be used reduce amount of frames in multiframe CT ...
by Sergey Prokudaylo
Wed, 2021-08-25, 11:17
Forum: DCMTK - General
Topic: How to write tag to multiframe
Replies: 2
Views: 1851

Re: How to write tag to multiframe

Thanks a lot, it works, I've changes 4th parameters to "false" as in call Dataset->findAndGetSequence(DCM_PerFrameFunctionalGroupsSequence, dcmSqPerFrame, true, false).good() so in call item->findAndGetSequence(DCM_CTExposureSequence, dcmSqCTExposure, true, false).good() obviously omitting...
by Sergey Prokudaylo
Tue, 2021-08-24, 12:06
Forum: DCMTK - General
Topic: How to write tag to multiframe
Replies: 2
Views: 1851

How to write tag to multiframe

Dear All, I try to write tag to CT multiframe, namely DCM_XRayTubeCurrentInmA. This tag in my file is twice wrapped in sequence. This is my code: DcmFileFormat fileformat; if (fileformat.loadFile("D:/xxx/test.dcm").good() cout << "File opened \n" << endl; else { cout << cout << &...
by Sergey Prokudaylo
Tue, 2021-08-24, 11:08
Forum: DCMTK - General
Topic: confused about the use of putAndInsertXXX
Replies: 2
Views: 3564

Re: confused about the use of putAndInsertXXX

Thank you sir, but my was successfully generated, and tags I try to write in are available in this dcdeftag.h. Perhaps the issue in in somethis different. I'll make a new topic to ask my question.
by Sergey Prokudaylo
Fri, 2021-08-20, 17:30
Forum: DCMTK - General
Topic: problem with 'Howto: Add an item to a sequence' example
Replies: 4
Views: 3523

Re: problem with 'Howto: Add an item to a sequence' example

Dear collegues, what a dictionary you are talking about above ? I have similar problem with putAndInsertString...
by Sergey Prokudaylo
Tue, 2020-10-20, 10:58
Forum: DCMTK - General
Topic: How to get number of instances in study from PACS?
Replies: 2
Views: 1574

How to get number of instances in study from PACS?

I use sendFINDRequest to look for studies in PACS and use its result in sendCGETRequest to download studies from PACS. It works, but before starting to download I need to know how many instances (dicom files) are in study ? Like in case of CT modality for example?
by Sergey Prokudaylo
Thu, 2020-09-10, 11:53
Forum: DCMTK - General
Topic: getOutputData question - not correct output
Replies: 2
Views: 1572

Re: getOutputData question - not correct output

Vielen Dank!
It was really not too smart from my side to expect signed HU from unsigned type.
by Sergey Prokudaylo
Tue, 2020-09-08, 13:39
Forum: DCMTK - General
Topic: getOutputData question - not correct output
Replies: 2
Views: 1572

getOutputData question - not correct output

Dear Sirs, I try to get b/w CT image from dicom by function int DicomImage::getOutputData (void *buffer, ...) The values of HU units in all pixels in image are by value 32768 = 2^15 bigger than correct values. In other words the result of getOutputData shifted by the same value 32768 = 2^15. The dic...