public class Operators extends Object
AND
) combine the appropriate operations for the
BoundaryType
, the Bounds
interval, and the mask predicate.
The operator instances are used both, as constants referring to a specific
operator (see CompositeMaskPredicate.operator()
), and to combine
source masks with the respective operation (e.g., see
Operators.BinaryMaskOperator.apply(Predicate, Predicate)
).
Modifier and Type | Class and Description |
---|---|
static class |
Operators.BinaryMaskOperator |
static interface |
Operators.MaskOperator |
static class |
Operators.RealTransformMaskOperator
Operators.MaskOperator for transforming RealMask s. |
static class |
Operators.UnaryMaskOperator |
Modifier and Type | Field and Description |
---|---|
static Operators.BinaryMaskOperator |
AND |
static Operators.BinaryMaskOperator |
MINUS |
static Operators.UnaryMaskOperator |
NEGATE |
static Operators.BinaryMaskOperator |
OR |
static Operators.BinaryMaskOperator |
XOR |
Constructor and Description |
---|
Operators() |
Modifier and Type | Method and Description |
---|---|
static int |
checkDimensions(Object... args)
Checks that all
args have same dimensionality. |
public static final Operators.BinaryMaskOperator AND
public static final Operators.BinaryMaskOperator OR
public static final Operators.BinaryMaskOperator XOR
public static final Operators.BinaryMaskOperator MINUS
public static final Operators.UnaryMaskOperator NEGATE
public static int checkDimensions(Object... args)
args
have same dimensionality. Those args
that do not implement EuclideanSpace
are ignored (unless none of
them does).args
- IllegalArgumentException
- if no arg has dimensions or two args have incompatible number
of dimensionsCopyright © 2015–2022 ImgLib2. All rights reserved.