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 #574 (closed defect: fixed)

Opened 2011-06-07T13:47:13-05:00

Last modified 2011-06-07T15:34:52-05:00

C&Z getting swapped again

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Jun-06 to Jun-17
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:


As of e728eefe2ebb11a9530bf2a8b8d44ce8bb27d091:

Open ome tiff image (multi-channel-4D-series.ome.tif) via Import :: BioFormats menu command.

Run IJ1 Enhance Contrast plugin.

Note that C & Z are now swapped. The slider sizes have not updated. Moving T slider is correct. Moving C or Z loads the wrong planes.

Change History

comment:1 Changed 2011-06-07T14:18:44-05:00 by bdezonia

How can this be? There is a specific test in GrayscaleImageTranslatorTest that tries all orderings of all subsets of C, Z, and T. It makes sure an ImagePlus created by the GrayscaleTranslator has correct C, Z, and T values and plane data values.

Either the Enhance Contrast plugin swaps C, and Z. Or the DatasetHarmonizer swaps C & Z during harmonization.

comment:2 Changed 2011-06-07T15:34:52-05:00 by bdezonia

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

LegacyUtils:setDatasetPlanes() was incorrect. Fixed in 5fa101f5de477d8ec4c50453804dcd29c1cb239a.