Class Or
Applies multiples filter with logical OR i.e. an object must pass any one of the filter steps to
remain.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(ObjectCollection objectsToFilter, Optional<Dimensions> dim) Filters anObjectCollection
to remove objects.Methods inherited from class org.anchoranalysis.plugin.image.bean.object.filter.combine.ObjectFilterCombine
getList, setList
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Or
public Or()
-
-
Method Details
-
filter
public ObjectCollection filter(ObjectCollection objectsToFilter, Optional<Dimensions> dim) throws OperationFailedException Description copied from class:ObjectFilter
Filters anObjectCollection
to remove objects.- Specified by:
filter
in classObjectFilter
- Parameters:
objectsToFilter
- the objects to filter.dim
- image-dimensions.- Returns:
- a new object-collection containing only the objects that passed the filter.
- Throws:
OperationFailedException
- if the operation cannot complete successfully.
-