Optimal map parameters estimation in staple-learning from performance parameters versus image similarity information