vectorize way of image downsampling

后端 未结 0 1676
旧巷少年郎
旧巷少年郎 2021-01-06 23:46

I want to down sample image by 2.But is there a faster and vectorized way to implement this without using for loops?

import numpy as np
m, n = f.shape
h=np.ze         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题