NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #755 (closed defect: moved)

Opened 2011-09-15T10:19:38-05:00

Last modified 2014-06-08T22:42:28-05:00

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 2011-09-21T12:33:42-05:00 by bdezonia

Thread safe abort() now added

comment:2 Changed 2011-10-10T14:31:48-05:00 by bdezonia

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

comment:3 Changed 2012-05-14T11:28:36-05:00 by bdezonia

Thread safe abort done long ago

comment:4 Changed 2012-07-17T16:02:35-05:00 by bdezonia

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

comment:5 Changed 2012-09-10T15:40:33-05:00 by bdezonia

  • Blocking 1467 added

comment:6 Changed 2013-01-22T12:25:48-06:00 by bdezonia

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

comment:7 Changed 2014-06-08T22:42:28-05:00 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.