code: def iso_noise(
      image,
      color_shift=0.05,
      intensity=0.5,
      random_state=None,
      **kwargs,
  ):
      """
      Apply poisson noise to image to simulate camera sensor noise.
  
      Args:
          image (numpy.ndarray): Input image, currently, only RGB, uint8 images are supported.
          color_shift (float):
          intensity (float): Multiplication factor for noise values. Values of ~0.5 are produce noticeable,
                     yet acceptable level of noise.
          random_state:
          **kwargs:
  
      Returns:
          numpy.ndarray: Noised image
  
      """
      if image.dtype != np.uint8:
          raise TypeError("Image must have uint8 channel type")
      if not is_rgb_image(image):
          raise TypeError("Image must be RGB")
  
      one_over_255 = float(1.0 / 255.0)
      image = np.multiply(image, one_over_255, dtype=np.float32)
      hls = cv2.cvtColor(image, cv2.COLOR_RGB2HLS)
      _, stddev = cv2.meanStdDev(hls)
  
      luminance_noise = random_utils.poisson(
          stddev[1] * intensity * 255,
          size=hls.shape[:2],
          random_state=random_state,
      )
      color_noise = random_utils.normal(
          0,
          color_shift * 360 * intensity,
          size=hls.shape[:2],
          random_state=random_state,
      )
  
      hue = hls[..., 0]
      hue += color_noise
      hue[hue < 0] += 360
      hue[hue > 360] -= 360
  
      luminance = hls[..., 1]
      luminance += (luminance_noise / 255) * (1.0 - luminance)
  
      image = cv2.cvtColor(hls, cv2.COLOR_HLS2RGB) * 255
      return image.astype(np.uint8)
  
imports: from __future__ import division
  from typing import Optional, Sequence, Union
  from warnings import warn
  import cv2
  import numpy
  import skimage
  from albumentations import random_utils
  from albumentations.augmentations.utils import MAX_VALUES_BY_DTYPE, _maybe_process_in_chunks, clip, clipped, ensure_contiguous, is_grayscale_image, is_rgb_image, non_rgb_warning, preserve_channel_dim, preserve_shape
label_desc: Use image node_id 34 for calling a global function with example usage: iso_noise(image, color_shift, intensity, random_state) and returns: image