Search found 43 matches

by kattabomane
Tue, 2021-06-01, 20:33
Forum: DCMTK - General
Topic: Proper way to add private sop class uid
Replies: 3
Views: 1817

Re: Proper way to add private sop class uid

Hello,
Thanks for your reply.
K.
by kattabomane
Tue, 2021-05-18, 13:12
Forum: DCMTK - General
Topic: Proper way to add private sop class uid
Replies: 3
Views: 1817

Proper way to add private sop class uid

Hello, I am using dcmtk for underlaying dicom operations in my product. What is the proper way to add a private sop class uid ? This in order to support a private PR object. Is this a proper way to add it into dcuid.h ? Is there any other mechanism (like inheritance, interface) to do this ? Thanks f...
by kattabomane
Wed, 2020-07-29, 17:10
Forum: DCMTK - Installation
Topic: Compiling using visual studio 2019
Replies: 3
Views: 6884

Compiling using visual studio 2019

Hello, I am trying to compile dcmtk with visual studio 2019 on windows 10. Unfortunatly "Pre-compiled libraries" are only available for visual studio 2017. Is there anyone succedeed in building them on visual studio 2019 ? Any hints for having external libraries for visual studio 2019 ? Th...
by kattabomane
Tue, 2018-08-21, 05:31
Forum: DCMTK - Installation
Topic: Compiling errors with support libraries for windows
Replies: 2
Views: 4864

Re: Compiling errors with support libraries for windows

Hello, i figured out some mixture between /MD and /MT. Using Cmake i have the following : CMAKE_CXX_FLAGS_DEBUG : /MDd /Zi /Ob0 /Od /RTC1 CMAKE_CXX_FLAGS_RELEASE : /MD /O2 /Ob2 /DNDEBUG CMAKE_C_FLAGS_DEBUG : /MDd /Zi /Ob0 /Od /RTC1 CMAKE_C_FLAGS_RELEASE : /MD /O2 /Ob2 /DNDEBUG But the projects in Vi...
by kattabomane
Tue, 2018-08-21, 04:42
Forum: DCMTK - Installation
Topic: Compiling errors with support libraries for windows
Replies: 2
Views: 4864

Compiling errors with support libraries for windows

Hello, I have several compiling issues (mainly related to libxml2, libtiff, libpng) when compiling with the following mode : - Windows 10 x64 (1803) - Visual studio 15.8.1 - CMake 3.12.1 - DCMTK 3.6.3 - dcmtk-3.6.3-win64-support_MD-msvc-15.0 - building in x64 - /MD I am building non shared lib with ...
by kattabomane
Sat, 2018-08-18, 23:23
Forum: DCMTK - General
Topic: DcmSCP : Access to Association
Replies: 4
Views: 3096

Re: DcmSCP : Access to Association

Many thanks for these explanations.

K.
by kattabomane
Wed, 2018-08-15, 19:55
Forum: DCMTK - General
Topic: DcmSCP : Access to Association
Replies: 4
Views: 3096

Re: DcmSCP : Access to Association

Hello, I would like to check incoming AE and Address and reject the association if not known already. I have seen these virtual functions but i would like to check the pair AE and Address at once as overiding processAssociationRQ. checkCalledAETitleAccepted checkCallingAETitleAccepted checkCallingHo...
by kattabomane
Sun, 2018-07-29, 09:20
Forum: DCMTK - General
Topic: DcmSCP : Access to Association
Replies: 4
Views: 3096

DcmSCP : Access to Association

Hello, I am using DcmSCP as base class for my class. The variable m_assoc is declared as private. When overriding the function virtual OFCondition processAssociationRQ() , i don't have accesss to the current incoming association. Is there any proper way to get access to the association ? Thanks for ...
by kattabomane
Sun, 2017-04-09, 15:40
Forum: DCMTK - Installation
Topic: Simple question on OFlog usage
Replies: 4
Views: 5360

Re: Simple question on OFlog usage

Hello, Thanks for the hint. Figured out how to configure via a configuration file : log4cplus::PropertyConfigurator::doConfigure("D:/Test/log4cplus_configure.ini"); OFLogger logger = OFLog::getLogger("MyFileAppender"); OFLOG_DEBUG(logger, "DCMTK version " << OFFIS_DCMTK...
by kattabomane
Sat, 2017-04-08, 10:51
Forum: DCMTK - Installation
Topic: Simple question on OFlog usage
Replies: 4
Views: 5360

Re: Simple question on OFlog usage

Hello,
Yes, this is the issue.
But how to configure OFLogger with a configuration file so as to be able to change patterns or whatever when necessary.
Could you please give some hints ? There no info about under the respective FAQ.

Thanks in advance,
Regards,
Kattabomane.
by kattabomane
Wed, 2017-04-05, 16:31
Forum: DCMTK - Installation
Topic: Simple question on OFlog usage
Replies: 4
Views: 5360

Simple question on OFlog usage

Hello, I am currently following the FAQ for using OFlog. FAQ http://support.dcmtk.org/docs/mod_oflog.html My code is a simple as below : OFLogger logger = OFLog::getLogger("log4cplus_configure.ini"); OFLOG_DEBUG(logger, "DCMTK version " << OFFIS_DCMTK_VERSION); And my configurati...
by kattabomane
Fri, 2012-06-15, 18:17
Forum: DCMTK - General
Topic: StoreScp determine filesize
Replies: 3
Views: 4305

Re: StoreScp determine filesize

Hello, However, both approaches would be bad style in my humble opinion I agree 100 % with you. This is not the better way to do it ! But in real case, some physician does US sequences which weighs more than 2.5 GB. These type of files crawls the storage area. DICOM dataset has been received complet...
by kattabomane
Fri, 2012-06-15, 10:22
Forum: DCMTK - General
Topic: StoreScp determine filesize
Replies: 3
Views: 4305

StoreScp determine filesize

Hello,

Using the storescp, is there anyway to determine the filesize whithout saving the file locally ?

This in order to block huge files ?

Thanks for your help.
by kattabomane
Fri, 2012-04-06, 15:36
Forum: DCMTK - General
Topic: Receive command Timeout
Replies: 1
Views: 2855

use of non blocking

Hello,

After digging a little bit, found that we can use the non blocking with a timeout.

Code: Select all

DIMSE_receiveCommand(assoc, DIMSE_NONBLOCKING, 5000, & presID, &msg, NULL); 
Is this approach correct ?

Thanks
by kattabomane
Fri, 2012-04-06, 12:09
Forum: DCMTK - General
Topic: Receive command Timeout
Replies: 1
Views: 2855

Receive command Timeout

Hello, We are using the following for receiving a command and processing c find requests. ... while(cond.good()) { cond = DIMSE_receivedCommand(assoc, DIMSE_BLOCKING, 0, & presID, &msg, NULL); if(cond.good() { .... } } Time to time some modalities send command and the DIMSE_receivedCommand r...