Symmetric functions for fast image retrieval with persistent homology. (16th October 2018)