Class RepeatSlice
- All Implemented Interfaces:
Provider<Channel>,ProviderAsStack
Creates a new channel with specific dimensions that repeatedly duplicates a slice from an
existing channel
The incoming slice must have the same extent in XY as specified in dimension.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelcreateFromDimensions(Dimensions dimensions) Creates a channel from the given dimensions.getSlice()voidsetSlice(ChannelProvider slice) Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.FromDimensionsBase
get, getDimensions, setDimensionsMethods 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
-
RepeatSlice
public RepeatSlice()
-
-
Method Details
-
createFromDimensions
Description copied from class:FromDimensionsBaseCreates a channel from the given dimensions.- Specified by:
createFromDimensionsin classFromDimensionsBase- Parameters:
dimensions- theDimensionsto use for creating the channel- Returns:
- a new
Channelwith the specified dimensions - Throws:
ProvisionFailedException- if the channel creation fails
-
getSlice
-
setSlice
-