A Bayesian similarity measure for direct image matching | Synapse