Ticket #371 (closed task: fixed)

Opened 9 years ago

Last modified 9 years ago

Make pure IJ2 plugins aware of selection region

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Mar-14 to Mar-25
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Currently the existing pure IJ2 plugins work on the whole image. Change NAryOperation to utilize imglib-ops' capability of working on subregions. Fake out plugins having a selection region via fake min/max x/y extents as plugin parameters. Replace fake parameters when slection/roi code in place in IJ2.

Change History

comment:1 Changed 9 years ago by bdezonia

  • Status changed from new to accepted

comment:2 Changed 9 years ago by bdezonia

implementation note: for now add getBoundingBox() to Dataset. It will move later but is useful now for testing that plugins work on the selected rectangle.

comment:3 Changed 9 years ago by bdezonia

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

Made all existing plugins work with a selected region if that is the behavior of the ImageJ 1.x plugin. Uses temporary code in Dataset that carries around a Rect of the currently selected region. Must move selection region code out of Dataset in the future.

Note: See TracTickets for help on using tickets.