Skip to content

Commit

Permalink
Return registered image if registration
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeyiasemis committed Aug 13, 2024
1 parent 8742423 commit cbf5a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion direct/nn/vsharp/vsharp_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _do_iteration(

output_image = output_images[-1]
return DoIterationOutput(
output_image=output_image,
output_image=(output_image, registered_image) if "registration_model" in self.models else output_image,
sensitivity_map=data["sensitivity_map"],
sampling_mask=data["sampling_mask"],
data_dict={**loss_dict},
Expand Down

0 comments on commit cbf5a56

Please sign in to comment.