np, thank you for the perfect framework,
btw if someone is interesting i (re-)implemented OFSemaphore on Mac OS El Capitan using c++11 mutex/condition_variable classes
not sure how to attach files to board now
Search found 147 matches
- Wed, 2016-07-20, 14:58
- Forum: DCMTK - General
- Topic: ofthread test
- Replies: 4
- Views: 4521
- Sat, 2016-07-16, 21:45
- Forum: DCMTK - General
- Topic: ofthread test
- Replies: 4
- Views: 4521
ofthread test
rw-lock test is not correct in ofstd/tests/tthread.cc, code use assumption that RWLockT1 (RWLockerT1) starts before RWLockT2 (RWLockerT2), this is not correct, pthread_create does not guarantee execution order and Mac OS X (El Capitan) time to time starts T2 before T1 easiest but not very correct fi...
- Wed, 2016-04-06, 13:54
- Forum: DCMTK - General
- Topic: Cmake in dcmtk 3.6.1 for msvc 14 2015
- Replies: 3
- Views: 3862
Re: Cmake in dcmtk 3.6.1 for msvc 14 2015
yes this works also ! thank you!
- Tue, 2016-04-05, 12:15
- Forum: DCMTK - General
- Topic: Cmake in dcmtk 3.6.1 for msvc 14 2015
- Replies: 3
- Views: 3862
Cmake in dcmtk 3.6.1 for msvc 14 2015
here is a little patch for msvc 14 2015 env, explanation is there https://cmake.org/Bug/bug_relationship_graph.php?bug_id=15659&graph=relation and there https://msdn.microsoft.com/en-us/library/bb531344.aspx#BK_CRT (look for vprintf) diff --git a/CMake/GenerateDCMTKConfigure.cmake b/CMake/Genera...
- Tue, 2015-03-03, 08:01
- Forum: DCMTK - General
- Topic: chooseRepresentation fails for dicom with private pixel data
- Replies: 4
- Views: 4544
Re: chooseRepresentation fails for dicom with private pixel
update: dcmEnableUnknownVRConversion helped to decompress dicom, thank you!
- Tue, 2015-03-03, 07:46
- Forum: DCMTK - General
- Topic: chooseRepresentation fails for dicom with private pixel data
- Replies: 4
- Views: 4544
Re: chooseRepresentation fails for dicom with private pixel
thank you will try UN conversation but seems it is better to add some custom code to check that pixel tag/data is valid (contains the same transfer syntax as main dataset), that's life - medical vendors do not read standard
- Mon, 2015-03-02, 15:34
- Forum: DCMTK - General
- Topic: chooseRepresentation fails for dicom with private pixel data
- Replies: 4
- Views: 4544
chooseRepresentation fails for dicom with private pixel data
dear community, i have a question: i have JPEGExtended:Process2+4 dicom with private sequence, for example: ----------------- (1135,4302) SQ (Sequence with explicit length #=1) # 12412, 1 Unknown Tag & Data (fffe,e000) na (Item with explicit length #=11) # 12404, 1 Item (0028,0002) US 3 # 2, 1 S...
- Sat, 2014-08-16, 21:06
- Forum: DCMTK - General
- Topic: User Identity Negotiation
- Replies: 1
- Views: 2392
User Identity Negotiation
Is it possible to add User Identity Negotiation related cmd line parameters (and set params for association) to all dcmnet applications, not only storescu ? actually we added this but better to see "official" changes
- Sat, 2014-08-16, 21:03
- Forum: DCMTK - General
- Topic: JPEG 2000 codec implementation
- Replies: 1
- Views: 2646
Re: JPEG 2000 codec implementation
Just implement DJ2000CodecXXXXX classes using DJCodec as an example, don't think that you need to add new abtraction levels, btw, imho better to use jpeg-ls implementation as reference for implementation
- Tue, 2014-06-03, 10:06
- Forum: DCMTK - General
- Topic: findscu/cancell
- Replies: 3
- Views: 4222
Re: findscu/cancell
thats true about --cancel but remote pacs ingores cancel request and callback is continues to receive thousands of records, with bad result if we dump results to directory as a bad workaround i use this code (drop association if we received > (cancelAfterNResponses + 10) records) : /* should we send...
- Sat, 2014-03-01, 22:15
- Forum: DCMTK - General
- Topic: findscu/cancell
- Replies: 3
- Views: 4222
findscu/cancell
found interesting issue, one of modalities ignores C-FIND-CANCEL request and findscu receives a thousands of records (for "*" empty request), is it possible to check this situation in dfindscu.cc:DcmFindSCUDefaultCallback::callback and break the connection if, for example, number of result...
- Thu, 2014-01-23, 09:23
- Forum: DCMTK - General
- Topic: original/current xfer mess
- Replies: 2
- Views: 3094
Re: original/current xfer mess
thank you!
well, mb better to add new constant EXS_Current, works as EXS_Unknown for file reading and as "write in current syntax" for writing
well, mb better to add new constant EXS_Current, works as EXS_Unknown for file reading and as "write in current syntax" for writing
- Mon, 2014-01-20, 09:39
- Forum: DCMTK - General
- Topic: original/current xfer mess
- Replies: 2
- Views: 3094
original/current xfer mess
in dcfilefo.h, function saveFile(...) comment says us: @param writeXfer transfer syntax used to write the data (EXS_Unknown means use current) but actually saveFile calls write(..) which is saving dicom with original (not current xfer) it is very inconveniently, can the API use CURRENT then original...
- Thu, 2013-09-19, 14:52
- Forum: DCMTK - General
- Topic: DIMSE_moveUser issue in non-blocking mode
- Replies: 1
- Views: 2804
DIMSE_moveUser issue in non-blocking mode
we use DIMSE_moveUser in non-blocking mode without sub-association, there is a main polling loop depending on selectReadable results dcmtk.git/dcmnet/libsrc/dimmove.cc : selectReadable(...) ... if (subAssoc == NULL) { timeout = 1; /* poll wait until an assoc req or move rsp */ } else { if (blockMode...
- Fri, 2012-11-30, 08:31
- Forum: DCMTK - General
- Topic: creating a multiframe dicom image
- Replies: 1
- Views: 2839
Re: creating a multiframe dicom image
i think better way is to change img2dcm to support multiple "in" files, or you can try prepare raw pixel buffer on disk and --insert-from-file or --modify-from-file using dcmodify + set correct number of frames field.