I am trying to create a new DICOM file from an existing DOCOM file. Therefore, the scenario is that I have a DOCOM file and I do some image processing on it and generate a transized / processed file and I would like to save the original file as a template.
Only one thing that changes
1: pixel data
2: resale and offset tag.
Does anybody know how I can get with DCMTK? I looked at various examples, but most of them save JPG or BMP image in a new DICOM file.
If you modify the image data (pixels data), you should save the new dataset with the new series instance UID and the SOP instance UID. In addition, you should also update the first value of the image pattern (0008, 0008) to "derivatives" so that the image is not the original image. The second price image type tag can be "primary" or "secondary" depending on the patient exam attributes, to describe the way you make the picture, you get the description (0008, 2111) and the etymology code sequence (0008,9215) ) Can also be used. In addition, you can also refer to the source images used to create a derived image by adding optional source image sequence (0008,2112), which is a list of referred SOP class UID (00081150) / referenced SOP example UID Can keep (0008,1150) pair (pairs).
Comments
Post a Comment