code: def distance_field_helper(source, target):
      target_kdtree = sp.spatial.cKDTree(target)
      distances, unused_var = target_kdtree.query(source, n_jobs=-1)
      return distances
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from os import path
  import numpy
  import scipy
  from skimage import measure
  import tensorflow.compat.v1
  from tensorflow_graphics.projects.cvxnet.lib import datasets
  from tensorflow_graphics.projects.cvxnet.lib import models
  from tensorflow_graphics.projects.cvxnet.lib.libmise import mise
  import trimesh
label_desc: Use image node_id 6 for calling a global function with example usage: distance_field_helper(source, target) and returns: distances