code: def test_enhance_neurites_gradient(image, module, workspace):
      resources = os.path.realpath(
          os.path.join(
              os.path.dirname(tests.frontend.__file__), "resources"
          )
      )
  
      data = numpy.load(os.path.join(resources, "neurite.npy"))
  
      data = skimage.exposure.rescale_intensity(1.0 * data)
  
      image.pixel_data = data
  
      module.method.value = "Enhance"
  
      module.enhance_method.value = "Neurites"
  
      module.neurite_choice.value = "Line structures"
  
      module.object_size.value = 8
  
      module.run(workspace)
  
      output = workspace.image_set.get_image("output")
  
      actual = output.pixel_data
  
      expected = numpy.load(
          os.path.join(resources, "enhanced_neurite.npy")
      )
  
      numpy.testing.assert_array_almost_equal(expected, actual)
  
imports: import io
  import os.path
  import centrosome.filter
  import numpy
  import pytest
  import scipy.ndimage
  import skimage.exposure
  import skimage.filters
  import skimage.transform
  import tests.frontend.modules
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler.modules.enhanceorsuppressfeatures
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
  import tests.frontend
label_desc: Use image node_id 15 for calling a global function with example usage: test_enhance_neurites_gradient(image, module, workspace) without return types