monailabel.datastore.utils.convert module

monailabel.datastore.utils.convert.binary_to_image(reference_image, label, dtype=<class 'numpy.uint8'>, file_ext='.nii.gz')[source]
monailabel.datastore.utils.convert.dicom_seg_to_itk_image(label, output_ext='.seg.nrrd')[source]
monailabel.datastore.utils.convert.dicom_to_nifti(series_dir, is_seg=False)[source]
monailabel.datastore.utils.convert.itk_image_to_dicom_seg(label, series_dir, template)[source]
Return type

str

monailabel.datastore.utils.convert.nifti_to_dicom_seg(series_dir, label, label_info, file_ext='*', use_itk=True)[source]
Return type

str