imgTodicom: convert image to dicom series