public class ClosedWritableSuperEllipsoid extends AbstractWritableSuperEllipsoid
SuperEllipsoid which contains all edge points. It is defined
by a center, semi-axis lengths, and an exponent.center, exponent, semiAxisLengthsn| Constructor and Description |
|---|
ClosedWritableSuperEllipsoid(double[] center,
double[] semiAxisLengths,
double exponent)
Creates an n-d super ellipsoid, where n is determined by the length of
the smaller array
|
| Modifier and Type | Method and Description |
|---|---|
BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
boolean |
test(RealLocalizable l) |
center, distancePowered, equals, exponent, hashCode, realMax, realMin, semiAxisLength, setExponent, setSemiAxisLengthnumDimensionsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitequals, hashCode, maskTypeand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorisAll, knownConstantnumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointpublic ClosedWritableSuperEllipsoid(double[] center,
double[] semiAxisLengths,
double exponent)
center - position of the superellipsoid in space, given in pixel
coordinatessemiAxisLengths - array containing n elements representing half values of
width/height/depth/...exponent - exponent of the superellipsoidpublic boolean test(RealLocalizable l)
public BoundaryType boundaryType()
MaskPredicateCopyright © 2015–2022 ImgLib2. All rights reserved.