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 #502 (new enhancement)

Opened 2011-05-04T16:39:19-05:00

Last modified 2013-03-06T17:08:50-06:00

Expand Image Calculator plugin

Reported by: bdezonia Owned by: bdezonia
Priority: minor Milestone: imagej2-b10-compatibility
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1524

Description (last modified by bdezonia)

Extending the Image Calculator to have more operations is quite simple. You define a BinaryOperator class in OPS (which is a couple lines) and add it to ImageMath along with a String that ties it into the choices available in the GUI. Think what other operations some people may desire and add it.

Since its relying on OPS we could also make the dialog expandable to N Datasets and recast things using an AssignOperation. If we did this we need to define some NAry ops. We also could support combinations of subregions of input images.

Change History

comment:1 Changed 2011-06-01T11:25:15-05:00 by bdezonia

  • Description modified

comment:2 Changed 2012-12-06T11:20:15-06:00 by bdezonia

  • Blocking 1524 added
  • Milestone changed from imagej-2.0.0 to imagej-2.0.0-beta10

comment:3 Changed 2013-03-06T17:08:50-06:00 by bdezonia

Note that ctrueden recently made the calculator operations discoverable by sezpoz. Extending the calculator is easier than ever.