Class IndependentChannels
Object
org.anchoranalysis.bean.AnchorBean<ChannelConvertStyle>
org.anchoranalysis.plugin.image.task.bean.format.convertstyle.ChannelConvertStyle
org.anchoranalysis.plugin.image.task.bean.format.convertstyle.IndependentChannels
public class IndependentChannels extends ChannelConvertStyle
Converts each channel independently and creates a single-channeled stack from the conversion.
An identical channel-name is used to identify it among the outputted stacks.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description IndependentChannels() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.image.core.stack.named.NamedStacksconvert(Set<String> channelNames, ChannelGetterForTimepoint channelGetter, org.anchoranalysis.core.log.Logger logger)Converts a particular set of channels.booleanisIgnoreMissingChannel()Iff true and we cannot find a channel in the file, we ignore it and carry onvoidsetIgnoreMissingChannel(boolean ignoreMissingChannel)Iff true and we cannot find a channel in the file, we ignore it and carry on
-
Constructor Details
-
IndependentChannels
public IndependentChannels()
-
-
Method Details
-
convert
public org.anchoranalysis.image.core.stack.named.NamedStacks convert(Set<String> channelNames, ChannelGetterForTimepoint channelGetter, org.anchoranalysis.core.log.Logger logger) throws org.anchoranalysis.core.exception.OperationFailedExceptionDescription copied from class:ChannelConvertStyleConverts a particular set of channels.- Specified by:
convertin classChannelConvertStyle- 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.
-
isIgnoreMissingChannel
public boolean isIgnoreMissingChannel()Iff true and we cannot find a channel in the file, we ignore it and carry on -
setIgnoreMissingChannel
public void setIgnoreMissingChannel(boolean ignoreMissingChannel)Iff true and we cannot find a channel in the file, we ignore it and carry on
-