Hello I have a problem with dicom tag array:
DcmDataset *ds = dicom.getDataset();
double *position;
ds->findAndGetFloat64(DCM_ImagePositionPatient,position);
findAndGetFloat64 return the pointer position as NULL.
I have this problem with all tag array.
Thanks a lot in advantage.
findAndGetFloat64
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Do you mean DcmItem::findAndGetFloat64Array()?
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
You can use the findAndGetFloat64 (documentation) which is applicable to VR DS. You can use the position parameter to get all three values of attribute Image Position Patient.
Regards,
Michael
Regards,
Michael
Who is online
Users browsing this forum: Google [Bot] and 1 guest