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 #1620 (closed feature: fixed)

Opened 2013-01-10T13:25:24-06:00

Last modified 2013-09-24T15:35:17-05:00

Units support

Reported by: bdezonia Owned by: bdezonia
Priority: critical Milestone: imagej2-b8-analysis
Component: Data Model Version:
Severity: serious Keywords:
Cc: Blocked By: #1222, #1300, #1621, #1622, #1623, #1624
Blocking:

Description (last modified by bdezonia)

Below is outlined a plan for implementing units support in IJ2 and Imglib2 (see #445)

Phase 1: see #1621

Research unit libraries to use. They should be allow definition of units by string. And support compound units. And conversions so we can calibrate values. Libraries to consider: JScience, uomo, and ucar udunits (and others?).

Phase 2: see #1622

Create an imglib project (imglib-units or imglib-axes) that is not in core that relies on one of the libraries considered. We would have an Axis class with type, label, and unit. We would also support a CalibratedImg that would be an Img with these Axis's. This could affect or replace ImgPlus in imglib2.

Phase 3: see #1623

Having done this work on a branch share with imglib developers and solicit feedback. Incorporate changes.

Phase 4: see #1624

Update existing IJ2 code to be compatible with CalibratedImg. ij-data would then depend upon imglib2-axes.

Phase 5: (open separate tickets when appropriate)

Enhance IJ2 to use calibrated image code where appropriate for new functionality

Note: there are units related tickets branching off ticket #445.

Change History

comment:1 Changed 2013-01-10T13:31:35-06:00 by bdezonia

  • Type changed from task to feature

comment:2 Changed 2013-01-10T13:33:36-06:00 by bdezonia

  • Description modified

comment:3 Changed 2013-01-10T13:35:52-06:00 by bdezonia

  • Blocked By 1621 added

comment:4 Changed 2013-01-10T13:36:25-06:00 by bdezonia

  • Description modified

comment:5 Changed 2013-01-10T13:41:02-06:00 by bdezonia

  • Blocked By 1622 added

comment:6 Changed 2013-01-10T13:42:46-06:00 by bdezonia

  • Description modified

comment:7 Changed 2013-01-10T13:47:45-06:00 by bdezonia

  • Blocked By 1623 added

comment:8 Changed 2013-01-10T13:48:06-06:00 by bdezonia

  • Description modified

comment:9 Changed 2013-01-10T13:49:17-06:00 by bdezonia

  • Blocked By 1624 added

comment:10 Changed 2013-01-10T13:49:46-06:00 by bdezonia

  • Description modified

comment:11 Changed 2013-01-10T13:53:28-06:00 by bdezonia

  • Description modified

comment:12 Changed 2013-01-23T10:33:42-06:00 by bdezonia

  • Blocked By 1300 added

comment:13 Changed 2013-03-07T12:51:06-06:00 by bdezonia

  • Blocked By 445 added

comment:14 Changed 2013-03-07T12:52:07-06:00 by bdezonia

  • Blocked By 445 removed

See also #445

comment:15 Changed 2013-04-03T13:54:43-05:00 by bdezonia

  • Priority changed from major to critical

comment:16 Changed 2013-05-24T17:14:17-05:00 by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:17 Changed 2013-08-29T12:22:00-05:00 by bdezonia

  • Blocked By 1222 added

comment:18 Changed 2013-09-16T14:57:32-05:00 by bdezonia

  • Blocked By 2004 added

comment:19 Changed 2013-09-16T15:01:28-05:00 by bdezonia

  • Blocked By 2004 removed

comment:20 Changed 2013-09-24T15:35:17-05:00 by bdezonia

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

We are now in phase 5 of this ticket. Closing.