Class ScaleXY
- All Implemented Interfaces:
Provider<Mask>,ProviderAsStack
Scales the mask in XY dimensions, but not in Z dimension.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromMask(Mask mask) Creates aMaskgiven the entity provided by the delegate.Determines how much to scale by.voidsetScaleCalculator(ScaleCalculator scaleCalculator) Determines how much to scale by.Methods inherited from class org.anchoranalysis.image.bean.provider.MaskProviderUnary
get, getMask, setMaskMethods inherited from class org.anchoranalysis.image.bean.provider.MaskProvider
getAsStackMethods 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
-
ScaleXY
public ScaleXY()
-
-
Method Details
-
createFromMask
Description copied from class:MaskProviderUnaryCreates aMaskgiven the entity provided by the delegate.- Specified by:
createFromMaskin classMaskProviderUnary- Parameters:
mask- the entity provided by the delegate.- Returns:
- the created
Maskthat is returned by the provider. - Throws:
ProvisionFailedException- if the provider cannot complete successfully.
-
getScaleCalculator
Determines how much to scale by. -
setScaleCalculator
Determines how much to scale by.
-