Skip to content

If xASL_io_Nifti2Im loads a mask, don’t use single() but logical() #187

@HenkMutsaerts

Description

@HenkMutsaerts

This is just to speed things up, xASL_io_Nifti2Im will always by default convert an image matrix loaded from a NIfTI to a single-precision format. This is a trade-off between precision and memory usage (assuming that the quantification differences between single and double-precision formats are negligible).

Release notes

Load NIfTI as UINT8 or INT16 if not floating point.

Metadata

Metadata

Assignees

Labels

optimizationEnsure that code runs faster with unchanged functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions