Class Autoname

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.image.io.bean.channel.ChannelMapCreator>
org.anchoranalysis.image.io.bean.channel.ChannelMapCreator
org.anchoranalysis.plugin.io.bean.channel.map.Autoname

public class Autoname
extends org.anchoranalysis.image.io.bean.channel.ChannelMapCreator
Names of the channels from the metadata if it exists, or after RGB, or by index.

Naming rules - in order of priority:

  1. The channel name from the metadata.
  2. red, green or blue if it's RGB.
  3. channel-%d where %d is the index of the channel.
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    Autoname()  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.image.io.channel.input.ChannelMap create​(org.anchoranalysis.image.io.stack.input.OpenedImageFile openedFile, org.anchoranalysis.core.log.Logger logger)  

    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

    • create

      public org.anchoranalysis.image.io.channel.input.ChannelMap create​(org.anchoranalysis.image.io.stack.input.OpenedImageFile openedFile, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.core.exception.CreateException
      Specified by:
      create in class org.anchoranalysis.image.io.bean.channel.ChannelMapCreator
      Throws:
      org.anchoranalysis.core.exception.CreateException