public class PointsFromObject extends Object
ObjectMask
or its contour.Modifier and Type | Method and Description |
---|---|
static List<Point2i> |
listFrom2i(ObjectMask object)
A list of two-dimensional integer points from the entire object-mask.
|
static List<Point3d> |
listFrom3d(ObjectMask object)
A list of points from the entire object-mask as
Point3d . |
static List<Point3i> |
listFrom3i(ObjectMask object)
A list of three-dimensional integer points from the entire object-mask.
|
static List<Point2i> |
listFromAllOutlines2i(ObjectCollection objects)
A list of points as three-dimensional integers from the outline of all objects in a
collection.
|
static List<Point2i> |
listFromOutline2i(ObjectMask object)
A list of points as three-dimensional integers from the outline of an object-mask
|
static List<Point3i> |
listFromOutline3i(ObjectMask object)
A list of points as
Point3i from the outline of an object-mask. |
static SortedSet<Point3i> |
setFrom3i(ObjectMask object)
A sorted-set of three-dimensional integer points from the entire object-mask
|
static Set<Point3i> |
setFromContour(ObjectMask object)
A set of points from the contour of
object in three dimensions. |
public static List<Point2i> listFrom2i(ObjectMask object) throws CreateException
object
- the object.CreateException
- if the object is in three-dimensions.public static List<Point3i> listFrom3i(ObjectMask object)
object
- the object.public static SortedSet<Point3i> setFrom3i(ObjectMask object)
object
- the objectpublic static List<Point3d> listFrom3d(ObjectMask object)
Point3d
.object
- the object.public static List<Point3i> listFromOutline3i(ObjectMask object)
Point3i
from the outline of an object-mask.object
- the object.public static List<Point2i> listFromOutline2i(ObjectMask object) throws CreateException
object
- the object.CreateException
- if the object is in three-dimensionspublic static List<Point2i> listFromAllOutlines2i(ObjectCollection objects)
objects
- objects to find outlines for.public static Set<Point3i> setFromContour(ObjectMask object)
object
in three dimensions.object
- the object.Point3i
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.