code: def test_enhance_texture(image, module, workspace):
      r = numpy.random.RandomState()
  
      r.seed(81)
  
      data = r.uniform(size=(19, 24))
  
      image.pixel_data = data
  
      sigma = 2.1
  
      module.method.value = "Enhance"
  
      module.enhance_method.value = "Texture"
  
      module.smoothing.value = sigma
  
      module.run(workspace)
  
      gaussian_mask = skimage.filters.gaussian(
          numpy.ones_like(data), sigma, mode="constant"
      )
  
      gaussian = (
          skimage.filters.gaussian(data, sigma, mode="constant")
          / gaussian_mask
      )
  
      squared_gaussian = (
          skimage.filters.gaussian(data**2, sigma, mode="constant")
          / gaussian_mask
      )
  
      expected = squared_gaussian - gaussian**2
  
      actual = workspace.image_set.get_image("output").pixel_data
  
      numpy.testing.assert_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 25 for calling a global function with example usage: test_enhance_texture(image, module, workspace) without return types