Search found 147 matches

by Shaeto
Sun, 2012-02-19, 15:42
Forum: DCMTK - General
Topic: no FINDResponses class in scu.h of snapshot 3.6.1
Replies: 12
Views: 13419

do not use snapshots ?:)
by Shaeto
Fri, 2012-02-17, 16:29
Forum: DCMTK - General
Topic: NAGLE
Replies: 4
Views: 5311

of course, but by default this code is "defined" and runs. i think this block is harmful for modern OS.
by Shaeto
Fri, 2012-02-17, 16:20
Forum: DCMTK - General
Topic: NAGLE
Replies: 4
Views: 5311

NAGLE

in dul.cc we can find DONT_DISABLE_NAGLE_ALGORITHM defined code block, this code by default disables NAGLE algorithm ( http://en.wikipedia.org/wiki/Nagle%27s_algorithm ) here is some facts why i suggest to add DONT_DISABLE_NAGLE_ALGORITHM to configs. i used two DCMTK 3.6.0 powered dicom devices, one...
by Shaeto
Thu, 2012-02-16, 20:20
Forum: DCMTK - Installation
Topic: Error compilation sample program in VS 2010
Replies: 8
Views: 12397

i see define for HAVE_STD_STRING in the application source, was DCMTK compiled this same option ?
by Shaeto
Sun, 2011-10-23, 19:28
Forum: DCMTK - General
Topic: Get pixels values from a Dicom
Replies: 1
Views: 3350

1. open dicom file by DicomImage class (check class docs dcmtk/dcmimgle/dcmimage.h) 2. check DicomImage object status by if (di->getStatus() != EIS_Normal) { failed to open dicom } 3. use getWidth/getHeight/getDepth/getMinMaxValues/getPhotometricInterpretation/getOutputDataSize/getOutputData methods...
by Shaeto
Sat, 2011-10-22, 19:11
Forum: DCMTK - General
Topic: dcmPathProcessor do not like EVR_metainfo
Replies: 1
Views: 2480

dcmPathProcessor do not like EVR_metainfo

is it possible to add support for EVR_metainfo to dcmPath/PathProcessor ? atm i use workaround by data cloning to EVR_dataset object
by Shaeto
Thu, 2011-04-28, 19:33
Forum: DCMTK - General
Topic: DCMCONV-Problem: Corrupted data/Parse error
Replies: 10
Views: 22374

i think it will be very interesting to have new parameter for loadBuiltinDictionary() function and member field for DcmDataDictionary class to load/skip private groups even if dcmtk compiled with WITH_PRIVATE_TAGS defined. it is especially interesting for daemon applications. for example if user req...
by Shaeto
Fri, 2011-04-22, 07:32
Forum: DCMTK - General
Topic: DCMCONV-Problem: Corrupted data/Parse error
Replies: 10
Views: 22374

have same problem but in our own application. i had to modify private.dic (2005,"Philips MR Imaging DD 001",105f) CS Unknown 1 can I just turn off private tags parsing but still have capability to receive and store explicit objects ? p.s. checked latest Philips conformances , there is noth...
by Shaeto
Mon, 2010-09-13, 09:34
Forum: DCMTK - General
Topic: Restore DICOM after Wordpad save ...
Replies: 1
Views: 2900

depends on pixels format, if it was raw rgb or monochrome you can try to use one of hex editors (biew or hiew) and find where is pixels area starts. now you have to write simple app to read pixels from "broken" dicom file and write to standard graphic format (pnm/ppm ?). it depends on the ...
by Shaeto
Fri, 2010-09-10, 20:09
Forum: DCMTK - General
Topic: Secure transmission
Replies: 4
Views: 5280

correct but in this case you can use only self signed certificates. openssl requires full chain if you want to use "CA" schema.
by Shaeto
Thu, 2010-09-09, 20:19
Forum: DCMTK - General
Topic: Secure transmission
Replies: 4
Views: 5280

btw 1 comment : i tried to use standard certificate schema - Root CA - Root 1 CA - Department Cert - Dicom Hosts certificates blabla and found that default tlslayer (and tlsscu also) accepts any connection with certificate signed by Root CA (or Root 1 CA), it is not good if we want to allow only ONE...
by Shaeto
Thu, 2010-09-09, 20:13
Forum: DCMTK - General
Topic: Secure transmission
Replies: 4
Views: 5280

dcmtk sends data through tls layer socket, so, all incoming/outgoing data is crypted. you can check tlslayer.cpp and/or use tcpdump to make sure :)

also there is list of cipher, by default scu/scp use TLS1_TXT_RSA_WITH_AES_128_SHA or SSL3_TXT_RSA_DES_192_CBC3_SHA

imho it is enough.
by Shaeto
Mon, 2010-09-06, 20:04
Forum: DCMTK - General
Topic: possible issue in DcmFindSCU
Replies: 2
Views: 3437

same for version 20100903

DcmFindSCUDefaultCallback *callback = OFreinterpret_cast(DcmFindSCUDefaultCallback *, callbackData);

definitely wrong. caller will pass DcmFindSCUCallback inherited class, not "default"
by Shaeto
Wed, 2010-09-01, 09:25
Forum: DCMTK - General
Topic: possible issue in DcmFindSCU
Replies: 2
Views: 3437

possible issue in DcmFindSCU

dfindscu.cc, static void progressCallback

it casts and calls DcmFindSCUDefaultCallback class method BUT by idea should cast to DcmFindSCUCallback. mb i am wrong.
by Shaeto
Thu, 2010-06-10, 16:05
Forum: DCMTK - General
Topic: some suggestions about optimization
Replies: 1
Views: 2495

some suggestions about optimization

some time ago i sat and read assoc.cc :) i found several similar places with strange constructions: for example in very important function ASC_findAcceptedPresentationContextID ---------------------------------------- while (pc && !found) { found = (strcmp(pc->abstractSyntax, abstractSyntax)...