Ticket #290 (closed defect: fixed)
Opened 2008-04-29T15:58:26-05:00
Last modified 2009-03-11T16:58:50-05:00
Util.openProcessor does not properly handle RGB data
Reported by: | curtis | Owned by: | melissa |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | plugins | Severity: | serious |
Keywords: | Cc: | simon.andrews@… | |
Blocked By: | Blocking: |
Description
We currently use ChannelSeparator to ensure that image planes are split to so that rgbChannelCount==1 when using the Util.openProcessor method. This is currently sufficient for the Bio-Formats Importer plugin (though that may change; see ticket #289 for details), but it would be nice for external applications such as FocalPoint to be able to use Util.openProcessor with RGB image data and receive a working ColorProcessor back. Alternately, we could provide an openImagePlus method that gives back an appropriately configured CompositeImage. At minimum, Util.openProcessor should throw an exception if it encounters an unsupported type of image plane.