public class EllipsoidFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Ellipsoid |
createMarkEllipsoidLeastSquares(CheckedSupplier<List<Point3i>,CreateException> opPoints,
Dimensions dimensions,
boolean suppressZCovariance,
double shell) |
static Ellipsoid |
createMarkEllipsoidLeastSquares(ObjectMask object,
Dimensions dimensions,
boolean suppressZCovariance,
double shell)
Creates a MarkEllipsoid using least-squares fitting to the points on the outline of an
object-mask
|
public static Ellipsoid createMarkEllipsoidLeastSquares(ObjectMask object, Dimensions dimensions, boolean suppressZCovariance, double shell) throws CreateException
object
- object-maskdimensions
- the dimensions of the scene the object is contaiend insuppressZCovariance
- whether to suppress the covariance in the z-dimension when doing
least squares fitingshell
- shell for the mark that is createdCreateException
public static Ellipsoid createMarkEllipsoidLeastSquares(CheckedSupplier<List<Point3i>,CreateException> opPoints, Dimensions dimensions, boolean suppressZCovariance, double shell) throws CreateException
CreateException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.