Merge branch 'rf/imglob-perf' into 'master'

MNT: Improve performance of im* scripts

See merge request fsl/fslpy!310
6 jobs for v3.7
Status Name Job ID Coverage
  Test
canceled test:3.7 #49690
docker

canceled test:3.8 #49691
docker

canceled test:3.9 #49692
docker

canceled test:build-pypi-dist #49693
docker

 
  Style
canceled style #49694
docker

 
  Doc
canceled pages #49695
docker