Ticket #226 (closed enhancement: fixed)

Opened 12 years ago

Last modified 12 years ago

"Use virtual stack" option for Bio-Formats Importer

Reported by: curtis Owned by: melissa
Priority: major Milestone:
Component: plugins Severity: non-issue
Keywords: Cc:
Blocked By: Blocking:

Description

ImageJ's support for virtual stacks has been steadily improving. As of the latest version, it would be easy for us to support using them directly through a simple VirtualStack subclass. By overriding the getProcessor(n), getWidth(), getHeight() and getSize() methods to delegate to a Bio-Formats IFormatReader object, we can combine the power of Bio-Formats's per-plane disk reads with ImageJ's native virtual stack logic.

Note that while this will be simple to do, it is no substitute for the Bio-Formats caching logic, since ImageJ's virtual stacks keep only a single plane in memory at a time.

We could actually also combine the caching logic with this VirtualStack subclass to cache ImageProcessor objects according to the user-selected strategy. However, I believe ImageJ would still drop any processing done any time the current plane changes. It is worth investigating.

Change History

comment:1 Changed 12 years ago by melissa

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