Similar Items: The Density of Cross-Persistence Diagrams and Its Applications