Search found 2049 matches

by Michael Onken
Wed, 2007-09-19, 14:06
Forum: DCMTK - General
Topic: fastest way to edit dicom file
Replies: 1
Views: 4897

Hi, it is no problem to load a file in DCMTK without loading long values like pixel data into memory (see e. g. the -M option of dcmdump). The problem comes in when writing the file: Then DCMTK loads the complete file into memory and writes it to the file. There is no way around this at the moment. ...
by Michael Onken
Wed, 2007-09-19, 13:45
Forum: DCMTK - General
Topic: Extended association negotiation
Replies: 4
Views: 6780

Hi, the documentation is a bit misleading, we should change this for the next release ;) You actually can use the configuration file for storescu and storescp to let them do Extended Negotiation. Read dcmnet/etc/asconfig.txt to learn about the configuration file syntax. Maybe I can dig out an exampl...
by Michael Onken
Wed, 2007-09-19, 13:29
Forum: DCMTK - General
Topic: how to anonymize
Replies: 5
Views: 16604

Hi, for anonymizing DICOM files you have to delete some selected attributes or change their values. If you want to anonymize a complete set of images, e. g. images containing data from different patients, which have more than one study, etc. you have to build some intelligence into your anonymizer t...
by Michael Onken
Wed, 2007-09-19, 12:51
Forum: DCMTK - General
Topic: Undefined behavior (assert by isalpha) in DcmItem::foundVR
Replies: 8
Views: 9612

Hi Niels, first of all, thank you for your report. You can use this forum for bug reporting or the email address dicom-bugs(at)offis(dot)de. The assertion should fire, if something is passed to isalpha() which indeed is smaller than -1. I would say it makes more sense to change the API of foundVR() ...
by Michael Onken
Fri, 2007-09-14, 09:06
Forum: DCMTK - General
Topic: findscu/movescu - No Acceptable Presentation Contexts Errors
Replies: 1
Views: 7085

Hi, findscu can be used to only query an archive (or a worklist server) for images (worklist: work items). Movescu can query an archive AND retrieve the images that are referenced in the responses to the query. By the way, you cannot use storescp as the server to query. It sounded in your posting, a...
by Michael Onken
Fri, 2007-09-14, 08:52
Forum: DCMTK - General
Topic: loading just the meta header information
Replies: 4
Views: 5637

Hoppla..., of course it is correct, what Jörg points out...I'm so sorry :)
Michael
by Michael Onken
Thu, 2007-09-13, 17:40
Forum: DCMTK - General
Topic: loading just the meta header information
Replies: 4
Views: 5637

Hi Luca, m_dcmFileFormat->loadFile(fileName, EXS_Unknown, EGL_noChange, DCM_MaxReadLength, ERM_fileOnly) Your call loads all elements into memory that are larger than the size (in bytes) given by DCM_MaxReadLength. Usually this value is set to 4 KB so only elements (including pixel data element) are...
by Michael Onken
Wed, 2007-09-12, 09:38
Forum: DCMTK - Installation
Topic: DCMTK on Mac OS X anyone?
Replies: 10
Views: 22048

Hi Per,

Do you like to share your ready-to-build Xcode DCMTK project? We could add it to the contributions section of the DCMTK site :)

Regards,
Michael
by Michael Onken
Wed, 2007-09-12, 08:56
Forum: DCMTK - General
Topic: Accepting multiple compression types with storescp
Replies: 5
Views: 7766

Hi, the problem is on the client side: DIMSE Warning: (STORESCU,ANY-SCP): sendMessage: unable to convert dataset from 'JPEG Baseline' transfer syntax to 'LittleEndianExplicit'. storescu is a rather stupid program in terms of that it proposes a broad range of SOP classes in one or two (uncompressed!)...
by Michael Onken
Tue, 2007-09-11, 10:10
Forum: DCMTK - General
Topic: Error in Query from CR to Worklist SCP DCMTK 354
Replies: 1
Views: 3673

Yes, kind of: There is a "Warning" about "UnsupportedOptionalKeys" :D So your CR is sending some query keys which are not supported by the worklist server. That means the server just ignores those query keys but matches the rest of the query. In DICOM, there are mandatory query k...
by Michael Onken
Tue, 2007-09-11, 08:48
Forum: DCMTK - General
Topic: Accepting multiple compression types with storescp
Replies: 5
Views: 7766

Hi, yes you use it correctly. Try to start additionally with option -d for debug output. If it is not clear for your what happens, post the storescp output of that connection to the forum so we can have a look at it. Most important thing to see is which SOP classes the SCU tries to negotiate and whi...
by Michael Onken
Mon, 2007-09-10, 09:03
Forum: DCMTK - General
Topic: Accepting multiple compression types with storescp
Replies: 5
Views: 7766

Hi Algonquin,

you can use either --promiscous mode to accept all SOP classes or a configuration file as also found in the dcmtk distribution (storescp.cfg). See also the DCMTK help (also online) for more information.

Regards,
Michael
by Michael Onken
Fri, 2007-09-07, 13:40
Forum: DCMTK - General
Topic: dcmodify
Replies: 2
Views: 3913

Hm? Straigthforward :-)

Code: Select all

dcmodify -i PatientsName="Your^Name^Here" -i PatientID="1234" yourfile.dcm
Regards,
Michael
by Michael Onken
Thu, 2007-09-06, 14:28
Forum: DCMTK - General
Topic: Retrive Image failure from DCMQRDB
Replies: 11
Views: 16415

Hi, Is there any more output if you add options -vv and -d? Is the move target correctly specified in the client's request (known AETitle) and also in dcmqrdb's config file (translation to IP adress/port)? Is there a timeout message after a certain amount of time? Try option "-dhl" do disa...
by Michael Onken
Thu, 2007-09-06, 10:05
Forum: DCMTK - General
Topic: Aborting during store
Replies: 1
Views: 3321

Hi Mark,

if the SCU receives the abort from the SCP it should be so intelligent to abort abort the connection, too. Do you use storescu or another tool?

Regards,
Michael