Class TileWithLabels
- All Implemented Interfaces:
Provider<Stack>
,ProviderAsStack
Tiles a number of
StackProviderWithLabel
s as a single StackProvider
.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.getList()
The list ofStackProviderWithLabel
s that are tiled.int
How many columns when tiling, so long as there are sufficientStackProviderWithLabel
s.boolean
When true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte.boolean
When true, the label is repeated across all z-slices in the stack. when false, it appears on only one z-slice.void
setCreateShort
(boolean createShort) When true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte.void
setExpandLabelZ
(boolean expandLabelZ) When true, the label is repeated across all z-slices in the stack. when false, it appears on only one z-slice.void
setList
(List<StackProviderWithLabel> list) The list ofStackProviderWithLabel
s that are tiled.void
setNumColumns
(int numColumns) How many columns when tiling, so long as there are sufficientStackProviderWithLabel
s.Methods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider
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
-
TileWithLabels
public TileWithLabels()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getList
The list ofStackProviderWithLabel
s that are tiled. -
setList
The list ofStackProviderWithLabel
s that are tiled. -
getNumColumns
public int getNumColumns()How many columns when tiling, so long as there are sufficientStackProviderWithLabel
s. -
setNumColumns
public void setNumColumns(int numColumns) How many columns when tiling, so long as there are sufficientStackProviderWithLabel
s. -
isCreateShort
public boolean isCreateShort()When true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte. -
setCreateShort
public void setCreateShort(boolean createShort) When true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte. -
isExpandLabelZ
public boolean isExpandLabelZ()When true, the label is repeated across all z-slices in the stack. when false, it appears on only one z-slice. -
setExpandLabelZ
public void setExpandLabelZ(boolean expandLabelZ) When true, the label is repeated across all z-slices in the stack. when false, it appears on only one z-slice.
-