Search found 2505 matches

by J. Riesmeier
Tue, 2012-06-26, 08:46
Forum: DCMTK - General
Topic: NII -> DICOM
Replies: 14
Views: 19574

Re: NII -> DICOM

by J. Riesmeier
Mon, 2012-06-25, 14:07
Forum: DCMTK - General
Topic: Problems with element length
Replies: 7
Views: 7636

Re: Problems with element length

Usually, there is no need to call verify() directly. This methods is mainly used internally as part of other DCMTK functions.
by J. Riesmeier
Mon, 2012-06-25, 08:55
Forum: DCMTK - General
Topic: Problems with element length
Replies: 7
Views: 7636

Re: Problems with element length

To the OP: Why are you calling verify() at all?
by J. Riesmeier
Thu, 2012-06-21, 16:18
Forum: DCMTK - General
Topic: storescp output transfer syntax jpeg2000 encoder
Replies: 4
Views: 4659

Re: storescp output transfer syntax jpeg2000 encoder

You mean whether the storescp would be able to decompress the PixelData if the required decoder is registered to the application? The answer is: Yes, this should be possible with a few modifications to the current source code.
by J. Riesmeier
Wed, 2012-06-20, 20:05
Forum: DCMTK - General
Topic: Is it possible to load the dicom header without pixel data?
Replies: 2
Views: 2648

Re: Is it possible to load the dicom header without pixel da

By default, large element values are not loaded with loadFile() but only when they are accessed. The threshhold what is meant by "large" can be specified with the "maxReadLength" parameter of the before-mentioned method.
by J. Riesmeier
Mon, 2012-06-18, 16:50
Forum: DCMTK - General
Topic: How to use DCMTK for recovering Pixel Spacing?
Replies: 9
Views: 10701

Re: How to use DCMTK for recovering Pixel Spacing?

I guess you are talking about the ImageHelper class in gdcm, right? No, there is no such thing as the various ImageHelper::getSpacingXXX() methods in DCMTK - at least not yet. As far as I can see, the gdcm code also contains a lot of workarounds based on assumptions that might not always be true. An...
by J. Riesmeier
Fri, 2012-06-15, 13:43
Forum: DCMTK - General
Topic: StoreScp determine filesize
Replies: 3
Views: 4322

Re: StoreScp determine filesize

No, this is not possible since the "file size" it not known to the SCP before the DICOM dataset has been received completely. Of course, you could modify the source code in order to reject (or just do not save) a dataset that exceeds a certain size. However, both approaches would be bad st...
by J. Riesmeier
Thu, 2012-06-14, 08:20
Forum: DCMTK - General
Topic: dcm2xml xml2dcm: UTILITIES or LIBRARIES?
Replies: 4
Views: 4283

Re: dcm2xml xml2dcm: UTILITIES or LIBRARIES?

From today's perspective, I would also write a C++ class for the core functionality of xml2dcm or incorporate it into the dcmdata class hierarchy. However, at the time when I wrote xml2dcm I had dump2dcm in mind and tried to keep the libxml2 dependency out of the dcmdata library ... To answer your q...
by J. Riesmeier
Wed, 2012-06-13, 16:57
Forum: DCMTK - General
Topic: dcm2xml xml2dcm: UTILITIES or LIBRARIES?
Replies: 4
Views: 4283

Re: dcm2xml xml2dcm: UTILITIES or LIBRARIES?

Have you ever looked into the source code of any of the two command line tools? Using the same functionality as dcm2xml from a library/program should be easy since the main work is done by calling DcmFileFormat::writeXML() . The other direction (xml2dcm) requires some additional work since the core ...
by J. Riesmeier
Wed, 2012-06-13, 07:47
Forum: DCMTK - General
Topic: How to use DCMTK for recovering Pixel Spacing?
Replies: 9
Views: 10701

Re: How to use DCMTK for recovering Pixel Spacing?

DicomImage does report the ratio between the Horizontal and Vertical Pixel spacing, but not the pixel spacing itself! That's true because there is/was no need to determine the size of a pixel; the ratio is sufficient for scaling an image according to the pixel aspect ratio. Btw, what exactly do you...
by J. Riesmeier
Wed, 2012-06-13, 07:41
Forum: DCMTK - General
Topic: About "dcmtk-3.6.1_20120515" compile on VS2005
Replies: 1
Views: 2665

Re: About "dcmtk-3.6.1_20120515" compile on VS2005

Currently, i.e. for the current snapshot, there is no pre-compiled libiconv provided by our team. Usually, we only make available these packages for official DCMTK releases. So in the meantime, you'll have to compile libconv on your own ... Btw, why does the current DCMTK snapshot fail to compile (i...
by J. Riesmeier
Tue, 2012-06-12, 09:03
Forum: DCMTK - General
Topic: About messy code
Replies: 4
Views: 4801

Re: About messy code

So, the C-FIND responses use different character sets. Since your UI uses UTF-8, it would probably make sense to convert all C-FIND response datasets to UTF-8 before displaying any values. Fortunately, we have implemented this conversion in the latest DCMTK snapshot (based on libiconv). Also see thi...
by J. Riesmeier
Tue, 2012-06-12, 08:19
Forum: DCMTK - General
Topic: About messy code
Replies: 4
Views: 4801

Re: About messy code

Where did you read that "UTF-8" is the correct term for UTF-8? It's "ISO_IR 192" (see section C.12.1.1.2 in part 3 of the DICOM standard). Also, the SpecificCharacterSet (0008,0005) attribute is treated differently for Query/Retrieve (see DICOM standard part 4). And finally, what...
by J. Riesmeier
Mon, 2012-06-11, 08:26
Forum: DCMTK - Installation
Topic: wlfsim.o error Mac OS X Lion
Replies: 3
Views: 6549

Re: wlfsim.o error Mac OS X Lion

Unfortunately, I cannot help you with the Apple-related stuff but in addition to "make install" you also need "make install-lib" (or use "make install-all" for both) - see INSTALL file for details: Step 3: make install Step 3 will install the executables and some suppor...
by J. Riesmeier
Fri, 2012-06-08, 09:22
Forum: DCMTK - General
Topic: Can not get the PatientName,PatientId...
Replies: 5
Views: 7675

Re: Can not get the PatientName,PatientId...

I read the Dicom standard Part-4 Annex C, and find the above attributes not belong to series level, I think it is the root cause
That's right.
but I use the same code to access the local sever(DCM4CHEE), I can get all the information!
This is something you should ask the author(s) of DCM4CHEE.