Fast Interpolation / Resample of Numpy Array - Python

前端 未结 2 873
深忆病人
深忆病人 2021-02-14 07:17

Currently, I have written some Python code that is inserted into a pipeline.

The incoming data comes in in a numpy array of shape (1,512,19,25). I use the scipy.nd

2条回答
  •  旧巷少年郎
    2021-02-14 08:22

    Check the benchmarks in https://python-pillow.org/pillow-perf/

    TL;DR: for most scenarios the fastest way in Python is using pillow-simd.

提交回复
热议问题