tileIds for image problemm

What subset of the tiles in a pair of images do we use? The unique set
of all tiles or the intersection of the two?