Class One
Object
org.anchoranalysis.bean.AnchorBean<FromStacks>
org.anchoranalysis.plugin.image.task.bean.grouped.selectchannels.FromStacks
org.anchoranalysis.plugin.image.task.bean.grouped.selectchannels.One
public class One extends FromStacks
Selects one specific channel from a set of stacks
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description One() -
Method Summary
Modifier and Type Method Description intgetChannelIndex()The index of the channel to retrieve fromstackName.StringgetStackName()If defined, processing only occurs the stack with this specific name and index.NamedChannelsselectChannels(ChannelSource source, boolean checkType)Takes a stack-collection and extracts a set of references to particular channels (each with a name).voidsetChannelIndex(int channelIndex)The index of the channel to retrieve fromstackName.voidsetStackName(String stackName)If defined, processing only occurs the stack with this specific name and index.
-
Constructor Details
-
One
public One()
-
-
Method Details
-
selectChannels
public NamedChannels selectChannels(ChannelSource source, boolean checkType) throws org.anchoranalysis.core.exception.OperationFailedExceptionDescription copied from class:FromStacksTakes a stack-collection and extracts a set of references to particular channels (each with a name).- Specified by:
selectChannelsin classFromStacks- Parameters:
source- theChannelSourcecontaining the stacks to select fromcheckType- whether to check the type of the channels- Returns:
- a
NamedChannelsobject containing the selected channels - Throws:
org.anchoranalysis.core.exception.OperationFailedException- if the channel selection operation fails
-
getStackName
If defined, processing only occurs the stack with this specific name and index.Otherwise processing occurs on all input stacks.
-
setStackName
If defined, processing only occurs the stack with this specific name and index.Otherwise processing occurs on all input stacks.
-
getChannelIndex
public int getChannelIndex()The index of the channel to retrieve fromstackName. -
setChannelIndex
public void setChannelIndex(int channelIndex)The index of the channel to retrieve fromstackName.
-