Search found 347 matches

by martinrame
Sun, 2016-07-17, 20:02
Forum: DCMTK - General
Topic: DcmSCPPool's AETitle
Replies: 7
Views: 6670

Re: DcmSCPPool's AETitle

Thanks Jan!, it worked as expected.
by martinrame
Thu, 2016-07-14, 14:40
Forum: DCMTK - General
Topic: DcmSCPPool's AETitle
Replies: 7
Views: 6670

Re: DcmSCPPool's AETitle

The DcmThreadSCP::setSharedConfig() method get's it as a parameter?! Make sure to pass it to the base method into your overrided one, so it can be used afterwards using getSharedConfig(). Let me try to understand what you mean. I'm invoking my DicomSCP class through a DcmSCPPool this way: DcmSCPPoo...
by martinrame
Thu, 2016-07-14, 14:25
Forum: DCMTK - General
Topic: DcmSCPPool's AETitle
Replies: 7
Views: 6670

Re: DcmSCPPool's AETitle

Jan Schlamelcher wrote:It has been some time since I wrote that code ;-). I think you'll have to get the AE title from the config after it has been initialized instead of in the constructor, i.e. override DcmThreadSCP::setSharedConfig().
Great, now, how can I access the config from within my worker?.
by martinrame
Wed, 2016-07-13, 20:30
Forum: DCMTK - General
Topic: DcmSCPPool's AETitle
Replies: 7
Views: 6670

DcmSCPPool's AETitle

Hi, I created an inherited DcmThreadSCP class called DicomSCP I instantiate in a pool this way: DcmSCPPool<DicomSCP> pool; DcmSCPConfig& config = pool.getConfig(); config.setAETitle(lAETitle); config.setPort(lPort); config.setConnectionBlockingMode(DUL_NOBLOCK); // more configs pool.listen() Now...
by martinrame
Mon, 2016-02-08, 16:08
Forum: DCMTK - General
Topic: DCMJ2PNM and GE Vingmed Ultrasound
Replies: 2
Views: 3128

Re: DCMJ2PNM and GE Vingmed Ultrasound

That's weird, apparently Synapse PACS is the only able to display correctly those images, or it is mangling them when exporting/sending to an external PACS.
by martinrame
Mon, 2016-02-08, 13:35
Forum: DCMTK - General
Topic: DCMJ2PNM and GE Vingmed Ultrasound
Replies: 2
Views: 3128

DCMJ2PNM and GE Vingmed Ultrasound

Hi, I'm trying to convert an GE Vingmed Ultrasound image (JPEGLossless:Non-hierarchical-1stOrderPrediction), but I'm getting a wrong result. This is the 1nst time dcmj2pnm cannot convert an image, what can be wrong with this image?. This is the resulting image: http://45.63.8.72/tests/SYN00001.jpg P...
by martinrame
Mon, 2016-01-11, 20:00
Forum: DCMTK - General
Topic: DcmFileFormat as shared library function parameter
Replies: 0
Views: 18675

DcmFileFormat as shared library function parameter

Hi, I'm passing a DcmFileFormat instance to a shared libary function, but aparently it is getting corrupted after calling getDataset() from inside the function. Here's the caller: void* lhandle = dlopen("./libmylibrary.so", RTLD_NOW); if (lhandle) { typedef void (* processDataset)(DcmFileF...
by martinrame
Mon, 2016-01-11, 11:03
Forum: DCMTK - General
Topic: DcmSCPPool please add a setConfig method
Replies: 1
Views: 2610

DcmSCPPool please add a setConfig method

I'm using DcmSCPPool and found it has a getConfig method, I understand it returns the DcmSCPConfig instance of the DcmThreadSCP instance, am I right?.

If this is true, I would like to set a custom DcmSCPConfig and can't find a method to do this.
by martinrame
Sat, 2016-01-09, 21:25
Forum: DCMTK - General
Topic: DcmThreadSCP
Replies: 2
Views: 4427

Re: DcmThreadSCP

Thank you very much Jörg for this answer, I'll try to implement it in my own SCP.
by martinrame
Fri, 2016-01-08, 18:38
Forum: DCMTK - General
Topic: DcmThreadSCP
Replies: 2
Views: 4427

DcmThreadSCP

Hi, I'm trying to understand how DcmThreadSCP works. I've updated an example based on DcmSCP by replacing DcmSCP class to DcmThreadSCP, it compiled and worked out of the box, by "worked" I mean it receives the images I send, but It looks like I cannot send two images simultaneously from tw...
by martinrame
Thu, 2015-11-05, 11:26
Forum: DCMTK - General
Topic: DcmSCP methods removed in 3.6.1
Replies: 3
Views: 3991

Re: DcmSCP methods removed in 3.6.1

Ok. My app implements the handleIncomingCommand method for handling requests, should I still use this method?. Also, in the former version I implemented a ConnectToDb method in my DcmSCP inherited constructor and disconnect in the destructor, this way I had a database connection on every association...
by martinrame
Thu, 2015-11-05, 00:09
Forum: DCMTK - General
Topic: DcmSCP methods removed in 3.6.1
Replies: 3
Views: 3991

DcmSCP methods removed in 3.6.1

Hi, I'm upgrading an app which was compiled against 3.6.0 and now I'm moving to 3.6.1, in this app I used this code: if(m_scp.enableMultiProcessMode(argc, argv) == EC_Normal) { if(lForkedChild == true) { if(m_scp.markAsForkedChild() == EC_Normal) { DCMNET_DEBUG("forked child"); } } } As yo...
by martinrame
Wed, 2015-05-06, 12:15
Forum: DCMTK - General
Topic: Conversion from XCode to Linux
Replies: 1
Views: 2879

Conversion from XCode to Linux

Hi, I'm wondering if DCMTK has a methods/classes to convert from different image formats, like these supported by XCode: vImageConvert_Planar8toPlanarF vImageConvert_16SToF vDSP_minv vDSP_maxv Here is the description of these functions: https://developer.apple.com/library/mac/documentation/Performan...
by martinrame
Fri, 2015-04-10, 16:26
Forum: DCMTK - General
Topic: C-FIND for 1nst InstanceNumber
Replies: 1
Views: 3630

C-FIND for 1nst InstanceNumber

Hi, I'm developing an app that requires accessing only one image (for example the first in a series) to create a thumbnail using WADO. I can get the list of all SOPInstanceUIDs by issuing a C-FIND similar to this: findscu -aet MYAET -aec PACSAET --study -k "0008,0052=IMAGE" -k "0020,0...
by martinrame
Thu, 2015-02-19, 21:53
Forum: DCMTK - General
Topic: Follow PACS communications
Replies: 3
Views: 3630

Re: Follow PACS communications

I never used it, but worth taking a look: http://dicom.dvtk.org/modules/wiwimod/i ... =downloads