Search found 12 matches

by Misi
Fri, 2013-11-29, 10:51
Forum: DCMTK - General
Topic: Looking for character set demo samples
Replies: 2
Views: 3281

Re: Looking for character set demo samples

Uh, I made a mistake in my previews post. I'm looking for CT- and MR-series (no CR series).
by Misi
Fri, 2013-11-29, 10:27
Forum: DCMTK - General
Topic: Looking for character set demo samples
Replies: 2
Views: 3281

Looking for character set demo samples

Hi Friends, for testing purposes, I'm looking for some DICOM test data coded on another character set than ISO IR 100 (a.k.a. Latin-1). I need: - CR- or MR-series only - coded in ISO_IR 126 or ISO_IR 127 or ISO_IR 138 or ISO_IR 144 or ISO_IR 192 or ISO 2022 IR 87 or ISO 2022 IR 149 or in another non...
by Misi
Tue, 2013-10-15, 10:45
Forum: DCMTK - General
Topic: Does DCMTK support log4cplus::MDC?
Replies: 3
Views: 3611

Re: Does DCMTK support log4cplus::MDC?

Thanks for the answer. MDC would be helpful in situation when you use multithreading. For example, my application processes DICOM datasets in several threads at the same time and generates log outputs via OFLog. Then I could have difficulties to reproduce the processes because the log outputs become...
by Misi
Mon, 2013-10-14, 10:41
Forum: DCMTK - General
Topic: Does DCMTK support log4cplus::MDC?
Replies: 3
Views: 3611

Does DCMTK support log4cplus::MDC?

Hi guys,

for some time log4cplus provides a class "MDC", which allows to set a so-called context for logging. Very helpful in my opinion. I wonder if the current DCMTK-release also provides this feature? I cannot find any reference...

Thanks,
MiSi
by Misi
Wed, 2012-11-28, 17:12
Forum: DCMTK - General
Topic: Name of SopClassUID
Replies: 1
Views: 2281

Name of SopClassUID

Hi folks, as some of you might know, it is possible to get the name of a tag by using a method of DcmTag: DcmTag tag(aTagKey); //e.g. (0010,0010) OFString name = tag.getTagName(); //e.g. "PatientName" My Question is, is it also possible to get the names of SOPClassUIDs by using DCMTK? For ...
by Misi
Wed, 2012-11-28, 17:06
Forum: DCMTK - General
Topic: Copying an attribute
Replies: 3
Views: 3419

Re: Copying an attribute

Because you can not copy a sequence like a string. Also copying OW & OB have to be done in a different way. Usually you have to distinguish those value representations. If it would be possible to copy an attribute without taking care of the VR, you might save a lot of development time.
by Misi
Thu, 2012-11-22, 10:36
Forum: DCMTK - General
Topic: Copying an attribute
Replies: 3
Views: 3419

Copying an attribute

Hi, I wonder if its possible to copy an attribute from tag A to tag B - without handling the value representation of the tag. To be me more precise: I want to copy a tag, now matter if it holds a string or a sequence or a number. It seems that this is part of something I'm looking for: DcmDataSet::f...
by Misi
Fri, 2012-11-16, 13:54
Forum: DCMTK - General
Topic: Does OFLog provide different character sets?
Replies: 7
Views: 7024

Re: Does OFLog provide different character sets?

After several frustrating hours of unsuccessfull trying & testing of different configurations as well as all kinds of character transformations possible by DCMTK & QT, I decided to abandon OFLog. Instead I use Log4Qt now, whose character encoding can be set individually and which also bases ...
by Misi
Mon, 2012-11-12, 21:10
Forum: DCMTK - General
Topic: Does OFLog provide different character sets?
Replies: 7
Views: 7024

Re: Does OFLog provide different character sets?

In a nutshell, I use: - Visual Studio 2010 - QT4 - DCMTK 3.6.0 My program: - Character Set is MBCS (multi byte character set) - I also tried Unicode without success - DCMTK is also MBCS-compiled - "Treat WChar_t As Built in Type" option of visual studio is disabled (required for using QT u...
by Misi
Mon, 2012-11-12, 18:37
Forum: DCMTK - General
Topic: Does OFLog provide different character sets?
Replies: 7
Views: 7024

Re: Does OFLog provide different character sets?

Thank you for the explanation. I tried "Notepad++" to convert the generated log file to Utf-8. Unfortunately, without success. Have you ever successfully viewed a log file with unicode characters inside & generated by OFLog? Can you recommend another editor/viewer which is able to do t...
by Misi
Mon, 2012-11-12, 12:51
Forum: DCMTK - General
Topic: Does OFLog provide different character sets?
Replies: 7
Views: 7024

Re: Does OFLog provide different character sets?

Doesn't anybody have an advice?
by Misi
Wed, 2012-11-07, 10:44
Forum: DCMTK - General
Topic: Does OFLog provide different character sets?
Replies: 7
Views: 7024

Does OFLog provide different character sets?

Hi, a simple question: Is OFLog capable to produce logs in other languages/charctersets than Latin1? For example I'd like to append a message like: OFLogger my_log = OFLog::getLogger("dcmtk.apps.sample"); OFLOG_ERROR(my_log, "Can't identify patient with name Микки Маус"); // <- r...