Hello,
I would like to read the dicom tag value of "Image Position" [ 0028, 0032 ].
How to read the image position x, y and z coordinate values.
[code]
pDataset->findAndGetOFString(DCM_ImagePositionPatient,ofStringDicomField).good(){
lpszDicomField = ofStringDicomField.data();
nDicomFieldLength = strlen(lpszDicomField);
// copy the data in my structure
}
[/code]
If actual value of image position is [-195.000000\-195.000000\-1016.000000]
I can retrieve only the x-coordinate value i.e. -195.00000
how do i get the other y and z coordinate values.
Thanks..
Reading the value of DICOM Tag "Image Position"
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 1 guest