Ticket #753 (closed defect: fixed)
Opened 2011-09-15T09:59:53-05:00
Last modified 2011-09-21T12:34:40-05:00
Parallelize image assignment in Imglib OPS
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | ImgLib2 | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Make RealImageAssignment and ComplexImageAssignment do their work in a parallel fashion. One could subdivide the input neighborhood into multiple subregions and calculate the function values from separate threads.
Since functions eventually depend upon image functions who own cursors we need to build one function per thread so that each thread has it's own set of cursors to avoid threading issues. This could be accomplished by creating one function and then repeatedly calling a duplicate() method on the function. So the current Function interface needs to be enhanced to support duplicate().
Change History
comment:1 Changed 2011-09-20T08:50:17-05:00 by bdezonia
- Summary changed from Parallelize image assignement in Imglib OPS to Parallelize image assignment in Imglib OPS
comment:2 Changed 2011-09-20T16:49:10-05:00 by bdezonia
Updated RealImageAssignment to work with parallel threads
TODO - update COmplexImageAssignment to do the same thing and refactor so the two classes can share basic methods
comment:3 Changed 2011-09-21T12:34:40-05:00 by bdezonia
- Status changed from new to closed
- Resolution set to fixed
ComplexInageAssignment completed. Refactor done.
Function::duplicate() changes made to imglib. Just need to update the image assignment classes for parallelism.