I use vtkDICOMImageReader to get patient information such as names, descriptive names, study IDs and study uid, and image data I am doing I wanted to get the patient's ID, how can I do it?
vtkDICOMImageReader does not provide this function.
- Using vtkMedicalImageReader2
- Obtain a library to read the DCM file / extension of the DICOM image.
- Use iTK-snap.
What is the best way to get the patient's ID?
Thanks a bunch! :)
"best" way ... well, more or less opinion based. 8)
If patient ID is essential information, then it may be sufficient to use vtkMedicalImageReader2
depending on your VTK version, because a bug in earlier versions , Which always returns null
instead of patient data.
But there are of course some external libraries also read the Decom header information like you can take a look at vtkGDCMImageReader
No comments:
Post a Comment