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 #304 (closed task: wontfix)

Opened 2011-01-05T12:53:00-06:00

Last modified 2012-02-24T16:01:32-06:00

Improve Long support in ImageJ 2.x

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Feb-14 to Feb-25
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1017

Description

In some places in imagej2 code precision can be lost when working with doubles.

Change History

comment:1 Changed 2011-01-05T12:53:08-06:00 by bdezonia

  • Status changed from new to accepted

comment:2 Changed 2011-01-05T12:58:13-06:00 by bdezonia

Fixed some precision loss problems by supporting getDouble()/setDouble() and getLong()/setLong() in the Dataset implementations, the various DataAccessor classes, and the DatasetDuplicator class in ij2-common.

Note that there still issues with Long data. The SelectionFunctions are organized around doubles. So are the various Unary, Binary, and NAry functions which affects ij2-imglib operations on data. We'll need to think how we want to address Long support.

comment:3 Changed 2011-02-24T14:25:12-06:00 by bdezonia

  • Status changed from accepted to closed
  • Resolution set to wontfix

At the hackathon it was decided that full long support would not be pursued. Since Dataset has changed substantially these long support issues no longer exist.

comment:4 Changed 2012-02-24T16:01:32-06:00 by curtis

  • Blocking 1017 added