code: def rescale_and_lookup1d(data, scale, offset, lut):
      # data should be floating point and 2d
      # lut is 1d
      data_out = np.empty_like(data, dtype=lut.dtype)
      _rescale_and_lookup1d_function(
          data, float(scale), float(offset), lut, data_out
      )
      return data_out
  
imports: import numba
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: rescale_and_lookup1d(data, scale, offset, lut) and returns: data_out