Ticket #753 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Parallelize image assignment in Imglib OPS

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
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 8 years ago by bdezonia

  • Summary changed from Parallelize image assignement in Imglib OPS to Parallelize image assignment in Imglib OPS

Function::duplicate() changes made to imglib. Just need to update the image assignment classes for parallelism.

comment:2 Changed 8 years ago 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 8 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

ComplexInageAssignment completed. Refactor done.

Note: See TracTickets for help on using tickets.