Open divertingPan opened 3 years ago
The running time is a bit long when the photo is high-resolution. I try to use numba then it is greatly boosting. Example:
numba
from numba import jit @jit(nopython=True) def max_filtering(N, I_temp): pass @jit(nopython=True) def min_filtering(N, A): pass
The running time (only processing, no loading and saving image time) is about 30 sec with numba, and 211 sec without numba, using 2976x3968 image by cellphone camera. Probably there are some better optimizing methods. I'm not skillful with numba.
too slow
The running time is a bit long when the photo is high-resolution. I try to use
numba
then it is greatly boosting. Example:The running time (only processing, no loading and saving image time) is about 30 sec with numba, and 211 sec without numba, using 2976x3968 image by cellphone camera. Probably there are some better optimizing methods. I'm not skillful with
numba
.