Ticket #574 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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 9 years ago 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 9 years ago by bdezonia

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

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

Note: See TracTickets for help on using tickets.