code: def get_image_ids_from_pair_id(pair_id):
      image_id2 = pair_id % MAX_IMAGE_ID
      return (pair_id - image_id2) / MAX_IMAGE_ID, image_id2
  
file_path: nerfies/third_party/pycolmap/pycolmap/database.py
imports: import numpy
  import os
  import sqlite3
label_desc: Use image node_id 4 for calling a global function with example usage: get_image_ids_from_pair_id(pair_id) and returns: unknown,  image_id2