take image number into account when clustering panos