code: def mask_each(image, mask):
      result = image.copy()
      result[mask] = 0
      return result
  
file_path: scikit-image/skimage/color/tests/test_adapt_rgb.py
imports: from functools import partial
  import numpy
  from skimage import img_as_float, img_as_uint
  from skimage import color, data, filters
  from skimage.color.adapt_rgb import adapt_rgb, each_channel, hsv_value
label_desc: Use image node_id 3 for calling a global function with example usage: mask_each(image, mask) and returns: result