parallelized boxFilter and convertTo calls.