code: def test_get_measurement_scales_image():
      image = numpy.random.rand(10, 10)
      labels = numpy.zeros_like(image, dtype=numpy.uint8)
      workspace, module = make_workspace(image, labels)
      workspace.pipeline.set_volumetric(False)
  
      measurement_scales = module.get_measurement_scales(
          workspace.pipeline,
          INPUT_OBJECTS_NAME,
          cellprofiler.modules.measuretexture.TEXTURE,
          "AngularSecondMoment",
          INPUT_IMAGE_NAME,
      )
  
      assert len(measurement_scales) == 4
  
imports: import io
  import numpy
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.measuretexture
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
label_desc: Use image node_id 17 for calling a global function with example usage: test_get_measurement_scales_image() without return types