Search found 147 matches

by Shaeto
Thu, 2009-12-10, 22:32
Forum: DCMTK - General
Topic: Need for checking SopClassUID and SopInstanceUID while retri
Replies: 1
Views: 3406

it is very strange that SCU generates dynamic SOPClassUID :) 9.1.1.1.4 Affected SOP instance UID For the request/indication, this parameter specifies the SOP Instance to be stored. It may be included in the response/confirmation. If included in the response/confirmation, this parameter shall be equa...
by Shaeto
Thu, 2009-12-10, 20:58
Forum: DCMTK - General
Topic: The maximum size of the buffer allocated for storescp
Replies: 4
Views: 7326

# storescu --help | grep max -pdu --max-pdu [n]umber of bytes: integer (4096..131072) set max receive pdu to n bytes (default: 16384) --max-send-pdu [n]umber of bytes: integer (4096..131072) restrict max send pdu to n bytes # storescp --help | grep max -pdu --max-pdu [n]umber of bytes: integer (4096...
by Shaeto
Wed, 2009-11-11, 22:11
Forum: DCMTK - General
Topic: Last snapshot question
Replies: 6
Views: 8633

just to remember one ticket for dcmnet, i am not sure if you fixed it (i really think it is a bug)

viewtopic.php?t=2159
by Shaeto
Wed, 2009-11-11, 22:06
Forum: DCMTK - General
Topic: Last snapshot question
Replies: 6
Views: 8633

no, nothing special for dcmnet. the application is built on base dcmtk/ofstd libs, so, as i can remember I changed mutexes initialization to allow "recursive" mode, it is important in some applications. think it is better to add "be recursive" as option for OFMutex but, it is oka...
by Shaeto
Tue, 2009-11-10, 12:00
Forum: DCMTK - General
Topic: Unable to read Private Tags inserted in a DICOM file
Replies: 1
Views: 2881

seems you are trying to dump image stored as DICOM Implicit VR. In this case dcmtk can get VR only from own private dictionary (if you built dcmtk with this option).

try to use DICOM Explicit VR syntax to store objects from Leadtools and dcmdump it again.
by Shaeto
Tue, 2009-11-10, 11:46
Forum: DCMTK - General
Topic: Last snapshot question
Replies: 6
Views: 8633

per developers it is not thread safe because of gethostbyname/gethostbyaddr but, it is easy to change to getaddrinfo.

i have good experience with dcmnet in big multithread application.
by Shaeto
Tue, 2009-11-03, 23:38
Forum: DCMTK - General
Topic: socket leak in DUL_RequestAssociation
Replies: 3
Views: 4321

ahh sorry forgot about secure transport connection patch: new lines is started with "+" file dcmtls/libsrc/tlstrans.cc DcmTLSConnection::~DcmTLSConnection() { + close(); if (tlsConnection) SSL_free(tlsConnection); } void DcmTLSConnection::close() { + if (getSocket()>=0) { if (tlsConnection...
by Shaeto
Tue, 2009-11-03, 23:30
Forum: DCMTK - General
Topic: socket leak in DUL_RequestAssociation
Replies: 3
Views: 4321

socket leak in DUL_RequestAssociation

latest snapshot (dcmtk-3.5.5_20090818) look for several calls : destroyAssociationKey(association); in some bad conditions DUL_RequestAssociation (and may be other routines) calls destroyAssociationKey and it freeing connection by if (*key && (*key)->connection) delete (*key)->connection; BU...
by Shaeto
Tue, 2009-10-27, 12:39
Forum: DCMTK - General
Topic: RET VR
Replies: 9
Views: 9096

agree, i decided to replace RT with valid VR from the dcmtk dictionary or, if tag can't be detected, reject object.

thank you very much!
by Shaeto
Mon, 2009-10-26, 21:08
Forum: DCMTK - General
Topic: RET VR
Replies: 9
Views: 9096

latest from snapshots...

it is just request, not a bug report. some CTN based devices send RT VR and RT was okay for the CTN but not for dcmtk and it skips that object (or even can fail if we'll enable dcmAcceptUnexpectedImplicitEncoding and gods will send bytes of destiny after RT :)
by Shaeto
Mon, 2009-10-26, 15:47
Forum: DCMTK - General
Topic: RET VR
Replies: 9
Views: 9096

sent...

thanks! btw RT is almost "standard" VR :) from list of strange VRs sent from old modalities but i even don't want to scary you :)
by Shaeto
Tue, 2009-10-20, 19:04
Forum: DCMTK - General
Topic: RET VR
Replies: 9
Views: 9096

just small patch for reagTagAndLength if someone is interesting: /* read 2 bytes */ inStream.read(vrstr, 2); /* create a corresponding DcmVR object */ DcmVR vr(vrstr); /* fix for malincrodt ctn 'RT' VR */ if (*vrstr == 'R' && *(vrstr+1) == 'T') { vr.setVR(newTag.getVR().getValidEVR()); strnc...
by Shaeto
Tue, 2009-10-20, 18:24
Forum: DCMTK - General
Topic: RET VR
Replies: 9
Views: 9096

or even better convert it to UN on fly in the readTagAndLength :)
by Shaeto
Tue, 2009-10-20, 18:15
Forum: DCMTK - General
Topic: RET VR
Replies: 9
Views: 9096

RET VR

some of old (based on malincrodt ctn etc) modalities still sends objects with "RT" value representation. that caused fail in DcmItem::readTagAndLength and, possible, crash or memory exhausted exception.

add RT if it possible and i think we need to interpretate it as UN.
by Shaeto
Thu, 2009-09-03, 15:47
Forum: DCMTK - General
Topic: Create a patient profile in server
Replies: 2
Views: 4113

use set of dcmtk tools: dcmmodify, dcm2XXX and XXX2dcm to create any desired object and send it by storescu.