Grouping images in to same study
Moderator: Moderator Team
Grouping images in to same study
Each time Im sending to a image to server using storescu it generates new study uid and its the primary key of the table. Is it possible to merge images in to same study or retrieve that study uid somehow?
-
- DCMTK Developer
- Posts: 2054
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi,
I am not sure whether I understood your problem, but here's my guess:
most probably the Study Instance UID is taken out of the images you send via storescu. Usually, you would never change this information in an image. However, you could use 'dcmdump +P StudyInstanceUID yourdicomfile.dcm' to dump out the Study Instance UID of a file and you could use 'dcmodify -m StudyInstanceUID=?.???.?????..." to modify the UID.
Regards,
Michael
I am not sure whether I understood your problem, but here's my guess:
most probably the Study Instance UID is taken out of the images you send via storescu. Usually, you would never change this information in an image. However, you could use 'dcmdump +P StudyInstanceUID yourdicomfile.dcm' to dump out the Study Instance UID of a file and you could use 'dcmodify -m StudyInstanceUID=?.???.?????..." to modify the UID.
Regards,
Michael
-
- DCMTK Developer
- Posts: 2054
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
In DICOM, the hierarchy
'patient->study->series->image' reflects in the attributes:
Patient ID->Study Instance UID->Series Instance UID->SOP Instance UID
In your example, you should set Study and Series Instance UID of the images to the same values (different values for Study and Series of course), then the images will share the same Study and same Series. You could use the dcmodify approach mentioned above to change these UID values manually.
However, it is dangerous to play around with this hierarchy in real medical patient data! You also could run into problems if the images use attributes like the "Referenced Series Sequence" referencing some of these "hierarchy" Instance UIDs - these attributes would have to adapted, too, if present.
Regards,
Michael
'patient->study->series->image' reflects in the attributes:
Patient ID->Study Instance UID->Series Instance UID->SOP Instance UID
In your example, you should set Study and Series Instance UID of the images to the same values (different values for Study and Series of course), then the images will share the same Study and same Series. You could use the dcmodify approach mentioned above to change these UID values manually.
However, it is dangerous to play around with this hierarchy in real medical patient data! You also could run into problems if the images use attributes like the "Referenced Series Sequence" referencing some of these "hierarchy" Instance UIDs - these attributes would have to adapted, too, if present.
Regards,
Michael
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 1 guest