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

Opened 2010-10-08T11:00:09-05:00

Last modified 2010-10-21T11:04:22-05:00

Improve Bio-Formats ITK plug-in handling of multichannel images

Reported by: hinerm Owned by: hinerm
Priority: major Milestone: biweekly-2010: Oct-18 to Oct-29
Component: SCIFIO Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by hinerm)

As of  loci-software:r7050, code was added to the BFITK plug-in to change the order pixel data was passed back to Farsight, as Farsight seemed to require a different ordering of the data.

*.png and multichannel *.tiff files were tested and found to be opened correctly by Farsight.

However, now it seems that other image file types that were read correctly before are now reading channel information incorrectly. Confirmed: *.mov

Change History

comment:1 Changed 2010-10-08T11:00:20-05:00 by hinerm

  • Status changed from new to assigned

comment:2 Changed 2010-10-08T11:26:31-05:00 by hinerm

Additionally, when images with 5 or more channels are read via the BF-ITK plug-in, a null pointer exception occurs and the module seg faults.

comment:3 Changed 2010-10-08T16:48:39-05:00 by curtis

  • Description modified

comment:4 Changed 2010-10-12T09:08:37-05:00 by hinerm

  • Status changed from assigned to accepted

comment:5 Changed 2010-10-18T09:03:41-05:00 by hinerm

  • Description modified

comment:6 Changed 2010-10-21T11:04:22-05:00 by hinerm

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

after some investigation, it seems that the incorrect reading may be due to the *.mov file's channels being interleaved.

Changing the logic to only attempt reordering when the data is NOT interleaved seems to have resolved the issue for the sample file in question.

In addition to the logic change, I adjusted the debug statements to monitor isInterleaved in case this becomes an issue again in the future.