public class OvalRoiWrapper extends Object implements IJRealRoiWrapper<OvalRoi>, WritableEllipsoid
| Constructor and Description |
|---|
OvalRoiWrapper(double x,
double y,
double width,
double height)
|
OvalRoiWrapper(int x,
int y,
int width,
int height)
|
OvalRoiWrapper(OvalRoi oval)
|
| Modifier and Type | Method and Description |
|---|---|
BoundaryType |
boundaryType() |
RealLocalizableRealPositionable |
center() |
boolean |
equals(Object obj) |
double |
exponent() |
OvalRoi |
getRoi()
Returns the backing ImageJ 1.x
Roi. |
int |
hashCode() |
double |
realMax(int d) |
double |
realMin(int d) |
double |
semiAxisLength(int d) |
void |
setSemiAxisLength(int d,
double length)
This will always throw an
UnsupportedOperationException. |
boolean |
test(RealLocalizable t) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitnumDimensionssetExponentequals, hashCode, maskTypeand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorisAll, knownConstantmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointpublic OvalRoiWrapper(int x,
int y,
int width,
int height)
x - x coordinate of the upper left corner of the bounding box, i.e. (x
coor of center) - (x semi-axis length)y - y coordinate of the upper left corner of the bounding box, i.e. (y
coor of center) - (y semi-axis length)width - width of the bounding box, i.e. 2 * (x semi-axis length)height - height of the bounding box, i.e. 2 * (y semi-axis length)public OvalRoiWrapper(double x,
double y,
double width,
double height)
x - x coordinate of the upper left corner of the bounding box, i.e. (x
coor of center) - (x semi-axis length)y - y coordinate of the upper left corner of the bounding box, i.e. (y
coor of center) - (y semi-axis length)width - width of the bounding box, i.e. 2 * (x semi-axis length)height - height of the bounding box, i.e. 2 * (y semi-axis length)public OvalRoiWrapper(OvalRoi oval)
oval - ImageJ 1.x oval to be wrappedpublic boolean test(RealLocalizable t)
test in interface Predicate<RealLocalizable>public double realMin(int d)
realMin in interface RealIntervalpublic double realMax(int d)
realMax in interface RealIntervalpublic double exponent()
exponent in interface SuperEllipsoidpublic double semiAxisLength(int d)
semiAxisLength in interface SuperEllipsoidpublic RealLocalizableRealPositionable center()
center in interface SuperEllipsoidcenter in interface WritableSuperEllipsoidpublic void setSemiAxisLength(int d,
double length)
UnsupportedOperationException.setSemiAxisLength in interface WritableSuperEllipsoidUnsupportedOperationException - cannot modify width/height of
underlying OvalRoipublic BoundaryType boundaryType()
boundaryType in interface MaskPredicate<RealLocalizable>public OvalRoi getRoi()
IJRoiWrapperRoi.getRoi in interface IJRoiWrapper<OvalRoi,RealLocalizable>Roipublic boolean equals(Object obj)
equals in interface SuperEllipsoidequals in interface MaskPredicate<RealLocalizable>equals in class ObjectCopyright © 2014–2022 ImageJ. All rights reserved.