Search found 8 matches

by michar
Thu, 2021-05-20, 03:15
Forum: DCMTK - General
Topic: Store SCU TCP I/O Error - An existing connection was forcibly closed by the remote host.) occurred in routine: writeData
Replies: 1
Views: 2084

Store SCU TCP I/O Error - An existing connection was forcibly closed by the remote host.) occurred in routine: writeData

We have recently updated our QR service (based on imagectn) from DCMTK 3.5.3 / VS2008 / 32bit to DCMTK 3.6.5 / VS2019 / 64 bit The code has remained unchanged and we are able to QR using the new service. However when multiple retireves (Store SCU) happen in parallel over a combination of LAN and VPN...
by michar
Fri, 2021-05-07, 07:19
Forum: DCMTK - General
Topic: Change log filename
Replies: 1
Views: 2130

Change log filename

I am very confused about the DCMTK > 3.6.0 logging mechanism oflog/log4cplus

I simply need my code (not configuation file) to specify the logname for dcmtk to log into when my program starts.

How is that done ?

Thanks!
by michar
Wed, 2020-07-29, 01:55
Forum: DCMTK - Installation
Topic: DCMTK_COMPILE_WIN32_MULTITHREADED_DLL not working
Replies: 1
Views: 6306

DCMTK_COMPILE_WIN32_MULTITHREADED_DLL not working

Using latest DCMTK 3.6.5 and latest CMAKE and Visual Studio 2019

The DCMTK_COMPILE_WIN32_MULTITHREADED_DLL does not make a difference to the generated project files, on or off I always get MT debug dll on all the projects.

Any help ?
by michar
Mon, 2019-03-04, 05:46
Forum: DCMTK - General
Topic: compressing frames
Replies: 1
Views: 1786

compressing frames

Hi I have spent a huge amount of time on this and I cannot get it to work, and I feel totally in the dark. I need a function that receives a buffer containing a Dicom image single or multi frame either uncompressed or compressed (usually jpeg) a flag to determine in case of a multiframe if to return...
by michar
Thu, 2018-05-31, 03:50
Forum: DCMTK - General
Topic: dcmcjpeg burn overlays
Replies: 0
Views: 85956

dcmcjpeg burn overlays

Hi

How can I get dcmcjpeg to include overlays in the conversion ?

Is there any sample code to burn the overlays into the image ? (I just need a simple case of one overlay without any rotation etc)

Thank you!
by michar
Fri, 2018-04-20, 05:32
Forum: DCMTK - General
Topic: Remove all frames but the first
Replies: 4
Views: 3998

Re: Remove all frames but the first

Thank you !

We definitely need to do this before compression.

Is there any existing example or code showing removing frames (ie as you described by removing them, replacing pixeldata and updating dicom fields, or in some other way) ?
by michar
Thu, 2018-04-19, 01:39
Forum: DCMTK - General
Topic: Remove all frames but the first
Replies: 4
Views: 3998

Re: Remove all frames but the first

Input is a dicom file and output is the same dicom file compressed to JPEG My code is exactly like dcmcjpeg including all possible switches etc except it works in memory. The code works fine. What I need is that in the case of multiframe images I want to load&compress the first frame only So aft...
by michar
Wed, 2018-04-18, 05:47
Forum: DCMTK - General
Topic: Remove all frames but the first
Replies: 4
Views: 3998

Remove all frames but the first

My code is basically the equivalent of dcmcjpeg except it works in memory like this: DcmInputBufferStream dataBuf; dataBuf.setBuffer(inP, inL); dataBuf.setEos(); DcmFileFormat fileformat; fileformat.transferInit(); OFCondition cond = fileformat.read(dataBuf); if (cond.bad()) ... fileformat.transferE...