Search found 2505 matches

by J. Riesmeier
Wed, 2011-10-05, 15:37
Forum: DCMTK - General
Topic: Copy and paste Dicom tag segments
Replies: 4
Views: 7291

Copying element values from one DICOM file to another is only supported for a few specific DCMTK tools like "pdf2dcm" or "img2dcm" but not for the general ones (like "dcmodify"). Of course, it would be possible to add such an option to dcmodify, so I'll add a note to ou...
by J. Riesmeier
Tue, 2011-10-04, 20:23
Forum: DCMTK - General
Topic: Copy and paste Dicom tag segments
Replies: 4
Views: 7291

First of all, there is no concept like "section" or "segment" in DICOM datasets. Are you talking about groups (the relict from ACR/NEMA)? Most of your related questions do not really make sense to me since the "groups", e.g. (0028,xxxx), have no special meaning in DICOM.
by J. Riesmeier
Tue, 2011-10-04, 18:17
Forum: DCMTK - General
Topic: Chinese encoding problem in Dicom SR
Replies: 3
Views: 4540

Looks like your assumption is correct that the characters in the TextValue element are the reason for the error message. With the current snapshot (DCMTK 3.6.1) you can disable the VR/VM checking of dsrdump with the following option: -Ev --invalid-item-value accept invalid content item value (e.g. v...
by J. Riesmeier
Tue, 2011-10-04, 17:54
Forum: DCMTK - General
Topic: Chinese encoding problem in Dicom SR
Replies: 3
Views: 4540

What is the output of dsrdump in --debug mode?
by J. Riesmeier
Fri, 2011-09-30, 20:00
Forum: DCMTK - General
Topic: DICOM Print "Error 2"
Replies: 3
Views: 3948

I'm no expert on strange Windows issues but as far as I know the Windows binaries from our ftp server also run on Windows 7 64-bit (also on Windows NT4 32-bit by the way - this is what we've also tested during the release phase). If you want to compile the tools on your own, detailed instructions ca...
by J. Riesmeier
Fri, 2011-09-30, 13:15
Forum: DCMTK - General
Topic: Building shared library on OSX
Replies: 3
Views: 3354

So, I suggest to change FAQ #13 by explaining this replacement for OSX.
Thanks, done.
by J. Riesmeier
Fri, 2011-09-30, 09:33
Forum: DCMTK - General
Topic: DICOM Print "Error 2"
Replies: 3
Views: 3948

First of all: Which binary executable(s) are you using in which version and on which platform? I guess your platform is Windows, right?
by J. Riesmeier
Fri, 2011-09-30, 09:01
Forum: DCMTK - General
Topic: missing status code 0116H (DIMSE-N)
Replies: 2
Views: 3422

As far as I can see, this code was not defined in the 1993 edition of the DICOM standard. Apparently, the first appearance was in the 1996 edition. So I guess that this is a good explanation why the code is missing in the DCMTK (which is a successor of the 1993 European CTN implementation). We will ...
by J. Riesmeier
Fri, 2011-09-30, 08:29
Forum: DCMTK - General
Topic: Building shared library on OSX
Replies: 3
Views: 3354

I would sugegst that you use CMake and set BUILD_SHARED_LIBS to "ON".
by J. Riesmeier
Thu, 2011-09-29, 10:19
Forum: DCMTK - General
Topic: Findscu question
Replies: 2
Views: 5726

Your query looks ok to me (although PatientID is not required here). The response indicates that there are no matches in the SCP's database.
by J. Riesmeier
Thu, 2011-09-29, 10:16
Forum: DCMTK - General
Topic: DIMSE No valid Presentation Context ID
Replies: 2
Views: 8396

You could for example add the private SOP class UID "1.2.124.113532.3500.7" to an appropriate association negotiation profile (see "storescu.cfg").
by J. Riesmeier
Fri, 2011-09-23, 13:58
Forum: DCMTK - General
Topic: Rectangular ROI median Hounsfield value
Replies: 3
Views: 4051

I thought that SetRoiWindow was made to define a rectangular area on the image, then I could use getInterData and getData to get the Hounsfield units on that rectangular area. No, how did you come to this conclusion. The first line of the API documentation for this method says: "set automatica...
by J. Riesmeier
Fri, 2011-09-23, 09:23
Forum: DCMTK - General
Topic: Bogus Huffman table definition
Replies: 11
Views: 15513

Thank you. I guess you are referring to the following patch, right? Index: jdhuff.c =================================================================== RCS file: /cvs/public/gdcm/src/jpeg/libijg8/jdhuff.c,v retrieving revision 1.1 diff -u -3 -p -r1.1 jdhuff.c --- jdhuff.c 24 Jun 2003 10:09:48 -0000 ...
by J. Riesmeier
Fri, 2011-09-23, 08:15
Forum: DCMTK - General
Topic: Rectangular ROI median Hounsfield value
Replies: 3
Views: 4051

Have you read the API documentation of setROIWindow() and getInterData()? Of course, the intermediate data does not contain the VOI window. Only the rendered output contains the VOI window. PS: I know it was wrong to allow users to access the internal intermedia pixel data. As written in the documen...
by J. Riesmeier
Thu, 2011-09-22, 16:28
Forum: DCMTK - General
Topic: Set output directory to DcmSCP
Replies: 10
Views: 18199

The pictures are a little dark, we should process the bitmap pixels to make them brighter. Did you specify an appropriate VOI window (for monochrome images)? I did not yet succeed in putting the pixels directly from DCMTK, because there's a problem with UInt8 that needs to be converted to java byte...