code: def read_array(path):
      """
      https://github.com/colmap/colmap/blob/dev/scripts/python/read_dense.py
      """
      with open(path, "rb") as fid:
          width, height, channels = np.genfromtxt(
              fid,
              delimiter="&",
              max_rows=1,
              usecols=(0, 1, 2),
              dtype=int,
          )
          fid.seek(0)
          num_delimiter = 0
          byte = fid.read(1)
          while True:
              if byte == b"&":
                  num_delimiter += 1
                  if num_delimiter >= 3:
                      break
              byte = fid.read(1)
          array = np.fromfile(fid, np.float32)
      array = array.reshape((width, height, channels), order="F")
      return np.transpose(array, (1, 0, 2)).squeeze()
  
imports: import os
  import abc
  import numpy
  import imageio
  import PIL
  from PIL import Image
label_desc: Use image node_id 1 for calling a global function with example usage: read_array(path) and returns: np