combine fits_ and spe_process into image_process