benchmarking opencv tiff resizing