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 #1063 (closed enhancement: moved)

Opened 2012-03-08T13:45:59-06:00

Last modified 2013-05-31T15:44:48-05:00

ImgPlus should wrap any RandomAccessibleInterval

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b8-analysis
Component: ImgLib2 Version:
Severity: serious Keywords:
Cc: hinerm, stephan.preibisch@… Blocked By:
Blocking: #1519

Description

Currently, ImgPlus wraps an Img, but the same metadata it attaches would be useful to associate with any RandomAccessibleInterval, even if it is not also an IterableInterval. However, exactly how to proceed with this change requires some thought.

This change would enable the ImgSaver to work with non-Img objects such as those produced by Views, which would be very powerful.

Change History

comment:1 Changed 2012-03-08T15:57:06-06:00 by curtis

From Stephan Preibisch:

You can convert any RandomAccessibleInterval into an IterableInterval:

// now we make the target iterable
// (which is possible because it is a RandomAccessibleInterval)
RandomAccessibleInterval< FloatType> viewTarget = ...
IterableInterval< FloatType > iterableTarget = IterableRandomAccessibleInterval.create( viewTarget );

For more details, see  this example on the Fiji wiki.

comment:2 Changed 2013-03-20T12:19:39-05:00 by bdezonia

  • Blocking 1398 added
  • Milestone changed from imagej-2.0.0 to imagej2-b7-ndim-data

I think topics related to the makeup of ImgPlus are being discussed at the April 2013 Imglib minihackathon in Madison. Perhaps we need to address this then. Moving from 2.0 final to beta 7.

comment:3 Changed 2013-05-31T15:44:48-05:00 by bdezonia

  • Blocking 1519 added; 1398 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:4 Changed 2014-10-11T19:57:04-05:00 by curtis

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