shimming-toolbox / shimming-toolbox-matlab

Code for performing real-time shimming using external MRI shim coils
GNU General Public License v3.0
16 stars 5 forks source link

REF: Delegate image object creation to `Maker` class #63

Open rtopfer opened 4 years ago

rtopfer commented 4 years ago

Refactoring MaRdI:

Creation of image objects from file (e.g. DICOM) is sufficiently complicated to warrant delegating it to a separate class from the image class itself.

This Maker class should also handle typecasting generic image objects into subtypes (e.g. magnitude, phase, etc.)