fsl nans code example
Example: fsl nans
#!/bin/sh
# Any image containing NANs may not be read correctly
# by fslmaths or fslstats.
# -nan : replace NaNs (improper numbers) with 0
fslmaths img -nan img_no_nans
#!/bin/sh
# Any image containing NANs may not be read correctly
# by fslmaths or fslstats.
# -nan : replace NaNs (improper numbers) with 0
fslmaths img -nan img_no_nans