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