code: def world_transformation(xmin, xmax, ymin, ymax, zmin, zmax):
      dx, dy, dz = (xmax - xmin), (ymax - ymin), (zmax - zmin)
      return np.array(
          [
              [1.0 / dx, 0, 0, -xmin / dx],
              [0, 1.0 / dy, 0, -ymin / dy],
              [0, 0, 1.0 / dz, -zmin / dz],
              [0, 0, 0, 1.0],
          ]
      )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from six.moves import zip
  import numpy
  import numpy.linalg
label_desc: Use image node_id 5 for calling a global function with example usage: world_transformation(xmin, xmax, ymin, ymax, zmin, zmax) and returns: np