Search found 40 matches

by kattabomane
Tue, 2018-08-21, 05:31
Forum: DCMTK - Installation
Topic: Compiling errors with support libraries for windows
Replies: 2
Views: 373

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: 373

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: 622

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: 622

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: 622

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: 2215

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_VERSION); Thanks. Kattabomane.
by kattabomane
Sat, 2017-04-08, 10:51
Forum: DCMTK - Installation
Topic: Simple question on OFlog usage
Replies: 4
Views: 2215

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: 2215

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 configurations file ( log4cplus...
by kattabomane
Fri, 2012-06-15, 18:17
Forum: DCMTK - General
Topic: StoreScp determine filesize
Replies: 3
Views: 2350

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: 2350

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: 1449

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: 1449

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 remains w...
by kattabomane
Mon, 2010-06-14, 11:22
Forum: DCMTK - General
Topic: Problen with worklist scp
Replies: 1
Views: 1724

Force abort after handle command

Hello,

In order to release the association, can we force an association abort after HandleFindSCP ?
Set the return value to DUL_PEERABORTEDASSOCIATION ?

This is not a good manner to do this.
Could you please suggest any other idea ?

Thanks in advance.
by kattabomane
Sat, 2010-06-12, 19:15
Forum: DCMTK - General
Topic: Problen with worklist scp
Replies: 1
Views: 1724

Problen with worklist scp

Hello, I am currently using wlmscpfs to provide dicom worklist to modality. On some modalities, the association seems to not be released correctly after query. (Here we have a CR dicom station). Consequently, the worklist server is blocked for the rest of the modalities. Here is a part of log : Work...
by kattabomane
Mon, 2008-06-30, 21:43
Forum: DCMTK - General
Topic: bitmap to dicom conversion problems
Replies: 4
Views: 3914

BMP to DICOM

Hello,

Sorry to use the same post.
I am having the same problem. While converting bmp to dcm the image is bluish. Also while converting from jpeg format the result is the same.

What could be the problem ?
Should we swap the bytes ?

Thanks for you help