code: def enhance_edges_canny(
      image,
      mask=None,
      auto_threshold=True,
      auto_low_threshold=True,
      sigma=1.0,
      low_threshold=0.1,
      manual_threshold=0.2,
      threshold_adjustment_factor=1.0,
  ):
      if auto_threshold or auto_low_threshold:
          sobel_image = centrosome.filter.sobel(image)
          low, high = centrosome.otsu.otsu3(sobel_image[mask])
          if auto_threshold:
              high_th = high * threshold_adjustment_factor
          if auto_low_threshold:
              low_th = low * threshold_adjustment_factor
      else:
          low_th = low_threshold
          high_th = manual_threshold
  
      output_pixels = centrosome.filter.canny(
          image, mask, sigma, low_th, high_th
      )
      return output_pixels
  
imports: import numpy
  import skimage.color
  import skimage.morphology
  import centrosome
  import centrosome.threshold
  import scipy
  import matplotlib
label_desc: Use image node_id 6 for calling a global function with example usage: enhance_edges_canny(image, mask, auto_threshold, auto_low_threshold, sigma, low_threshold, manual_threshold, threshold_adjustment_factor) and returns: output_pixels