DeepRegNet / DeepReg

Medical image registration using deep learning
Apache License 2.0
560 stars 76 forks source link

Support iterative registration #744

Closed mathpluscode closed 3 years ago

mathpluscode commented 3 years ago

Subject of the feature

What are you trying to do and how would you want to do it differently?

Given a pair of moving/fixed images, we want to perform multiple times of registration to enable larger displacements. In other words, once registered, we can register the warped image to the fixed image again.

This is a common setting in inference. @YipengHu what do you think?

YipengHu commented 3 years ago

I would not consider this is common and the benefit isn't clear or convincing to me. What's stopping user to do this with existing code by running twice?

mathpluscode commented 3 years ago

I would not consider this is common and the benefit isn't clear or convincing to me. What's stopping user to do this with existing code by running twice?

Well, you still need to reorganize the input/output files.

The change should be minimal as you only need to call the following again by redefining the inputs

outputs = model.predict(x=inputs, batch_size=batch_size)
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.