code: def get_pair_id(image_id1, image_id2):
      if image_id1 > image_id2:
          image_id1, image_id2 = image_id2, image_id1
      return image_id1 * 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 3 for calling a global function with example usage: get_pair_id(image_id1, image_id2) and returns: unknown