code: def test_binary_distance():
      def distance(x):
          y = scipy.ndimage.distance_transform_edt(x)
          if numpy.max(y) == 0:
              return y
          else:
              return y / numpy.max(y)
  
      binary_tteesstt("distance", distance, True)
  
imports: import io
  import centrosome.cpmorphology
  import centrosome.filter
  import numpy
  import pytest
  import scipy.ndimage
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.morph
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.setting
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 19 for calling a global function with example usage: test_binary_distance() and returns: y, unknown