DICOM write: invalid character for this VR [message #68616] |
Thu, 12 November 2009 05:43 |
LNpellen
Messages: 37 Registered: November 2009
|
Member |
|
|
I am working with some structure DICOM files and do copy values from
an original file to another file. For an ROI I have found the
colorstring '0\255\0' in this case.
When trying to run this line of code:
o->SetValue, '3006,002A', 'IS', colorstring, SEQID=gcid
I get the error message:
% IDLFFDICOMEX::SETVALUE: Error: Failed to write attribute value (tag/
vr/err). , 3006,002A, IS, Invalid characters in value for this VR
I have seen one other post on similar invalid character error, but
that problem was left unsolved. Can somebody help me here?
I cannot see why the characters are invalid as they come from a valid
DICOM file. Are there any other valid string to express RGB without
the backslash? I guess the backslash is the invalid character here.
ln
|
|
|