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

Opened 2013-01-10T13:41:02-06:00

Last modified 2013-09-16T14:53:08-05:00

Make a units package in Imglib

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b8-analysis
Component: ImgLib2 Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1620

Description (last modified by bdezonia)

Create an imglib project (imglib-units or imglib-axes) that is not in core that relies on one of the libraries considered in #1621. 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.

Change History

comment:1 Changed 2013-01-10T13:42:02-06:00 by bdezonia

  • Description modified

comment:2 Changed 2013-01-22T10:27:54-06:00 by bdezonia

Some work done along these lines. There is an axes branch on Imglib that supports an Axis<?> class and modifies ImgPlus. I also have a hack-units branch on IJ2 that exercises Uomo code. I am actively updating IJ2 code to support the new Axis<?> class on my machine in a axes branch.

comment:3 Changed 2013-01-28T16:18:36-06:00 by bdezonia

Much work done on the axes branches of Imglib and ImageJ2. It can demonstrate unit concepts. It does not have support for any unit libraries at the moment. I am currently passing it by ctrueden. He may post an email to Imglib developers and discuss our needs. Waiting for those things to happen before going forward.

comment:4 Changed 2013-04-11T10:59:07-05:00 by bdezonia

  • Owner changed from bdezonia to curtis
  • Status changed from new to reviewing

We will tackle some of these issues at the Imglib minihackathon in Madison in Apr 2013. Curtis you may need to review code beforehand.

comment:5 Changed 2013-05-24T17:13:24-05:00 by bdezonia

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

comment:6 Changed 2013-08-19T10:46:04-05:00 by bdezonia

CTR made an img-metadata subproject and merged to master. Axes support units and calibration. The definition of ImgPlus has changed. All that is left on this ticket is to support some kind of unit library.

comment:7 Changed 2013-09-16T14:53:08-05:00 by bdezonia

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

I am supporting UCAR UDUNITS for now. It is simple and well tested. We may revisit this decision in the future (i.e. maybe we want uomo). Its a simple matter of modifying UnitService classes in imglib2-meta.