nobrainer icon indicating copy to clipboard operation
nobrainer copied to clipboard

Replace `mri_convert --conform` with nibabel version

Open kaczmarj opened this issue 4 years ago • 0 comments

Nibabel has a function almost equivalent to mri_convert --conform: https://github.com/nipy/nibabel/pull/853

The main difference is that the nibabel version does not implement histogram normalization. The histogram normalization code is translated to python in https://github.com/nipy/nibabel/pull/853#issuecomment-616688636 and can be implemented with numpy.histogram.

kaczmarj avatar Oct 15 '20 13:10 kaczmarj