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:
- The channel name from the metadata.
- red, green or blue if it's RGB.
- channel-%d where %d is the index of the channel.
- Author:
- Owen Feehan
-
Constructor Details
-
Autoname
public Autoname()
-
-
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:
createin classorg.anchoranalysis.image.io.bean.channel.ChannelMapCreator- Throws:
org.anchoranalysis.core.exception.CreateException
-