I have a question on creating overlay into Dicom attribute 60xx
group.

Letís say if we have a 2 frames Dicom image (tag 0028,0008 (Number of
Frames) is 2) and each frame has one overlay frame related. Currently
the overlays are not in Dicom dataset, we like to add them into the
Dicom file. I have two ways to do it. Can someone check them and tell
me which is correct. Thanks!

Method 1. Create a Dicom attribute group 6000. And let
6000:0015 (Number of Frames in Overlay) = 2
6000:0051 (Image frame Origin) = 1
Ö
6000:3000 (Overlay Data) has two overlays bitmap data. First bitmap
for image frame1 and second bitmap for image frame 2.


Method 2. Create 2 Dicom attribute group 6000 and 6002. And let
6000:0015 (Number of Frames in Overlay) = 1
6000:0051 (Image frame Origin) = 1
Ö
6000:3000 (Overlay Data) has one overlay bitmap data for image frame1.

6002:0015 (Number of Frames in Overlay) = 1
6002:0051 (Image frame Origin) = 2
Ö
6002:3000 (Overlay Data) has one overlay bitmap data for image frame2.