Search found 2505 matches

by J. Riesmeier
Wed, 2011-09-07, 13:31
Forum: DCMTK - General
Topic: getscu.cc No adequate Presentation Contexts for sending C-GET
Replies: 16
Views: 35857

I was asking for the output of the presentation contexts (option -d or +v).
by J. Riesmeier
Wed, 2011-09-07, 13:22
Forum: DCMTK - General
Topic: Basic CGET with dcmtk.
Replies: 5
Views: 11715

FYI: Now, there is a "getscu" in the current development version of the DCMTK. See this commit. Of course, it will also be part of the next snapshot.
by J. Riesmeier
Wed, 2011-09-07, 13:19
Forum: DCMTK - General
Topic: getscu.cc No adequate Presentation Contexts for sending C-GET
Replies: 16
Views: 35857

Using getscu with option -d or +v would help to check whether there is a problem with the association negotiation.
by J. Riesmeier
Mon, 2011-09-05, 16:37
Forum: DCMTK - General
Topic: wlmscpfs - Missing parameter port
Replies: 7
Views: 10165

As far as I can see, the problem is related to the trailing "\" in the path you've provided to the -dfp option. The following " is not treated as expected if there is a \ in front of it. And in multi-process mode the wlmscpfs tool adds " around all parameters (as far as I remembe...
by J. Riesmeier
Mon, 2011-09-05, 15:56
Forum: DCMTK - General
Topic: Padding byte in multi-frame images
Replies: 7
Views: 8723

As far as I understand it, the term "excess padding" refers to the end of the pixel data stream. How should the "receiving application" know that there is an "intra-frame padding"? Here's another paragraph from the referenced section: Also, the Value Field containing Pi...
by J. Riesmeier
Mon, 2011-09-05, 14:24
Forum: DCMTK - General
Topic: Padding byte in multi-frame images
Replies: 7
Views: 8723

Read PS 3.5-2011 Section 8.1.1:
In a multi-frame object that is transmitted in Native Format, the individual frames are not padded. The
individual frames shall be concatenated and padding bits (if necessary) apply to the complete Value
Field.
by J. Riesmeier
Mon, 2011-09-05, 12:47
Forum: DCMTK - General
Topic: Padding byte in multi-frame images
Replies: 7
Views: 8723

I guess this issue is already fixed in the current DCMTK release 3.6.0. See this commit.
by J. Riesmeier
Sun, 2011-09-04, 15:19
Forum: DCMTK - General
Topic: dsrdump - violates maximum length issue
Replies: 4
Views: 4605

The new option --invalid-item-value (-Ev) should do. Please note, however, that this option is only available for DCMTK 3.6.1 snapshots (after 20110318).

To the original poster: You should also inform the creator of these SR documents that they are not DICOM compliant!
by J. Riesmeier
Fri, 2011-08-26, 09:33
Forum: DCMTK - General
Topic: Why are DIMSE commands always little endian implicit?
Replies: 4
Views: 5906

And here's another sentence from PS3.5 that proves the "implicit" aspect:
The Command Set structure as specified in PS 3.7 is encoded using the Little Endian Implicit VR
Transfer Syntax.
by J. Riesmeier
Fri, 2011-08-26, 08:45
Forum: DCMTK - General
Topic: Why are DIMSE commands always little endian implicit?
Replies: 4
Views: 5906

The original poster was asking for command sets (not for data sets), so here's the relevant paragraph from DICOM PS3.7-2011: 6.3.1 COMMAND SET STRUCTURE The Command Elements in a Command Set shall be ordered by increasing Command Element Tag number. A Command Element Tag uniquely identifies a Comman...
by J. Riesmeier
Thu, 2011-08-25, 15:47
Forum: DCMTK - General
Topic: Tag Not Found error when doing a find for the DCM_Manufacturer tag
Replies: 6
Views: 7843

So the DICOM file is corrupted. However, you can ignore the wrong meta header group length with the dcmdump option --ignore-meta-length. In your program, you could set the corresponding parser flag: dcmIgnoreFileMetaInformationGroupLength.set(OFTrue); Unfortunately, this flag is not available in DCM...
by J. Riesmeier
Thu, 2011-08-25, 07:39
Forum: DCMTK - General
Topic: Tag Not Found error when doing a find for the DCM_Manufacturer tag
Replies: 6
Views: 7843

And what is the output with dcmdump in debug mode? Btw, you should use the current DCMTK release 3.6.0 instead of 3.5.4, which is almost 6 years old.
by J. Riesmeier
Wed, 2011-08-24, 07:51
Forum: DCMTK - General
Topic: How to load colors from a .lut file?
Replies: 7
Views: 8245

First of all, the stucture of these LUT tables is described in part 3 of the DICOM standard. You should really read that! You have said that these LUTs contain monochrome/gray values only. And we have noticed that these values are from 16 to 4031. These values are weird to us. Because as far as we a...
by J. Riesmeier
Tue, 2011-08-23, 09:57
Forum: DCMTK - General
Topic: How to load colors from a .lut file?
Replies: 7
Views: 8245

In order to load a DICOM file (like this LUT file) with DCMTK, you can simply use DcmFileFormat::loadFile(). The complete code that is used for DICOMscope can be found in DVInterface::selectDisplayPresentationLUT(). They are seems like the grayscale values, but not the complete list of them. No, bec...
by J. Riesmeier
Tue, 2011-08-23, 08:59
Forum: DCMTK - General
Topic: How to load colors from a .lut file?
Replies: 7
Views: 8245

These are LUT files are in fact DICOM files, so you can use dcmdump to show their contents. For example: # dcmdump (1/1): darken256us.lut # Dicom-File-Format # Dicom-Meta-Information-Header # Used TransferSyntax: Little Endian Explicit (0002,0000) UL 194 # 4, 1 FileMetaInformationGroupLength (0002,0...