Class ObjectMatcher
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,ImageInitialization>
org.anchoranalysis.image.bean.ImageBean<ObjectMatcher>
org.anchoranalysis.image.bean.object.ObjectMatcher
public abstract class ObjectMatcher extends ImageBean<ObjectMatcher>
Matches an object with other objects.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ObjectMatcher() -
Method Summary
Modifier and Type Method Description abstract List<MatchedObject>findMatch(org.anchoranalysis.image.voxel.object.ObjectCollection sourceObjects)Finds matches for objects.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ObjectMatcher
public ObjectMatcher()
-
-
Method Details
-
findMatch
public abstract List<MatchedObject> findMatch(org.anchoranalysis.image.voxel.object.ObjectCollection sourceObjects) throws OperationFailedExceptionFinds matches for objects.- Parameters:
sourceObjects- a collection of objects, each of whom is considered a possible match.- Returns:
- a list of each object from
sourceObjectswith corresponding matches (element order remains unchanged). - Throws:
OperationFailedException- if find process cannot successfully complete.
-