Class ObjectForReductionFactory
Object
ObjectForReductionFactory
Utility functions for creating one or more
ObjectForReduction
s.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<ObjectForReduction> Creates a list ofObjectForReduction
s from a corresponding list of labelledObjectMask
s.
-
Method Details
-
populateFromList
public static List<ObjectForReduction> populateFromList(List<LabelledWithConfidence<ObjectMask>> list) Creates a list ofObjectForReduction
s from a corresponding list of labelledObjectMask
s.The index in
elements
is associated with the correspondingObjectForReduction
.- Parameters:
list
- the list to populate from.- Returns:
- a newly-created list, derived from
list
.
-