code: def load_medical_data(self, filename):
      self.nimg = nib.load(filename)
      data_array = self.nimg.get_data()
      original_spacing = self.nimg.header["pixdim"][1:4]
      return data_array, original_spacing
  
file_path: PaddleSeg/contrib/MedicalSeg/medicalseg/inference_helpers/nnformer_inference_helper.py
imports: import numpy
  import nibabel
  import os
  import sys
  from medicalseg.cvlibs import manager
  from medicalseg.inference_helpers import InferenceHelper
  from tools.preprocess_utils.geometry import resize_image, resize_segmentation
label_desc: Use image node_id 1 for calling the NNFormerInferenceHelper obj's underlying member method code with example usage: obj.load_medical_data(filename) and returns: data_array,  original_spacing