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 #1881 (closed defect: moved)

Opened 2013-05-20T15:56:40-05:00

Last modified 2013-06-04T11:45:34-05:00

CellImg VirtualStack support tricky for composite images

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


On the scifio-cells branch of IJ2 there is code in place to treat AbstractCellImg based images as Imglib-derived VirtualStacks. But we include special code for propagating changes to the current plane of an image back to IJ2 (which is more than what IJ1 does since for IJ1 changing slider positions afterwards will invalidate the current planes changes). So we have special code in legacy layer to propagate these changes and as a result IJ2 acts a little differently than IJ1. One consequence is that composite images that look unchanged in IJ1 can look changed in IJ2. This is because we propagate a single plane's changes making composite pixels different. Determine if this is just bad legacy syncing that causes the channel pixels to change or if this type of change is a byproduct of the new approach.

Change History

comment:1 Changed 2013-05-20T16:00:31-05:00 by bdezonia

An example:
Save Leaf as a png file (using BF Exporter as APNG)
Open it in IJ2 scifio-cells (which should now be a (V) virtual stack) [note that you might need to hack DefaultIOService to always open as cellimgs]
Run Image Scale (0.5 x & y, curr plane, no new window)
Displayed image changes colors
The same set of steps (except Import Tiff Virtual Stack instead of open PNG) in IJ1 does not show changes to pixels.

Last edited 2013-05-31T11:25:15-05:00 by bdezonia

comment:2 Changed 2013-06-04T11:45:34-05:00 by bdezonia

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

Note that scifio-cells has been merged to master.

comment:3 Changed 2014-08-19T11:14:19-05:00 by curtis

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