A pixel dissimilarity measure that is insensitive to image sampling | Synapse