Class ScaleXY
Object
AnchorBean<ChannelProvider>
InitializableBean<ChannelProvider, ImageInitialization>
ImageBean<ChannelProvider>
BeanProviderAsStackBase<ChannelProvider, Channel>
ChannelProvider
ChannelProviderUnary
ScaleXY
- All Implemented Interfaces:
Provider<Channel>,ProviderAsStack
public class ScaleXY
extends ChannelProviderUnary
Scales the channel in the X and Y dimensions.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChannelcreateFromChannel(Channel channel) InterpolatorThe interpolator to use for scaling images.ScaleCalculatorvoidsetInterpolator(Interpolator interpolator) The interpolator to use for scaling images.voidsetScaleCalculator(ScaleCalculator scaleCalculator) Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProviderUnary
get, getChannel, setChannelMethods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
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
-
createFromChannel
public Channel createFromChannel(Channel channel) throws ProvisionFailedException - Specified by:
createFromChannelin classChannelProviderUnary- Throws:
ProvisionFailedException
-
getScaleCalculator
public ScaleCalculator getScaleCalculator() -
setScaleCalculator
public void setScaleCalculator(ScaleCalculator scaleCalculator) -
getInterpolator
public Interpolator getInterpolator()The interpolator to use for scaling images. -
setInterpolator
public void setInterpolator(Interpolator interpolator) The interpolator to use for scaling images.
-