Ticket #1063 (closed enhancement: moved)

Opened 7 years ago

Last modified 6 years ago

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

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

comment:4 Changed 5 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.