Class ExtractSlice
Object
AnchorBean<Task<NamedChannelsInput, SharedStateSelectedSlice>>
Task<NamedChannelsInput, SharedStateSelectedSlice>
ExtractSlice
Reduces a z-stack to a single-slice by taking the optima of a feature calculated for each slice.
Expects a second-level output "stack" to determine which slices are outputted or not.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAllJobsAreExecuted(SharedStateSelectedSlice sharedState, InputOutputContext context) beforeAnyJobIsExecuted(Outputter outputter, ConcurrencyPlan concurrencyPlan, List<NamedChannelsInput> inputs, ParametersExperiment parameters) OutputEnabledMutablevoiddoJobOnInput(InputBound<NamedChannelsInput, SharedStateSelectedSlice> input) FeatureListProvider<FeatureInputStack> StackProviderbooleanInputTypesExpectedbooleanIf true, the maxima of the score is searched for.voidsetFindMaxima(boolean findMaxima) If true, the maxima of the score is searched for.voidsetScoreProvider(FeatureListProvider<FeatureInputStack> scoreProvider) voidsetStackEnergy(StackProvider stackEnergy) Methods inherited from class org.anchoranalysis.experiment.bean.task.Task
executeJob, isInputCompatibleWithMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ExtractSlice
public ExtractSlice()
-
-
Method Details
-
beforeAnyJobIsExecuted
public SharedStateSelectedSlice beforeAnyJobIsExecuted(Outputter outputter, ConcurrencyPlan concurrencyPlan, List<NamedChannelsInput> inputs, ParametersExperiment parameters) throws ExperimentExecutionException - Specified by:
beforeAnyJobIsExecutedin classTask<NamedChannelsInput, SharedStateSelectedSlice>- Throws:
ExperimentExecutionException
-
inputTypesExpected
public InputTypesExpected inputTypesExpected()- Specified by:
inputTypesExpectedin classTask<NamedChannelsInput, SharedStateSelectedSlice>
-
doJobOnInput
public void doJobOnInput(InputBound<NamedChannelsInput, SharedStateSelectedSlice> input) throws JobExecutionException - Specified by:
doJobOnInputin classTask<NamedChannelsInput, SharedStateSelectedSlice>- Throws:
JobExecutionException
-
defaultOutputs
public OutputEnabledMutable defaultOutputs()- Overrides:
defaultOutputsin classTask<NamedChannelsInput, SharedStateSelectedSlice>
-
hasVeryQuickPerInputExecution
public boolean hasVeryQuickPerInputExecution()- Specified by:
hasVeryQuickPerInputExecutionin classTask<NamedChannelsInput, SharedStateSelectedSlice>
-
getScoreProvider
public FeatureListProvider<FeatureInputStack> getScoreProvider() -
setScoreProvider
public void setScoreProvider(FeatureListProvider<FeatureInputStack> scoreProvider) -
getStackEnergy
public StackProvider getStackEnergy() -
setStackEnergy
public void setStackEnergy(StackProvider stackEnergy) -
isFindMaxima
public boolean isFindMaxima()If true, the maxima of the score is searched for. If false, rather the minima. -
setFindMaxima
public void setFindMaxima(boolean findMaxima) If true, the maxima of the score is searched for. If false, rather the minima.
-