mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-02 12:41:06 +08:00
BUG: Dispatch threads to process entire image.
This commit is contained in:
1 parent
c7b3f1e84c
commit
4df36631f6
1 file changed
+1
-1
@@ -213,7 +213,7 @@ class ThreadDispatch(object):
|
||||
self.chunks.append((img[(height/2):, :, :],
|
||||
stateimg[(height/2):, :, :]))
|
||||
|
||||
for i in range(self.cores):
|
||||
for i in range(len(self.chunks)):
|
||||
self.threads.append(ImgThread(func, self.chunks[i][0],
|
||||
self.chunks[i][1], *args))
|
||||
|
||||
|
||||
Reference in new issue
Block a user