Ticket #1622 (closed task: fixed)

Opened 6 years ago

Last modified 5 years ago

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) (diff)

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 6 years ago by bdezonia

  • Description modified (diff)

comment:2 Changed 6 years ago 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 6 years ago 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 6 years ago 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 6 years ago by bdezonia

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

comment:6 Changed 6 years ago 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 5 years ago 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.

Note: See TracTickets for help on using tickets.