Efficient high-resolution template matching with vector quantized nearest neighbour fields | Synapse