Search found 63 matches

by kamil
Fri, 2019-10-25, 10:54
Forum: DCMTK - General
Topic: How can I get WSI image tile pixel by level, tile, col, row?
Replies: 1
Views: 2088

How can I get WSI image tile pixel by level, tile, col, row?

Do dcmtk support this API?
If not, how do I implement it?
Thanks!
by kamil
Thu, 2014-05-15, 03:05
Forum: DCMTK - General
Topic: How to read Chinese characters from DICOM
Replies: 3
Views: 6752

Re:

As a follow-up: Today, we've completed a first version of an enhanced character set support for the DCMTK. This also includes the ISO 2022 code extension technique. If compiled with "libiconv", all affected strings in a DICOM dataset using any of the DICOM character sets can now be conver...
by kamil
Thu, 2014-05-15, 02:49
Forum: DCMTK - Installation
Topic: LIBICONV_SECOND_ARGUMENT_CONST - Failed
Replies: 6
Views: 19346

Re: LIBICONV_SECOND_ARGUMENT_CONST - Failed

Correct. Unfortunately, we not have a ready-to-use "pre-compiled" version of libiconv for Windows/VisualStudio right now since the character set conversion code has been added after the latest release (DCMTK 3.6.0). I don't find "offical" way to compile libiconv v1.14 in windows...
by kamil
Wed, 2014-05-14, 04:25
Forum: DCMTK - Installation
Topic: LIBICONV_SECOND_ARGUMENT_CONST - Failed
Replies: 6
Views: 19346

Re: LIBICONV_SECOND_ARGUMENT_CONST - Failed

hi, I follow the :http://www.codeproject.com/Articles/302012/How-to-Build-libiconv-with-Microsoft-Visual-Studio guide to create libiconv library, and define "LIBICONV_SECOND_ARGUMENT_CONST" manually, and the ofstd compiled well, but the dcmconv has some problem: 2>ofstd.lib(ofchrenc.obj) :...
by kamil
Wed, 2014-05-14, 01:35
Forum: DCMTK - Installation
Topic: LIBICONV_SECOND_ARGUMENT_CONST - Failed
Replies: 6
Views: 19346

Re: LIBICONV_SECOND_ARGUMENT_CONST - Failed

You cannot mix header files from one package with a library from another package... especially not after the configuration step has been completed. I just want to know the steps to add libiconv for dcmtk 3.6.1, compile the "dcmconv" project with WITH_LIBICONV and LIBICONV_SECOND_ARGUMENT_...
by kamil
Tue, 2014-05-13, 06:32
Forum: DCMTK - Installation
Topic: LIBICONV_SECOND_ARGUMENT_CONST - Failed
Replies: 6
Views: 19346

LIBICONV_SECOND_ARGUMENT_CONST - Failed

Hi, I try to use libiconv, I was downloaded libiconv in dcmtk's main page http://dicom.offis.de/dcmtk#lib-win, it's 3.6.0 version. And I'm using DCMTK-3.6.1_20131114 as source. In the cmake settings, I checked "DCMTK_WITH_ICONV" and set "WITH_LIBCONVINC" path to above libiconv pa...
by kamil
Thu, 2014-05-08, 09:08
Forum: DCMTK - Installation
Topic: Cmakelist.txt of 3.6.1 missing Platform-specific settings
Replies: 18
Views: 80382

Re: Cmakelist.txt of 3.6.1 missing Platform-specific setting

Found the solotion: in the file dcmtkPrepare.cmake are some /MT options which i changed from /MT to /MD and everything works like a charm. Btw: I don't know why but the cmake gui shows me /MD on the compiler flags while the option was /MT ( in the file). It seems to me if cmake generates the projec...
by kamil
Tue, 2014-01-21, 10:15
Forum: DCMTK - General
Topic: SR Value Type 'PNAME' can't add child node
Replies: 2
Views: 4020

Re: SR Value Type 'PNAME' can't add child node

Hi, I have found this relationship has been added in dcmtk 3.6.1.
by kamil
Tue, 2014-01-21, 09:56
Forum: DCMTK - General
Topic: SR Value Type 'PNAME' can't add child node
Replies: 2
Views: 4020

SR Value Type 'PNAME' can't add child node

According to A.35.8.3.1.3 PS 3.3 Relationship Constraints, the Source Value Type "PNAME" should own "HAS PROPERTIES" Relationship with Target Value Type "TEXT, CODE, DATETIME, DATE,TIME, UIDREF, PNAME". But when I try my code: res = doc->getTree().addContentItem(DSRType...
by kamil
Mon, 2014-01-20, 11:02
Forum: DCMTK - General
Topic: Can not save SR file: "invalid value"
Replies: 7
Views: 7645

Re: Can not save SR file: "invalid value"

No, you have to use DSRDocument::setManufacturerModelName() in order to set the value before you write the SR document to a DICOM dataset. And, of course, this also applies to the other three attributes of the Enhanced General Equipment Module. Here's a list from the DSRDocument header file: // ---...
by kamil
Mon, 2014-01-20, 10:41
Forum: DCMTK - General
Topic: Can not save SR file: "invalid value"
Replies: 7
Views: 7645

Re: Can not save SR file: "invalid value"

So, here you have the answer :) The X-Ray Radiation Dose SR IOD defines the Enhanced General Equipment Module as being "mandatory", and in this module the "ManufacturerModelName" is required. The solution is easy: Just provide all required (type 1) attributes with a non-empty, v...
by kamil
Mon, 2014-01-20, 10:10
Forum: DCMTK - General
Topic: Can not save SR file: "invalid value"
Replies: 7
Views: 7645

Re: Can not save SR file: "invalid value"

J. Riesmeier wrote:
The "condRes" refers to "ECC_invalid value", any suggestion?
What does the debug logger say?
W: ManufacturerModelName (0008,1090) absent in EnhancedGeneralEquipmentModule (type 1)
by kamil
Mon, 2014-01-20, 08:44
Forum: DCMTK - General
Topic: Can not save SR file: "invalid value"
Replies: 7
Views: 7645

Can not save SR file: "invalid value"

Hi, I follow the http://support.dcmtk.org/wiki/dcmtk/howto/mammocadsr to create a SR file, the sample works, but my code faild. Here is my code: if (doc != NULL) { doc->createNewDocument(DSRTypes::DT_XRayRadiationDoseSR); doc->setPatientName("Last Name^First Name"); doc->setPatientSex(&quo...
by kamil
Mon, 2013-12-09, 02:17
Forum: DCMTK - Installation
Topic: Cmakelist.txt of 3.6.1 missing Platform-specific settings
Replies: 18
Views: 80382

Re: Cmakelist.txt of 3.6.1 missing Platform-specific setting

Apparently, the linker error is caused by your own program (and not by any of the DCMTK tools). So I guess that you missed to link a library to your program. Did you link the standard Windows libraries to your program, which are also linked to all DCMTK tools (i.e. ws2_32, netapi32, wsock32)? After...
by kamil
Fri, 2013-12-06, 09:13
Forum: DCMTK - Installation
Topic: Cmakelist.txt of 3.6.1 missing Platform-specific settings
Replies: 18
Views: 80382

Re: Cmakelist.txt of 3.6.1 missing Platform-specific setting

Then you should disable the option "DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS" in the CMake user interface... Hi, thank you for your reply, when I use dcmdata.lib, there is an error: 1>------ Rebuild All started: Project: ConsoleApplication1, Configuration: Debug x64 ------ 1>Build started 201...