'Save multiple images with different resolutions using fo-dicom

I am trying to send a series of microscope images from the same sample with a different spatial resolution to a dicom server. Currently, I do that by creating a DicomDataset and using the DicomPixelData AddFrame method. However, I can only specify DicomTag.SpatialResolution once for the whole DicomDataset. Therefore, I think I am doing something wrong.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source