public class Arrange extends StackProvider
The stacks to be combined are specified in list
.
Instructions on how to combine the stacks are specified in arrange
, relative to the
order of the elements of list
.
Constructor and Description |
---|
Arrange() |
Arrange(boolean createShort,
boolean forceRGB)
Shortcut to create with some explicit parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
addStack(Provider<Stack> provider)
Adds a stack to the existing list of stack-providers.
|
Stack |
get()
Gets or creates an object of type
T . |
StackArranger |
getArrange()
Determines how the stacks in
list are arranged. |
Interpolator |
getInterpolator()
The interpolator to use for scaling images, if needed.
|
List<Provider<Stack>> |
getList()
The stacks that are passed in respect order into
arrange . |
boolean |
isCreateShort()
If true, the created raster has unsigned short voxel data type.
|
boolean |
isForceRGB()
Iff true, ensures every stack is converted into 3 channels.
|
void |
setArrange(StackArranger arrange)
Determines how the stacks in
list are arranged. |
void |
setCreateShort(boolean createShort)
If true, the created raster has unsigned short voxel data type.
|
void |
setForceRGB(boolean forceRGB)
Iff true, ensures every stack is converted into 3 channels.
|
void |
setInterpolator(Interpolator interpolator)
The interpolator to use for scaling images, if needed.
|
void |
setList(List<Provider<Stack>> list)
The stacks that are passed in respect order into
arrange . |
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Arrange(boolean createShort, boolean forceRGB)
createShort
- if true, the created raster has unsigned short voxel data type. If
false, then unsigned byte.forceRGB
- iff true, ensures every stack is converted into 3 channels.public Arrange()
public void addStack(Provider<Stack> provider)
provider
- the provider of the stack to add.public Stack get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public List<Provider<Stack>> getList()
arrange
.public void setList(List<Provider<Stack>> list)
arrange
.public StackArranger getArrange()
list
are arranged.public void setArrange(StackArranger arrange)
list
are arranged.public boolean isForceRGB()
public void setForceRGB(boolean forceRGB)
public boolean isCreateShort()
public void setCreateShort(boolean createShort)
public Interpolator getInterpolator()
public void setInterpolator(Interpolator interpolator)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.