Search found 15 matches

by xargon
Tue, 2016-03-01, 00:22
Forum: DCMTK - General
Topic: confused about the use of putAndInsertXXX
Replies: 2
Views: 3565

confused about the use of putAndInsertXXX

I have a DcmDataSet (ds) object and I am trying to edit some tag values in my code and I am using methods like: putAndInsertOFStringArray putAndInsertString putAndInsertUint16 putAndInsertFloat64 putAndInsertUint16Array Now, before I call any of these methods, should I call ds->remove(TAG_IDENTIFIER...
by xargon
Fri, 2015-03-06, 15:08
Forum: DCMTK - General
Topic: Need help with using DcmOutputBufferStream
Replies: 1
Views: 2765

Need help with using DcmOutputBufferStream

I am trying to use the DcmOutputBufferStream class so that I can have the DICOM file in memory. I need this because I am writing the file to an in memory zip archive. However, the file that is written to the ZIP archive is different from the one that I can save to the disk. Using orison to load the ...
by xargon
Sun, 2015-02-15, 21:18
Forum: DCMTK - General
Topic: Write DICOM file to memory
Replies: 3
Views: 4061

Re: Write DICOM file to memory

Thanks for the reply! May I ask how I can know the size of the buffer that needs to be allocated for the DcmOutputBufferStream? As I understand it, I will need to allocate the buffer of the correct size and I wonder how I can compute this size from a DcmDataSet object which I aim to serialize into t...
by xargon
Sun, 2015-02-15, 03:10
Forum: DCMTK - General
Topic: Write DICOM file to memory
Replies: 3
Views: 4061

Write DICOM file to memory

I am using DCMTK to write DICOM files to disk and this works quite well. So, I briefly do something as follows: DcmDataset * ds = image->dcm_file_format->getDataset(); // Modify DICOM as needed... DcmFileFormat file_format(ds); file_format.saveFile(filename); This works quite well. However, I would ...
by xargon
Mon, 2014-10-27, 19:34
Forum: DCMTK - General
Topic: Creating a new DICOM image from an existing DICOM image
Replies: 1
Views: 2694

Creating a new DICOM image from an existing DICOM image

Hi all, I am trying to create a new DICOM file from an existing DICOM file. So, the scenario is that I have a DICOM file and I do some image processing on it and produce a transformed/processed file and I would like to save it using the original file as a template. The only things that change are 1:...
by xargon
Wed, 2008-02-20, 08:36
Forum: DCMTK - General
Topic: question abgout writing DICOM files
Replies: 1
Views: 3268

question abgout writing DICOM files

Hi everyone, I have a question about writing DICOM files. What I have is a DICOM volume that I segment. I want to write the result as another DICOM volume and what I was thinking was cloning the original DICOM volume and then simply changing some data fields like SeriesUID, description etc.. (whatev...
by xargon
Fri, 2008-02-15, 00:25
Forum: DCMTK - General
Topic: CMake does not find dcmtk
Replies: 3
Views: 4639

Thanks for your reply but there is no ld.conf.so on my mac... :(
by xargon
Sun, 2008-02-10, 02:06
Forum: DCMTK - General
Topic: CMake does not find dcmtk
Replies: 3
Views: 4639

CMake does not find dcmtk

Hi everyone, I have installed DCMTk and it is installed in my /usr/local/dicom folder with sub-directories for include, bin, lib, etc. So, what I want to do is use the libraries in my own project and I simply add FIND_PACKAGE(DCMTK required) in my CMakeLists.txt file. However, the paths to all the i...
by xargon
Fri, 2008-01-25, 17:38
Forum: DCMTK - General
Topic: Getting the DICOM key/value map
Replies: 1
Views: 2933

Getting the DICOM key/value map

Hi everyone, This might be a simple question but what I want to do is get the DICOM meta data information as a simple key/value structure. If possible, the keys which have multiple values can be concatenated... What I want to do is simple display the DICOM tags and values in a table...So if there is...
by xargon
Thu, 2007-09-13, 17:48
Forum: DCMTK - General
Topic: loading just the meta header information
Replies: 4
Views: 5635

Hi Michael,

Thanks for the reply. You mention:
your call loads all elements into memory that are larger than the size (in bytes) given by DCM_MaxReadLength.
Don't you mean that all elements less than the size given by DCM_MaxReadLength are loaded?

Thanks,
Luca
by xargon
Thu, 2007-09-13, 17:02
Forum: DCMTK - General
Topic: loading just the meta header information
Replies: 4
Views: 5635

loading just the meta header information

Hi everyone, I am using the DCMTK library on Linux and have a need where I have to recursively scan and build volumes from files in a user specified directory. The problem is that I am running out of memory doing these scans. To arrange the DICOM files, I only need the information from the headers. ...
by xargon
Mon, 2007-07-16, 04:46
Forum: DCMTK - Installation
Topic: DCMTK on Mac OS X anyone?
Replies: 10
Views: 22043

Hello,

Checked under the Makefile.def and found the following line:

GLOBALDEFS = -DHAVE_CONFIG_H

Cheers,
Anja
by xargon
Thu, 2007-07-12, 12:29
Forum: DCMTK - Installation
Topic: DCMTK on Mac OS X anyone?
Replies: 10
Views: 22043

Moe strange problems

Hello, I modified the include as you said, so now it looks as following: #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dcfilefo.h" #include "dcmtk/dcmdata/dcdatset.h" #include "dcmtk/ofstd/oftypes.h" This again works on windows with no problems (I...
by xargon
Wed, 2007-07-11, 15:09
Forum: DCMTK - Installation
Topic: DCMTK on Mac OS X anyone?
Replies: 10
Views: 22043

Thanks! I will try it today!
by xargon
Tue, 2007-07-10, 21:10
Forum: DCMTK - Installation
Topic: DCMTK on Mac OS X anyone?
Replies: 10
Views: 22043

DCMTK on Mac OS X anyone?

Hi everyone, I have a project that works well on windows and linux and uses VTK along with DCMTK. I recently tried to port in to OS X and get the following errors from the DCMTK files. DCMTK had compiled and installed fine. My includes look as follows: #ifdef _WIN32 #include "dcmtk/config/cfwin...