code: def example_augment_images_and_heatmaps():
      print("Example: Augment Images and Heatmaps")
      import numpy as np
      import imgaug.augmenters as iaa
  
      # Standard scenario: You have N RGB-images and additionally 21 heatmaps per
      # image. You want to augment each image and its heatmaps identically.
      images = np.random.randint(
          0, 255, (16, 128, 128, 3), dtype=np.uint8
      )
      heatmaps = np.random.random(size=(16, 64, 64, 1)).astype(
          np.float32
      )
  
      seq = iaa.Sequential(
          [
              iaa.GaussianBlur((0, 3.0)),
              iaa.Affine(translate_px={"x": (-40, 40)}),
              iaa.Crop(px=(0, 10)),
          ]
      )
  
      images_aug, heatmaps_aug = seq(images=images, heatmaps=heatmaps)
  
file_path: imgaug/checks/check_readme_examples.py
imports: from __future__ import print_function, division
  import functools
label_desc: Use image node_id 9 for calling a global function with example usage: example_augment_images_and_heatmaps() without return types