shading-removal-of-images's People
Forkers
xrosliang abrmain dmxd nautile86 zdhscdj yibo-zhu a1049990866 xingke-mo shufacai huabao97 fsyangjie 1091128818 1170300408 dabiaoluo yangyin2016 lhf981128 iaiclub zidonghuadianqi struggle-sen kaiven11 liulangxing c4ys channingkuo luan-zb zuoyuwei sisongxu connichiha littlefish03 xwspace cam1113 easyeye163 liuwenhaha gongmingwind sebastian-gx top7dogshading-removal-of-images's Issues
Recommendations for performance optimization
The running time is a bit long when the photo is high-resolution. I try to use numba
then it is greatly boosting.
Example:
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
.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.