Ticket #1876 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Translate IJ1 virtual stacks as CellImgs in IJ2

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b8-analysis
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1459


Right now any ImagePlus created by a legacy plugin will create a fully memory resident Img. The legacy layer should be smart enough to detect that the underlying data has a virtual stack and then hatch a cell img based Img.

Change History

comment:1 Changed 7 years ago by bdezonia

This ticket should be handled regardless of how we address #1873.

comment:2 Changed 7 years ago by bdezonia

  • Blocking 1459 added

comment:3 Changed 7 years ago by bdezonia

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

Fixed with commit a3d1bad9167a88da04183ef1ae4fb7b5ad050a91.

Here is a mini test plugin

import ij.*;
import ij.process.*;
import ij.gui.*;
import java.awt.*;
import ij.plugin.*;
import ij.plugin.frame.*;

public class VstackTest implements PlugIn {

	public void run(String arg) {
		VirtualStack vstack = new VirtualStack(400,400,null,"/Users/bdezonia/Desktop/test images");
		ImagePlus imp = new ImagePlus("junko", vstack);

Note: See TracTickets for help on using tickets.