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 #347 (closed task: fixed)

Opened 2011-02-24T14:53:01-06:00

Last modified 2011-03-11T11:00:20-06:00

Port IJ1 plugins to IJ2

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Feb-28 to Mar-11
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:


Start moving plugin implementations from IJ1 to IJ2. Start with 10 or 20 concentrating on quit and the Process menu. For each plugin decide to either 1:(cut and paste IJ1 code and adapt to IJ2), 2:(implement using imglib-ops), or 3:(implement a plugin that will run an imglib algorithm and implement the IJ1 plugins as imglib algorithms). Preferentially use methods 2 & 3.

Change History

comment:1 Changed 2011-02-24T14:57:12-06:00 by bdezonia

  • Status changed from new to accepted

Implemented NAryOperationPlugin. Implemented SquareDataValues plugin. Implemented QuitProgram plugin.

Need to implement UnaryOperationPlugin & BinaryOperationPlugin to simplify use of plugin input variables.

Need to implement a number of RealFunctions in rev 2 imglib-ops to support the Process>Math submenu operations.

Note that many of the Process>Math operations in IJ1 show a preview of changes before the input dialog data has been completely entered. Input harvesting has to be extended to do so too. Curtis says he has some ideas about this.

comment:2 Changed 2011-03-04T13:33:44-06:00 by bdezonia

To date I have implemented approximately 40 plugins in pure IJ2 code. Temporarily there is a PureIJ2 menu with submenus containing all ported commands. Some of these use ImglibAlgorithm. Others use NAryOperation.

comment:3 Changed 2011-03-08T13:27:41-06:00 by bdezonia

PureIJ2 menu removed. Pure IJ2 plugins are populating regular menu positions. Pure IJ2 plugins get in the menu via blacklisting IJ1 plugins in LegacyPluginFinder. Those IJ1 plugins that are not blacklisted are marked with a microscope icon next to them in the menu.

comment:4 Changed 2011-03-11T11:00:20-06:00 by bdezonia

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

Process>Math plugins refactored to use UnaryTransformation. All plugins documented and reformatted. As much as possible make plugins install in menus like IJ1's did. Also made them have the same command names, hotkeys, and input prompt strings. Reorganized core-plugins package structure.

This ticket too broad. Create new tickets as new plugins implemented.