public class MultipleComparer extends AnchorBean<MultipleComparer>
Constructor and Description |
---|
MultipleComparer() |
Modifier and Type | Method and Description |
---|---|
List<NameValue<Stack>> |
createComparisonStacks(AnnotationWithMarks annotation,
DisplayStack background,
Path annotationPath,
ColorScheme colorScheme,
Path modelDirectory,
OperationContext context,
boolean debugMode)
|
FeatureEvaluator<FeatureInputPairObjects> |
getFeatureEvaluator()
Calculates the cost used when making assignments.
|
double |
getMaxCost()
The maximum cost (as calculated by
featureEvaluator ) to accept when creating an
assignment between objects. |
List<NamedBean<ComparableSource>> |
getSources()
The other entities to compare with the annotation.
|
boolean |
isFlatten()
If true, a maximum-intensity-projection is first applied to any 3D objects into a 2D plane,
before comparison.
|
void |
setFeatureEvaluator(FeatureEvaluator<FeatureInputPairObjects> featureEvaluator)
Calculates the cost used when making assignments.
|
void |
setFlatten(boolean flatten)
If true, a maximum-intensity-projection is first applied to any 3D objects into a 2D plane,
before comparison.
|
void |
setMaxCost(double maxCost)
The maximum cost (as calculated by
featureEvaluator ) to accept when creating an
assignment between objects. |
void |
setSources(List<NamedBean<ComparableSource>> sources)
The other entities to compare with the annotation.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public List<NameValue<Stack>> createComparisonStacks(AnnotationWithMarks annotation, DisplayStack background, Path annotationPath, ColorScheme colorScheme, Path modelDirectory, OperationContext context, boolean debugMode) throws CreateException
annotation
- the annotation to compare.background
- the background to use when comparing.annotationPath
- the path on the file-system to annotation
to use as a
reference.colorScheme
- the color-scheme to use for unpaired objects.modelDirectory
- a directory in which models reside.context
- context for reading a stack from the file-system.debugMode
- whether in debug-mode or not.CreateException
- if any one of the stacks cannot be created.public FeatureEvaluator<FeatureInputPairObjects> getFeatureEvaluator()
public void setFeatureEvaluator(FeatureEvaluator<FeatureInputPairObjects> featureEvaluator)
public double getMaxCost()
featureEvaluator
) to accept when creating an
assignment between objects.public void setMaxCost(double maxCost)
featureEvaluator
) to accept when creating an
assignment between objects.public List<NamedBean<ComparableSource>> getSources()
public void setSources(List<NamedBean<ComparableSource>> sources)
public boolean isFlatten()
public void setFlatten(boolean flatten)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.