Interface AcceptIterationPredicate
- All Known Implementing Classes:
AcceptIterationList
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A condition that must be fulfilled for a particular iteration of a morphological operation to be
accepted.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(BinaryVoxels<UnsignedByteBuffer> voxels) Whether a particularvoxels
fulfills the condition or not.
-
Method Details
-
accept
Whether a particularvoxels
fulfills the condition or not.- Parameters:
voxels
- the voxels to test.- Returns:
- true iff the condition is fulfilled.
- Throws:
OperationFailedException
- if the predicate cannot be successfully checked.
-