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 #352 (accepted task)

Opened 2011-03-10T13:16:23-06:00

Last modified 2012-08-14T10:31:35-05:00

Define ROIs & Selections in relation to Img's

Reported by: gharris Owned by: leek
Priority: major Milestone: imagej2-b9-rois
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #285

Description

Define functionality ROIs and Selections on Img<T>'s in the context of arbitrary projections/views.
ROI's are generally defined on a view (using a projection) and can be mapped back into Img-space using an inverse projection.
How/where is a ROI and it associated context (projection) stored?
Is the use of 'function images' appropriate for this?

Change History

comment:1 Changed 2011-03-14T11:10:12-05:00 by gharris

  • Milestone changed from biweekly-2011: Mar-14 to Mar-25 to biweekly-2011: Mar-28 to Apr-08

comment:2 Changed 2011-03-17T12:53:55-05:00 by curtis

  • Owner changed from gharris to leek
  • Status changed from new to assigned

comment:3 follow-up: ↓ 4 Changed 2011-04-11T10:19:21-05:00 by leek

  • Milestone changed from biweekly-2011: Mar-28 to Apr-08 to biweekly-2011: Apr-11 to Apr-22

Code and testing complete. Needs to be reviewed to see how it fits with the rest of the ImageJ dataset infrastructure. Needs to be merged from imglib2-roi to whatever is the main branch.

There are 4 parts:

  • imglib2 ROI classes support ideas of point membership in a ROI and pixel iteration over a ROI.
  • a labeling / segmentation can be viewed as a bunch of ROIs representing the labeled objects.
  • imageJ has an interface designed to tag a @parameter as a ROI and has a demo implementation of Omero rectangle ROIs as an ImageJ ROI.
  • imageJ has a JHotDraw ROI adapter mechanism where adapters for ROIs are discovered through SezPos and integrated into the JHotDraw GUI.

comment:4 in reply to: ↑ 3 Changed 2011-04-11T14:52:18-05:00 by curtis

Replying to leek:

Needs to be merged from imglib2-roi to whatever is the main branch.

I filed a ticket for the merge: #440.

comment:5 Changed 2011-05-23T10:12:44-05:00 by leek

  • Milestone changed from biweekly-2011: May-09 to May-20 to biweekly-2011: May-23 to Jun-03

I've finished many aspects of this:

  • Overlays in ij-data (with much help from Curtis)
  • Plugins for selecting, deleting overlays, modifying overlay properties (ditto Curtis)
  • JHotDraw Overlay / Adapter mechanism
  • RectangleAdapter, EllipseAdapter, PolygonAdapter

comment:6 Changed 2011-05-23T10:14:53-05:00 by leek

  • Status changed from assigned to accepted

comment:7 Changed 2011-07-26T10:23:22-05:00 by leek

  • Milestone changed from biweekly-2011: Jul-18 to Jul-29 to imagej-2.0-beta1

This ticket needs to be monitored as we progress to make sure that ROIs continue to adhere to the projection model as it moves from image-based to display-based.

comment:8 Changed 2011-07-27T15:12:13-05:00 by curtis

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

This is likely related to #660.

comment:9 Changed 2011-09-12T10:58:23-05:00 by leek

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

comment:10 Changed 2012-07-19T21:20:29-05:00 by dscho

  • Blocking 285 added

comment:11 Changed 2012-08-14T10:31:35-05:00 by curtis

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

ROIs will be the focus of beta6.