示例#1
0
 def __init__(self, config, in_jac_folder, in_affine_mat_folder, out_folder,
              ref_img, file_list_txt):
     super().__init__(config, in_jac_folder, file_list_txt)
     self._ref_img = ScanWrapper(ref_img)
     self._in_affine_mat_folder = DataFolder.get_data_folder_obj(
         config, in_affine_mat_folder, data_list_txt=file_list_txt)
     self._out_data_folder = DataFolder.get_data_folder_obj(
         config, out_folder, data_list_txt=file_list_txt)
示例#2
0
 def __init__(self, config, in_dat_folder, out_folder, ref_img,
              file_list_txt):
     super().__init__(config, in_dat_folder, file_list_txt)
     self._ref_img = ScanWrapper(ref_img)
     self._out_data_folder = DataFolder.get_data_folder_obj(
         config, out_folder, data_list_txt=file_list_txt)
     self._jacobian_tool = config['deedsBCV_jacobian']
示例#3
0
 def __init__(self, config, in_folder, mask_img, out_png_folder, file_list_txt):
     super().__init__(config, in_folder, file_list_txt)
     self._mask_img = ScanWrapper(mask_img)
     self._out_png_folder = DataFolder.get_data_folder_obj(config, out_png_folder, data_list_txt=file_list_txt)
     self._out_png_folder.change_suffix('.png')
     self._vmax = 500
     self._vmin = -1000
示例#4
0
 def __init__(self, config, in_folder, out_folder, ref_img, order=3):
     super().__init__(config, in_folder)
     self._out_data_folder = DataFolder.get_data_folder_obj(
         config, out_folder)
     self._ref_img = ScanWrapper(ref_img)
     self._order = order
     self._reg_resample = config['niftyreg_resample']
     self._reg_resmaple_ref = config['reg_resample_ref_img']
示例#5
0
 def __init__(self,
              config,
              in_folder,
              out_folder,
              average_img,
              file_list_txt=None):
     super().__init__(config, in_folder, file_list_txt=file_list_txt)
     self._out_data_folder = DataFolder.get_data_folder_obj(
         config, out_folder, data_list_txt=file_list_txt)
     mkdir_p(out_folder)
     self._average_img = ScanWrapper(average_img)
示例#6
0
 def __init__(self,
              config,
              in_scan_folder,
              in_region_mask_folder,
              file_list_txt,
              out_average_img,
              ambient=-5000):
     super().__init__(config, in_scan_folder, file_list_txt)
     self._in_region_mask_folder = DataFolder.get_data_folder_obj(
         config, in_region_mask_folder, data_list_txt=file_list_txt)
     self._out_img_path = out_average_img
     self._ref_img = ScanWrapper(self._in_data_folder.get_first_path())
     self._ambient = ambient
示例#7
0
 def __init__(self, config, in_folder, out_folder, file_list_txt):
     super().__init__(config, in_folder, file_list_txt)
     self._out_folder = DataFolder.get_data_folder_obj(
         config, out_folder, data_list_txt=file_list_txt)