Closed XiaoWang-Github closed 3 years ago
In order to make limited angle convergence reasonable, we need to implement multi-resolution reconstruction. We just never observed this before because we couldn't easily do the reconstructions. Also, in order to implement the multi-resolution, we first needed to tune the parameter selection (which we have mostly done) so that the regularization didn't change dramatically with resolution.
I changed the issue to "implement multi-resolution reconstruction" because that is the underlying issue. But the good news is we are making great progress!!
OK, I got an initial version of multires_recon() working. I put it in the branch named "multi res_dev". You can run the demo named "demo_multires.py" to try it out.
This is cool! I try this out on the microscopy data.
Thilo's comments:
The use of *args and kwargs link here would be a way to do this since multires_recon() is very much only a wrapper around recon(). That is, most of the arguments to both functions are the same. Actually I think all arguments are the same except for max_resolutions.
def multires_recon(max_resolutions, *args, **kwargs):
In the very bottom of multires_recon() we would not call recon() with all these arguments separately but instead simply call
``reconstruction = recon(*args, kwargs)``
Sounds good!
Decide that *args, **kwargs wasn't worth it. Will do sinogram resizing in future.
Hi everyone,