Add a function to map objects back to corresponding image ordinals.