Hello,
I’m trying to write a DICOM series (slice by slice) using itk-wasm / write-image, but GDCM regenerates the StudyInstanceUID and SeriesInstanceUID even when these metadata fields are already present in the input image. I noticed there is a default boolean m_KeepOriginalUID in the itkGDCMImageIO class, but this option is not exposed in the JavaScript bindings.
Am I doing something wrong? Is there a workaround or a recommended solution?
Thank you in advance,
Best regards