Class Autoname

Object
AnchorBean<ChannelMapCreator>
ChannelMapCreator
Autoname

public class Autoname extends 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ChannelMap
    create(OpenedImageFile openedFile, 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

    • Autoname

      public Autoname()
  • Method Details

    • create

      public ChannelMap create(OpenedImageFile openedFile, Logger logger) throws CreateException
      Specified by:
      create in class ChannelMapCreator
      Throws:
      CreateException