How to modify DCM_ImagePositionPatient

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
xx_zx
Posts: 4
Joined: Wed, 2008-10-08, 17:16

How to modify DCM_ImagePositionPatient

#1 Post by xx_zx »

I tried to modify DCM_ImagePositionPatient but failed. The VR of DCM_ImagePositionPatient is DS which should be modified by putAndInsertString, right? But I can not find position parameter that can specify 3 coordinates.
What should do?

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Use the DICOM notation, i.e. separate the values by a backslash, e.g. "1.0\1.0\1.0". (NB: In your source code, you need to double the backslashes, i.e. use "1.0\\1.0\\1.0".)

xx_zx
Posts: 4
Joined: Wed, 2008-10-08, 17:16

#3 Post by xx_zx »

Jörg Riesmeier wrote:Use the DICOM notation, i.e. separate the values by a backslash, e.g. "1.0\1.0\1.0". (NB: In your source code, you need to double the backslashes, i.e. use "1.0\\1.0\\1.0".)
oh, right. how shouldn't I come up with that. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest