T
- the element-type that exists in the collection (with confidence)public abstract class ReduceElements<T> extends AnchorBean<ReduceElements<T>>
Constructor and Description |
---|
ReduceElements() |
Modifier and Type | Method and Description |
---|---|
abstract ReductionOutcome<LabelledWithConfidence<T>> |
reduce(List<LabelledWithConfidence<T>> elements,
Extent extent,
ExecutionTimeRecorder executionTimeRecorder)
Reduce a list of elements (each with a confidence score and a label) to a
smaller-list.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public abstract ReductionOutcome<LabelledWithConfidence<T>> reduce(List<LabelledWithConfidence<T>> elements, Extent extent, ExecutionTimeRecorder executionTimeRecorder) throws OperationFailedException
It is not guaranteed that the resulting list will have fewer elements than the input list, but never more.
elements
- proposed bounding-boxes with scores.extent
- an area in which all elements
must exclusively reside.executionTimeRecorder
- records the execution time of particular operations.OperationFailedException
- if anything goes wrong.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.