Ticket #1881 (closed defect: moved)

Opened 4 years ago

Last modified 4 years ago

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 4 years ago 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 4 years ago by bdezonia (previous) (diff)

comment:2 Changed 4 years ago 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 3 years ago by curtis

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