mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-28 16:30:54 +08:00
BUG: Dispatch threads to process entire image.
This commit is contained in:
@@ -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