Search found 2217 matches

by Jörg Riesmeier
Thu, 2011-03-17, 16:33
Forum: DCMTK - General
Topic: TLS callback and better logging in error case
Replies: 1
Views: 3184

Thank you for you proposal. I've added it to our to-do list in order to make sure that it doesn't get lost.
by Jörg Riesmeier
Thu, 2011-03-17, 16:21
Forum: DCMTK - General
Topic: Write Dicom File to memory
Replies: 6
Views: 8972

When the fileformat is written, some data elements in the meta information header are updated or added (if they were missing before) - see DcmFileFormat::validateMetaInfo(). So, I guess that the "missing bytes" are caused by this ...

Btw, why do you want to create a DICOM file in memory?
by Jörg Riesmeier
Thu, 2011-03-17, 16:10
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 29056

Are there any other differences in the environment, e.g. environment variables that are used by DCMTK set or unset? Memory exhausted ...

What exactly is the returned condition and what is the output in verbose/debug mode?
by Jörg Riesmeier
Thu, 2011-03-17, 16:08
Forum: DCMTK - General
Topic: How to add a bitmap image to a overlay
Replies: 1
Views: 2914

Are you sure that an overlay plane is an appropriate solution, e.g. does the viewing workstation support DICOM overlays at all?
by Jörg Riesmeier
Thu, 2011-03-17, 16:01
Forum: DCMTK - General
Topic: Converting raw data to DICOM from the buffer
Replies: 7
Views: 10512

".raw" is not an image format, so I cannot answer your question. If the image data is monochrome or RGB color or something like that, it should be no problem to make it "DICOM-compatible" without much computing time. However, before starting to implement anything based on the DIC...
by Jörg Riesmeier
Mon, 2011-03-14, 09:05
Forum: DCMTK - General
Topic: how to load Enhanced Multiframe Object with dcmtk?
Replies: 11
Views: 17895

I was was asking what "count" is because you probably understood the API documentation wrong: fstart first frame to be processed (optional, 0 = 1st frame), all subsequent use of parameters labeled 'frame' in this class refers to this start frame. fcount number of frames (optional, 0 = all ...
by Jörg Riesmeier
Fri, 2011-03-11, 14:53
Forum: DCMTK - General
Topic: Portable way to access path where app is running?
Replies: 4
Views: 4915

As a default, as least for Windows systems where it is difficult to find an appropriate default directory, we sometimes use the value of "argv[0]" which contains the name of the executable binary. This value is passed to a library function that uses e.g. the Windows API function SearchPath...
by Jörg Riesmeier
Thu, 2011-03-10, 18:40
Forum: DCMTK - General
Topic: how to load Enhanced Multiframe Object with dcmtk?
Replies: 11
Views: 17895

What is "count" in your sample code? Why don't you just follow what the referenced Howto shows?
by Jörg Riesmeier
Thu, 2011-03-10, 08:57
Forum: DCMTK - General
Topic: Read dicom tags
Replies: 1
Views: 4280

The two tags are usually not present on the main dataset-level but in a nested sequence (e.g. Radiopharmaceutical Information Sequence (0054,0016)). And, as you can read in the documentation , findAndGetElement() by default does not search into sequences. Btw, why are you using the numeric tags and ...
by Jörg Riesmeier
Wed, 2011-03-09, 13:46
Forum: DCMTK - General
Topic: Ini file reader
Replies: 11
Views: 12215

As far as I know, and I'm not the developer of OFConfigFile, you have to use upper case characters only in the program, i.e. not necessarily in the config file.
by Jörg Riesmeier
Wed, 2011-03-09, 11:10
Forum: DCMTK - General
Topic: Converting raw data to DICOM from the buffer
Replies: 7
Views: 10512

Without knowing any details on your acquisition process, I guess that storing the image data (RGB uncompressed, MPEG-2 or whatever) directly in a format that is compatible with DICOM would be a first step. You could then store the acquired image data directly in a memory buffer provided by the DCMTK...
by Jörg Riesmeier
Wed, 2011-03-09, 10:47
Forum: DCMTK - General
Topic: Converting raw data to DICOM from the buffer
Replies: 7
Views: 10512

No, we haven't tested DCMTK under real-time conditions. However, since DICOM does not support streaming of data (at least not natively), I guess that you need to buffer the data anyway.
by Jörg Riesmeier
Wed, 2011-03-09, 09:35
Forum: DCMTK - General
Topic: dcmj2pnm overlay data does not look right
Replies: 15
Views: 25434

The overlay planes are associated with frame 90 and 118. Other than that I cannot find any abnormalities: The overlay planes are rendered as expected when using the patched version of dcmj2pnm.

You should probably ask the OsiriX people whether they support overlays in multi-frame images at all.
by Jörg Riesmeier
Tue, 2011-03-08, 16:09
Forum: DCMTK - General
Topic: Ini file reader
Replies: 11
Views: 12215

Have you already tried to use upper case characters for the section names and keywords, i.e. "DEFAULT" and "HTTPPORT"?
by Jörg Riesmeier
Tue, 2011-03-08, 16:06
Forum: DCMTK - General
Topic: Converting raw data to DICOM from the buffer
Replies: 7
Views: 10512

Of course, this is possible with DCMTK. A very simple example on how to do this can the found in the documentation (see the second example). Depending on your "raw data", you might also need/want to use putAndInsertUint16Array() or createUint8/16Array() instead of putAndInsertUint8Array()....