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, semiAxisLengths
n
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, setSemiAxisLength
numDimensions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, maskType
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
isAll, knownConstant
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
public 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()
MaskPredicate
Copyright © 2015–2022 ImgLib2. All rights reserved.