Efficient Spatial Resampling Using the PDF Similarity | Synapse