Class MultipleComparer
Allows comparison of an annotation with multiple other entities.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComparisonStacks
(AnnotationWithMarks annotation, DisplayStack background, Path annotationPath, ColorScheme colorScheme, Path modelDirectory, OperationContext context, boolean debugMode) Calculates the cost used when making assignments.double
The maximum cost (as calculated byfeatureEvaluator
) to accept when creating an assignment between objects.The other entities to compare with the annotation.boolean
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 byfeatureEvaluator
) to accept when creating an assignment between objects.void
setSources
(List<NamedBean<ComparableSource>> sources) The other entities to compare with the annotation.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MultipleComparer
public MultipleComparer()
-
-
Method Details
-
getFeatureEvaluator
Calculates the cost used when making assignments. -
setFeatureEvaluator
Calculates the cost used when making assignments. -
getMaxCost
public double getMaxCost()The maximum cost (as calculated byfeatureEvaluator
) to accept when creating an assignment between objects. -
setMaxCost
public void setMaxCost(double maxCost) The maximum cost (as calculated byfeatureEvaluator
) to accept when creating an assignment between objects. -
getSources
The other entities to compare with the annotation. -
setSources
The other entities to compare with the annotation. -
isFlatten
public boolean isFlatten()If true, a maximum-intensity-projection is first applied to any 3D objects into a 2D plane, before comparison. -
setFlatten
public void setFlatten(boolean flatten) If true, a maximum-intensity-projection is first applied to any 3D objects into a 2D plane, before comparison.