Ticket #755 (closed defect: moved)

Opened 7 years ago

Last modified 5 years ago

Enhance Imglib OPS' image assignment classes

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-unscheduled
Component: ImgLib2 Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1467

Description

In the original implementation of OPS (rev2) you could update listeners during an assignment operation. You could also quit an assignment from another thread.

Enhance RealImageAssignment and ComplexImageAssignment to have a thread safe quit/abort method.

Also put in an addObserver, removeObserver, and updateObservers capability. If observers exist inform them of steps done so far, last value collected, last position visited, last value of conditional test, and iteration status (INIT, UPDATE, DONE). Note that this capability may be tricky or undesirable in a multithreaded implementation.

Change History

comment:1 Changed 7 years ago by bdezonia

Thread safe abort() now added

comment:2 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta3

comment:3 Changed 7 years ago by bdezonia

Thread safe abort done long ago

comment:4 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:5 Changed 6 years ago by bdezonia

  • Blocking 1467 added

comment:6 Changed 6 years ago by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imageJ-2.0.0-TODO

comment:7 Changed 5 years ago by curtis

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

ImgLib2 OPS is retired in favor of  ImageJ OPS.

The ImageJ OPS API  still needs progress monitoring, too. It does support cancelation via SciJava's  Cancelable interface.

Note: See TracTickets for help on using tickets.