code: def imread_nibabel(filename):
      """Default nibabel loader for NiftyNet."""
      try:
          return nib.load(filename)
      except nib.filebasedimages.ImageFileError:
          raise IOError(
              "Nibabel could not load image file: {}".format(filename)
          )
  
file_path: NiftyNet/niftynet/io/image_loader.py
imports: from collections import OrderedDict
  import nibabel
  import numpy
  import tensorflow
  from niftynet.utilities.util_import import require_module
label_desc: Use image node_id 3 for calling a global function with example usage: imread_nibabel(filename) and returns: nib