public class SegmentedObjectsAtScale extends Object
Constructor and Description |
---|
SegmentedObjectsAtScale(List<LabelledWithConfidence<MultiScaleObject>> source,
java.util.function.Function<MultiScaleObject,ObjectMask> extractObject,
Stack background,
StackDisplayer displayer,
ExecutionTimeRecorder executionTimeRecorder,
String executionTimeSuffix) |
Modifier and Type | Method and Description |
---|---|
Stack |
background()
The background image associated with this particular scale.
|
DisplayStack |
backgroundDisplayStack()
Like
background() but instead creates a DisplayStack . |
Extent |
extent()
The width and height and depth of the background image, associated with the objects.
|
List<LabelledWithConfidence<ObjectMask>> |
listWithLabels()
Create a
List of all contained objects, including confidence. |
List<WithConfidence<ObjectMask>> |
listWithoutLabels()
Create a
List of all contained objects, including confidence. |
ObjectCollection |
objects()
Create a
ObjectCollection of all contained objects, excluding
confidence. |
ObjectCollectionWithProperties |
objectsWithProperties()
Like
objects() but instead creates a ObjectCollectionWithProperties
containing empty properties. |
int |
size()
A count of the total number of elements in each representation.
|
public SegmentedObjectsAtScale(List<LabelledWithConfidence<MultiScaleObject>> source, java.util.function.Function<MultiScaleObject,ObjectMask> extractObject, Stack background, StackDisplayer displayer, ExecutionTimeRecorder executionTimeRecorder, String executionTimeSuffix)
public List<LabelledWithConfidence<ObjectMask>> listWithLabels()
List
of all contained objects, including confidence.List
that reuses the existing ObjectMask
stored in
the structure.public List<WithConfidence<ObjectMask>> listWithoutLabels()
List
of all contained objects, including confidence.List
that reuses the existing ObjectMask
stored in
the structure.public ObjectCollection objects()
ObjectCollection
of all contained objects, excluding
confidence.ObjectCollection
derived from source
and cached.public ObjectCollectionWithProperties objectsWithProperties()
objects()
but instead creates a ObjectCollectionWithProperties
containing empty properties.ObjectCollection
derived from objects()
and cached.public DisplayStack backgroundDisplayStack()
background()
but instead creates a DisplayStack
.DisplayStack
derived from background()
and cached.public Extent extent()
i.e. the size of each of the three possible dimensions.
All objects should reside exclusively within this space.
public int size()
public Stack background()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.