dump2dcm.exe - error with most Contour Data attributes

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
neek
Posts: 1
Joined: Wed, 2005-08-31, 04:00

dump2dcm.exe - error with most Contour Data attributes

#1 Post by neek »

I am using dump2dcm.exe for creating RTSTRUCT files. However, I get the follow error for (3006,0050) Contour Data when there are more than 4096 characters in the line:

line XXX too long.
dump2dcm: rtstruct_h.txt: incorrect value specification (line XXX)

Most of my contour data is longer than 4096 characters.

Is there any way around this or am I doing something wrong?

Thank you in advance.

Thomas Wilkens
DCMTK Developer
Posts: 117
Joined: Tue, 2004-11-02, 17:21
Location: Oldenburg, Germany
Contact:

#2 Post by Thomas Wilkens »

Use this option:

Code: Select all

  +l   --line  [m]ax-length: integer
         maximum line length m (default 4096)
That should do it.

Please note that with each command line application, e.g. dump2dcm.exe, there is also a textfile explaining all command line options/parameters, e.g. dump2dcm.man or dump2dcm.txt. Moreover, running a command line tool without any parameter will show you all options/parameters.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest