NifTK / NiftyNet

[unmaintained] An open-source convolutional neural networks platform for research in medical image analysis and image-guided therapy
http://niftynet.io
Apache License 2.0
1.36k stars 404 forks source link

Refactoring of image I/O to accept data from memory and output to memory #346

Open stian-johnsen opened 5 years ago

stian-johnsen commented 5 years ago

This is a subtask of ticket https://github.com/NifTK/NiftyNet/issues/124: NiftyNet currently can only read images from the F/S and write results to the F/S. In order to make NiftyNet truly useful as a module in 3rd party code, it should be modified such that it can also accept images from memory and write to memory. To this end, this ticket proposes to generalise niftynet.io.image_reader.ImageReader into the general notion of an image source. Similarly, at the other end of the pipeline, there should be an image sink.