FrameOfReferenceUID alignment
Align FrameOfReferenceUIDs so co-registered series share a common spatial reference.
Problem
Two studies are merged into one, or a study is split into two. After the structural change, the Frame of Reference UID (0020,0052) of the moved instances may be incorrect — instances that now belong to different spatial frames of reference would incorrectly share the same FoR UID, causing PACS viewers to misregister images during fusion or spatial alignment. The FoR UID must be regenerated to reflect the new structure.
Steps
-
Open two files (⌘O) that form separate studies. Verify in the Files panel that two study headers are visible.
-
Record the original FoR UID — switch to Edit mode (⌘3), filter for
(0020,0052), and note the value. -
Merge the studies — in the Files panel, use the Merge dropdown on one study header. Both series now group under one study (one header, two series rows).
-
Split a series — click the scissors icon (Split into separate study) on the first series. Two study headers reappear.
-
Verify the regenerated FoR UID — select the newly split series in the Files panel, switch to Edit mode, and filter for
(0020,0052). The value should:- Be different from the original FoR UID
- Contain the
dcmage.forprefix (identifying it as application-generated)
Expected Result
- After split, the separated study’s Frame of Reference UID is regenerated.
- The new FoR UID differs from the original and includes
dcmage.for. - The un-moved study retains its original FoR UID (only the moved instances get new UIDs).
- This prevents spatial misregistration when the PACS viewer attempts to align images from different anatomical frames of reference.