save input to dicom file
save input data and output segmentation