Class Convert<T>

Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
ChannelProviderUnary
ConvertBase
Convert<T>
Type Parameters:
T - destination voxel type to convert to
All Implemented Interfaces:
Provider<Channel>, ProviderAsStack

public class Convert<T> extends ConvertBase
Converts a channel by applying a converter (no histogram is involved in the conversion).
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Channel
    createFromChannel(Channel channel)
     
    ConvertChannelTo<T>
     
    void
    setChannelConverter(ConvertChannelTo<T> channelConverter)
     

    Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.convert.ConvertBase

    createPolicy, isChangeExisting, setChangeExisting

    Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary

    get, getChannel, setChannel

    Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider

    getAsStack

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    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

    • Convert

      public Convert()
  • Method Details

    • createFromChannel

      public Channel createFromChannel(Channel channel) throws ProvisionFailedException
      Specified by:
      createFromChannel in class ChannelProviderUnary
      Throws:
      ProvisionFailedException
    • getChannelConverter

      public ConvertChannelTo<T> getChannelConverter()
    • setChannelConverter

      public void setChannelConverter(ConvertChannelTo<T> channelConverter)