docs: def saveOverlayToDicomCopy(input_dcmfilelist, output_dicom_dir, overlays,
                             crinfo, orig_shape):
      """ Save overlay to dicom. """
      from . import datawriter as dwriter
  
      # import qmisc
      if not os.path.exists(output_dicom_dir):
          os.makedirs(output_dicom_dir)
  
      import imtools.image_manipulation
      # uncrop all overlays
      for key in overlays:
          overlays[key] = imtools.image_manipulation.uncrop(overlays[key], crinfo, orig_shape)
  
      dw = dwriter.DataWriter()
      dw.DataCopyWithOverlay(input_dcmfilelist, output_dicom_dir, overlays)