MCPcopy Create free account
hub / github.com/makelove/OpenCV-Python-Tutorial / process

Function process

官方samples/gabor_threads.py:34–39  ·  view source on GitHub ↗
(img, filters)

Source from the content-addressed store, hash-verified

32 return filters
33
34def process(img, filters):
35 accum = np.zeros_like(img)
36 for kern in filters:
37 fimg = cv2.filter2D(img, cv2.CV_8UC3, kern)
38 np.maximum(accum, fimg, accum)
39 return accum
40
41def process_threaded(img, filters, threadn = 8):
42 accum = np.zeros_like(img)

Callers 1

gabor_threads.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected