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 Channel
createFromDimensions
(Dimensions dimensions) Creates a channel from the given dimensions.getSlice()
void
setSlice
(ChannelProvider slice) Methods inherited from class org.anchoranalysis.plugin.image.bean.channel.provider.FromDimensionsBase
get, getDimensions, setDimensions
Methods inherited from class org.anchoranalysis.image.bean.provider.ChannelProvider
getAsStack
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
-
RepeatSlice
public RepeatSlice()
-
-
Method Details
-
createFromDimensions
Description copied from class:FromDimensionsBase
Creates a channel from the given dimensions.- Specified by:
createFromDimensions
in classFromDimensionsBase
- Parameters:
dimensions
- theDimensions
to use for creating the channel- Returns:
- a new
Channel
with the specified dimensions - Throws:
ProvisionFailedException
- if the channel creation fails
-
getSlice
-
setSlice
-