public class DefaultOMEROMask extends AbstractOMERORealMaskRealInterval<MaskData> implements OMEROMask
OMEROMask. The MaskData is assumed
to be positioned at integer coordinates, and have integer width/height. If
this is not true, measurements may be wrong.shape| Constructor and Description |
|---|
DefaultOMEROMask(MaskData shape) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
double |
realMax(int d) |
double |
realMin(int d) |
boolean |
test(RealLocalizable l)
The given
RealLocalizable will be rounded to the nearest integer
coordinates. |
String |
toString() |
boundaryType, getShape, numDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waittestPositiongetShape, requiredAxisTypesand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorboundaryType, isAll, knownConstant, maskTypenumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointpublic DefaultOMEROMask(MaskData shape)
public boolean test(RealLocalizable l)
RealLocalizable will be rounded to the nearest integer
coordinates.test in interface Predicate<RealLocalizable>public double realMin(int d)
realMin in interface RealIntervalpublic double realMax(int d)
realMax in interface RealIntervalpublic boolean equals(Object obj)
equals in interface MaskPredicate<RealLocalizable>equals in class ObjectCopyright © 2014–2022 ImageJ. All rights reserved.