Adding the Resampling filter on the CPU.