Class ObjectForReductionFactory
Object
org.anchoranalysis.image.inference.bean.reduce.ObjectForReductionFactory
public class ObjectForReductionFactory extends Object
Utility functions for creating one or more
ObjectForReductions.- Author:
- Owen Feehan
-
Method Summary
Modifier and Type Method Description static List<ObjectForReduction>populateFromList(List<LabelledWithConfidence<org.anchoranalysis.image.voxel.object.ObjectMask>> list)Creates a list ofObjectForReductions from a corresponding list of labelledObjectMasks.
-
Method Details
-
populateFromList
public static List<ObjectForReduction> populateFromList(List<LabelledWithConfidence<org.anchoranalysis.image.voxel.object.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.
-