Image subtraction using a space-varying kernel | Synapse