Class Scale
Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
ObjectCollectionProviderUnary
WithDimensionsBase
Scale
- All Implemented Interfaces:
Provider<ObjectCollection>
Scales all the objects in the collection by a particular scale-factor.
Note that the order of object is not perserved in the scaled object-collection.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObjectCollectioncreateFromObjects(ObjectCollection objects) ScaleCalculatorvoidsetScaleCalculator(ScaleCalculator scaleCalculator) Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithDimensionsBase
createDimensions, getDimensions, setDimensionsMethods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjectsMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Scale
public Scale()
-
-
Method Details
-
createFromObjects
public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException - Specified by:
createFromObjectsin classObjectCollectionProviderUnary- Throws:
ProvisionFailedException
-
getScaleCalculator
public ScaleCalculator getScaleCalculator() -
setScaleCalculator
public void setScaleCalculator(ScaleCalculator scaleCalculator)
-