code: def get_2d_reader():
      data_param = {"mr": {"path_to_search": IMAGE_PATH_2D_1}}
      reader = ImageReader().initialise(data_param)
      return reader
  
imports: from __future__ import absolute_import, print_function
  import os
  import unittest
  import numpy
  import tensorflow
  from niftynet.engine.image_window import N_SPATIAL, LOCATION_FORMAT
  from niftynet.engine.image_window_dataset import ImageWindowDataset
  from niftynet.io.image_reader import ImageReader
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 1 for calling a global function with example usage: get_2d_reader() and returns: reader