public class DefaultBinaryCompositeMaskInterval extends AbstractWrappedInterval<Interval> implements BinaryCompositeMaskPredicate<Localizable>, MaskInterval
MaskInterval which results from an operation on two
Predicates.sourceInterval| Constructor and Description |
|---|
DefaultBinaryCompositeMaskInterval(Operators.BinaryMaskOperator operator,
Predicate<? super Localizable> arg0,
Predicate<? super Localizable> arg1,
Interval interval,
BoundaryType boundaryType,
BinaryOperator<KnownConstant> knownConstantOp) |
| Modifier and Type | Method and Description |
|---|---|
Predicate<? super Localizable> |
arg0() |
Predicate<? super Localizable> |
arg1() |
BoundaryType |
boundaryType()
Returns the boundary behavior of this Mask.
|
boolean |
equals(Object obj)
Determines whether two masks describe the same region in the same way.
|
int |
hashCode() |
KnownConstant |
knownConstant() |
Operators.BinaryMaskOperator |
operator()
Returns the operation which lead to this mask.
|
boolean |
test(Localizable localizable) |
dimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitoperand, operandsmaskTypeisAlldimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic DefaultBinaryCompositeMaskInterval(Operators.BinaryMaskOperator operator, Predicate<? super Localizable> arg0, Predicate<? super Localizable> arg1, Interval interval, BoundaryType boundaryType, BinaryOperator<KnownConstant> knownConstantOp)
public BoundaryType boundaryType()
MaskPredicateboundaryType in interface MaskPredicate<Localizable>public KnownConstant knownConstant()
knownConstant in interface MaskPredicate<Localizable>public boolean test(Localizable localizable)
test in interface Predicate<Localizable>public Operators.BinaryMaskOperator operator()
CompositeMaskPredicateoperator in interface CompositeMaskPredicate<Localizable>public Predicate<? super Localizable> arg0()
arg0 in interface BinaryCompositeMaskPredicate<Localizable>public Predicate<? super Localizable> arg1()
arg1 in interface BinaryCompositeMaskPredicate<Localizable>public boolean equals(Object obj)
MaskPredicatekind of mask has its own semantics:
polygon objects are equal if
they have the same vertices in the same order at the same locations.box
is not considered "equal" to a polygon even if the polygon's vertices are the four corners of the box,
and the two masks have the same boundary type.equals in interface MaskPredicate<Localizable>equals in class ObjectCopyright © 2015–2022 ImgLib2. All rights reserved.