Search found 13 matches

by Geert Vandenbussche
Thu, 2022-09-29, 10:40
Forum: DCMTK - General
Topic: Findscu.exe: Change of behaviour in dcmtk-3.6.7-win64-dynamic
Replies: 13
Views: 2879

Re: Findscu.exe: Change of behaviour in dcmtk-3.6.7-win64-dynamic

There's indeed a difference in behaviour between the two versions, but the clue is in having -k 0010,0020 twice.
As '-k 0010,0020=191212121212' and as '-k 0010,0020'. The latter will clear the matching key.

Deleting '-k 0010,0020' from the command line should fix it within the latest release.
by Geert Vandenbussche
Thu, 2022-08-18, 14:42
Forum: DCMTK - General
Topic: JPEG lossless Cornell images with Huffman table overflow
Replies: 1
Views: 809

JPEG lossless Cornell images with Huffman table overflow

Hi, I have successfully processed 16-bit monochrome JPEG lossless objects compressed with the Cornell codec. However I also see some 8-bit RGB objects that have been compressed with the Cornell codec displaying incorrectly. Decompressing these objects with dcmdjpeg doesn't give the 'bad Huffman code...
by Geert Vandenbussche
Thu, 2022-08-18, 09:37
Forum: DCMTK - General
Topic: on the fly (de)compression
Replies: 2
Views: 987

Re: on the fly (de)compression

Thanks Marco, The issue was related to the PresentationContextID in the sendSTORERequest. If 0 is used, the PresentationContextID is used which relates to the original dataset, even after ds->chooseRepresentation(EXS_LittleEndianImplicit,NULL); resulting in the error. If the PresentationContextID is...
by Geert Vandenbussche
Sun, 2022-08-07, 18:03
Forum: DCMTK - General
Topic: on the fly (de)compression
Replies: 2
Views: 987

on the fly (de)compression

DCMTK 3.6.6 I'm trying to implement on the fly (de)compression with the following code framework: DcmSCU scu; ... if (fileformat.loadFile(sLocation, EXS_Unknown, EGL_recalcGL, DCM_MaxReadLength, ERM_fileOnly).good()) { ... if (fileformat.getDataset()->chooseRepresentation(EXS_LittleEndianImplicit, N...
by Geert Vandenbussche
Mon, 2022-04-25, 19:48
Forum: DCMTK - General
Topic: storescp, dcmrecv and termscu
Replies: 8
Views: 2001

Re: storescp, dcmrecv and termscu

Michael,

What do you mean by 'do not terminate as intended by that private SOP class'?

(Opposite way: I use DcmSCU to send private objects to PACS SCP's, didn't experience any problems with this so far.)

Thanks!
by Geert Vandenbussche
Mon, 2022-04-25, 10:24
Forum: DCMTK - General
Topic: storescp, dcmrecv and termscu
Replies: 8
Views: 2001

Re: storescp, dcmrecv and termscu

within storescp https://support.dcmtk.org/docs/storescp.html , you can use: -pm --promiscuous promiscuous mode, accept unknown SOP classes (not with --config-file) On dcmrecv https://support.dcmtk.org/docs/dcmrecv.html : Basically, the dcmrecv application supports all Storage SOP Classes as an SCP, ...
by Geert Vandenbussche
Tue, 2021-08-17, 10:45
Forum: DCMTK - General
Topic: question on DCM_MaxReadLength
Replies: 2
Views: 1925

Re: question on DCM_MaxReadLength

Marco,

Thank you for your comforting reply.
Indeed fileformat has a method called 'loadAllDataIntoMemory'. Made this configurable.

fyi:
Some results (635MB Breast Tomography object):
loadAllDataIntoMemory = true - 28s
loadAllDataIntoMemory = false - 19s

Best regards,

Geert
by Geert Vandenbussche
Sat, 2021-08-14, 17:39
Forum: DCMTK - General
Topic: question on DCM_MaxReadLength
Replies: 2
Views: 1925

question on DCM_MaxReadLength

Hi, Does a dataset, sent by the following piece of code include elements > DCM_MaxReadLength when sent over the wire? Or do I need to use fileformat.loadAllDataIntoMemory()? fileformat.loadFile(vector_image_object[i].slocation, EXS_Unknown, EGL_recalcGL, DCM_MaxReadLength, ERM_fileOnly); fileformat....
by Geert Vandenbussche
Mon, 2021-08-02, 09:33
Forum: DCMTK - General
Topic: experimental DcmSCU class
Replies: 3
Views: 2322

Re: experimental DcmSCU class

Jörg, Thanks for your reply. It's clear what is being meant with "experimental". What do you mean by "not according to the DICOM standard"? I only include the actual transfer syntaxes of the objects in the presentation contexts. Normally the DICOM Default Transfer Syntax should a...
by Geert Vandenbussche
Thu, 2021-07-29, 19:44
Forum: DCMTK - General
Topic: experimental DcmSCU class
Replies: 3
Views: 2322

experimental DcmSCU class

The documentation states: There are also two experimental classes for implementing a DICOM Service Class User and Provider: DcmSCU DcmSCP The following classes are derived from the above experimental classes and provide a particular DICOM Service: DcmStorageSCU DcmStorageSCP As the latter classes ar...
by Geert Vandenbussche
Tue, 2018-11-13, 17:49
Forum: DCMTK - General
Topic: problem with 'Howto: Add an item to a sequence' example
Replies: 4
Views: 3600

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

Loading the dictionary solved the problem. (0008,1140) SQ (Sequence with undefined length #=1) # u/l, 1 ReferencedImageSequence (fffe,e000) na (Item with undefined length #=2) # u/l, 1 Item (0008,1150) UI =CTImageStorage # 26, 1 ReferencedSOPClassUID (0008,1155) UI [1.2.276.0.7230010.3.1.4.178720542...
by Geert Vandenbussche
Tue, 2018-11-13, 14:47
Forum: DCMTK - General
Topic: problem with 'Howto: Add an item to a sequence' example
Replies: 4
Views: 3600

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

Hi, Compiled / installed DCMTK 3.6.3 on Ubuntu 14.04 (g++ (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4). using the following example (https://support.dcmtk.org/redmine/projects/dcmtk/wiki/Howto_AddSequenceItem): #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" int main...