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 403 forks source link

regression application csv output #392

Open pritesh-mehta opened 5 years ago

pritesh-mehta commented 5 years ago

372 forces the use of the identity aggregator in the case of output that is not the same shape as the input image e.g. single value regression. The identity aggregator saves output as nifti images. This behaviour is enabled by a config flag -force_output_identity_resizing. A more desirable solution would be to not have a flag in the config and in the case of non-image output, pass through the resize sampler to produce a CSV output only (nifti images containing a single value are unnecessary).

pritesh-mehta commented 5 years ago

The need for a flag may be negated by specifying a csv output if the csv reader is used for label input.