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

Opened 2010-11-24T14:48:18-06:00

Last modified 2012-02-24T15:15:55-06:00

Implement Dataset interface and bridge classes that use/support it

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2010: Nov-29 to Dec-10
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1014


Goal: define a Dataset interface in ij2-common. In ij1-bridge implement classes that translate a Dataset into something like ImageStack. Bridge will use ImagePluses and ImageStacks to pass data around (using references). In ij1-bridge implement an ImgLib backed class tht implements the Dataset interface.

Change History

comment:1 Changed 2010-11-24T14:48:24-06:00 by bdezonia

  • Status changed from new to accepted

comment:2 Changed 2010-11-24T14:51:45-06:00 by bdezonia

Discussed datasets with Aivar and Curtis
Implemented a PlanarDataset just to get going.
Implemented BridgeStack that overrides all methods of ImageStack. Uses PlanarDataset.
Found that to be wanting.
Fleshed out more powerful Dataset interface.
Updated BridgeStack to use that interface.
Began writing an ImgLibDataset class that implements the Dataset interface. This brought out some issues with the Dataset interface.
Doing some rethinking about the interface.

comment:3 Changed 2010-12-02T16:34:28-06:00 by bdezonia

Initial implementation of Dataset interface, supporting interfaces and supporting classes committed in ij2-common. Some refactoring done to support this.

Also initial implementation of ImgLibDataset and updated implementation of BridgeStack in ij1-bridge.

Todo: there are now a number of classes in imagej.dataset and in imagej.ij1bridge that are going to be obsolete and will need to be deleted soon.

comment:4 Changed 2010-12-09T15:27:35-06:00 by bdezonia

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

implemented BridgeStack, ImgLibDataset, support classes, and associated test classes. All tests now passing.

There are still obsolete classes to remove after we have verified our dataset implementations can do everything we need.

comment:5 Changed 2012-02-24T15:15:55-06:00 by curtis

  • Blocking 1014 added