Class ExtendInZ
- All Implemented Interfaces:
Provider<ObjectCollection>
Creates a 3D version of an object by replicating each input-object across the z-dimension to meet
(3D) dimensions.
An object-collection is produced with an identical number of objects, but with each expanded in the z-dimension.
If the input-object is a 2D-slice it is replicated directly, if it is already a 3D-object its flattened version (a maximum intensity projection) is used.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromObjects
(ObjectCollection objects) Creates aObjectCollection
given the entity provided by the delegate.Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithDimensionsBase
createDimensions, getDimensions, setDimensions
Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjects
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
-
ExtendInZ
public ExtendInZ()
-
-
Method Details
-
createFromObjects
Description copied from class:ObjectCollectionProviderUnary
Creates aObjectCollection
given the entity provided by the delegate.- Specified by:
createFromObjects
in classObjectCollectionProviderUnary
- Parameters:
objects
- the entity provided by the delegate.- Returns:
- the created
ObjectCollection
that is returned by the provider. - Throws:
ProvisionFailedException
- if the provider cannot complete successfully.
-