Class ChannelConvertStyle

Object
org.anchoranalysis.bean.AnchorBean<ChannelConvertStyle>
org.anchoranalysis.plugin.image.task.bean.format.convertstyle.ChannelConvertStyle
Direct Known Subclasses:
ExtractToRGB, IndependentChannels, RGBIfNamesMatch

public abstract class ChannelConvertStyle
extends org.anchoranalysis.bean.AnchorBean<ChannelConvertStyle>
Converts a channel(s) at a particular timepoint into a stack(s).

Whether each channel becomes its own single-channeled stack, or is combined to form multi-channeled stacks can vary by sub-class implementation.

A unique-name (the channel-name) is assigned for each stack created, including possibly an empty string.

Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    ChannelConvertStyle()  
  • Method Summary

    Modifier and Type Method Description
    abstract org.anchoranalysis.image.core.stack.named.NamedStacks convert​(Set<String> channelNames, ChannelGetterForTimepoint channelGetter, org.anchoranalysis.core.log.Logger logger)
    Converts a particular set of channels.

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • convert

      public abstract org.anchoranalysis.image.core.stack.named.NamedStacks convert​(Set<String> channelNames, ChannelGetterForTimepoint channelGetter, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.core.exception.OperationFailedException
      Converts a particular set of channels.
      Parameters:
      channelNames - a set of names of the channels to convert.
      channelGetter - gets a particular channel at a particular time-point.
      logger - the logger.
      Returns:
      the results of the conversion.
      Throws:
      org.anchoranalysis.core.exception.OperationFailedException - if the conversion fails to successfully complete.