code: def delete_images(self, image_list):
      # delete specified images
      for image_id in image_list:
          if image_id in self.images:
              del self.images[image_id]
  
      keep_set = set(self.images.iterkeys())
  
      # delete references to specified images, and ignore any points that are
      # invalidated
      iter_point3D_id_to_point3D_idx = (
          self.point3D_id_to_point3D_idx.items()
      )
  
      for point3D_id, point3D_idx in iter_point3D_id_to_point3D_idx:
          if point3D_idx == SceneManager.INVALID_POINT3D:
              continue
  
          mask = np.array(
              [
                  image_id in keep_set
                  for image_id in self.point3D_id_to_images[point3D_id][
                      :, 0
                  ]
              ]
          )
          if np.any(mask):
              self.point3D_id_to_images[
                  point3D_id
              ] = self.point3D_id_to_images[point3D_id][mask]
          else:
              self.point3D_id_to_point3D_idx[
                  point3D_id
              ] = SceneManager.INVALID_POINT3D
  
imports: from collections import OrderedDict, defaultdict
  from io import StringIO
  from itertools import combinations
  import os
  import struct
  from .camera import Camera
  from .image import Image
  import numpy
  from .rotation import Quaternion
label_desc: Use image node_id 32 for calling the SceneManager obj's underlying member method code with example usage: obj.delete_images(image_list) without return types