code: def convert_sat(img, out_type):
      iinfo = np.iinfo(out_type)
      min_v, max_v = iinfo.min, iinfo.max
      img = np.clip(img, min_v, max_v)
      return img.astype(out_type)
  
imports: from nvidia.dali.pipeline import pipeline_def
  import nvidia.dali.types
  import nvidia.dali.fn
  import numpy
  import cv2
  from scipy.ndimage import convolve1d, filters
  import os
  from nose_utils import assert_raises
  from nose.plugins.attrib import attr
  from sequences_test_utils import video_suite_helper, ArgCb
  from test_utils import get_dali_extra_path, check_batch, RandomlyShapedDataIterator
label_desc: Use image node_id 13 for calling a global function with example usage: convert_sat(img, out_type) and returns: img