Class TileWithLabels
- All Implemented Interfaces:
Provider<Stack>,ProviderAsStack
Tiles a number of
StackProviderWithLabels 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 ofStackProviderWithLabels that are tiled.intHow many columns when tiling, so long as there are sufficientStackProviderWithLabels.booleanWhen true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte.booleanWhen true, the label is repeated across all z-slices in the stack. when false, it appears on only one z-slice.voidsetCreateShort(boolean createShort) When true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte.voidsetExpandLabelZ(boolean expandLabelZ) When true, the label is repeated across all z-slices in the stack. when false, it appears on only one z-slice.voidsetList(List<StackProviderWithLabel> list) The list ofStackProviderWithLabels that are tiled.voidsetNumColumns(int numColumns) How many columns when tiling, so long as there are sufficientStackProviderWithLabels.Methods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider
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
-
TileWithLabels
public TileWithLabels()
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException- if the object cannot be returned.
-
getList
The list ofStackProviderWithLabels that are tiled. -
setList
The list ofStackProviderWithLabels that are tiled. -
getNumColumns
public int getNumColumns()How many columns when tiling, so long as there are sufficientStackProviderWithLabels. -
setNumColumns
public void setNumColumns(int numColumns) How many columns when tiling, so long as there are sufficientStackProviderWithLabels. -
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.
-