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

Opened 2013-05-24T14:05:21-05:00

Last modified 2013-09-25T15:24:26-05:00

Split channels not working

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

Description

If you make a 3-channel image and run Split Channels you can be warned that a multichannel image is needed. Inspection of the IJ1 plugin shows that its expecting a CompositeImage and it is a regular ImagePlus. The GrayImagePlusCreator code shouldBeComposite() is returning false because it is testing the Dataset's composite channel count. If you use the Channels Tool to set the mode to Composite the problem does not go away. That only sets the DatasetView's composite mode and not the composite chan count of Dataset. The legacy code here needs to have info about the view checked.

Change History

comment:1 Changed 2013-09-25T15:24:26-05:00 by bdezonia

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

Fixed with commit c9e3b4f9713eaa055d6274de45c2f61408e3b23c. Split Channels will work now provided view is composite. A general noncomposite image with channels > 1 will still not run correctly. This I believe is a limitation of IJ1. We can follow up with Wayne perhaps.