CambridgeCIA / LION

Learned Iterative Optimization Networks
GNU General Public License v3.0
20 stars 15 forks source link

add reconstructor class #110

Open hyt35 opened 4 months ago

hyt35 commented 4 months ago

Added LIONmodelSino and LIONmodelPhantom classes, as well as Constructor function to change from phantom to sino processing using FDK. Added sample testing/training procedure for the subclassed versions.

Constructor adds LIONmodelSino as a parent class of any class extending LIONmodelPhantom, changing forward operator to include FDK. The original phantom to phantom is retained as phantom2phantom. It should be easy to check which methods are implemented using isinstance, though I suspect Charlie will not be happy with this.

AnderBiguri commented 4 months ago

I would just not call it "phantom" but "recon" or "image" ("recon" better). A phantom is a particular type of image. same with other stuff (recon2recon).

AnderBiguri commented 6 days ago

FYI I finally have some time to code. I am trying to merge and tidy the code, but on first view this looks fine and I intend to put it in. May need some help at some point, but I'll ping you.