Search found 6 matches

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

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

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

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

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

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 after I...
by michar
Wed, 2018-04-18, 05:47
Forum: DCMTK - General
Topic: Remove all frames but the first
Replies: 4
Views: 1563

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