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

Opened 2011-03-14T11:16:18-05:00

Last modified 2011-03-22T13:30:21-05:00

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 2011-03-14T11:16:26-05:00 by bdezonia

  • Status changed from new to accepted

comment:2 Changed 2011-03-14T13:04:42-05:00 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 2011-03-22T13:30:21-05:00 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.