Class MaskIntersectionAssigner
No outputs are produced.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefaultOutputs(OutputEnabledMutable outputs) Adds any default outputs that should occur from the assigner.createAssignment(ObjectsToCompare objectsToCompare, Dimensions dimensions, boolean useMIP, InputOutputContext context) Creates an assignment based on the objects to compare.groupForKey(String key) Gets theImageCounterWithStatisticsfor a specific key.booleanChecks if more than one object can exist in the assignment.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MaskIntersectionAssigner
public MaskIntersectionAssigner()
-
-
Method Details
-
createAssignment
public ObjectVoxelIntersection createAssignment(ObjectsToCompare objectsToCompare, Dimensions dimensions, boolean useMIP, InputOutputContext context) throws CreateException Description copied from class:AnnotationComparisonAssignerCreates an assignment based on the objects to compare.- Specified by:
createAssignmentin classAnnotationComparisonAssigner<ObjectVoxelIntersection>- Parameters:
objectsToCompare- the objects to compare.dimensions- the dimensions of the image.useMIP- whether to use Maximum Intensity Projection.context- the input-output context.- Returns:
- the created assignment.
- Throws:
CreateException- if the assignment cannot be created.
-
groupForKey
Description copied from class:AnnotationComparisonAssignerGets theImageCounterWithStatisticsfor a specific key.- Specified by:
groupForKeyin classAnnotationComparisonAssigner<ObjectVoxelIntersection>- Parameters:
key- the key to get the group for.- Returns:
- the
ImageCounterWithStatisticsfor the given key.
-
moreThanOneObject
public boolean moreThanOneObject()Description copied from class:AnnotationComparisonAssignerChecks if more than one object can exist in the assignment.- Specified by:
moreThanOneObjectin classAnnotationComparisonAssigner<ObjectVoxelIntersection>- Returns:
- true if more than one object can exist, false otherwise.
-
addDefaultOutputs
Description copied from class:AnnotationComparisonAssignerAdds any default outputs that should occur from the assigner.- Specified by:
addDefaultOutputsin classAnnotationComparisonAssigner<ObjectVoxelIntersection>- Parameters:
outputs- theOutputEnabledMutableto add the default outputs to.
-