Class And
Applies multiples filter with logical AND i.e. an object must pass all objects in the list to
remain.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(ObjectCollection objects, 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
-
And
public And()
-
-
Method Details
-
filter
public ObjectCollection filter(ObjectCollection objects, Optional<Dimensions> dim) throws OperationFailedException Description copied from class:ObjectFilter
Filters anObjectCollection
to remove objects.- Specified by:
filter
in classObjectFilter
- Parameters:
objects
- 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.
-