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, numDimensions
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
testPosition
getShape, requiredAxisTypes
and, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xor
boundaryType, isAll, knownConstant, maskType
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
public 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 RealInterval
public double realMax(int d)
realMax
in interface RealInterval
public boolean equals(Object obj)
equals
in interface MaskPredicate<RealLocalizable>
equals
in class Object
Copyright © 2014–2022 ImageJ. All rights reserved.