Class TileWithLabels
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,ImageInitialization>
org.anchoranalysis.image.bean.ImageBean<T>
org.anchoranalysis.image.bean.provider.BeanProviderAsStackBase<StackProvider,Stack>
org.anchoranalysis.image.bean.provider.stack.StackProvider
org.anchoranalysis.image.io.bean.stack.combine.TileWithLabels
- All Implemented Interfaces:
Provider<Stack>,ProviderAsStack
public class TileWithLabels extends StackProvider
Tiles a number of
StackProviderWithLabels as a single StackProvider.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description TileWithLabels() -
Method Summary
Modifier and Type Method Description Stackget()List<StackProviderWithLabel>getList()The list ofStackProviderWithLabels that are tiled.intgetNumColumns()How many columns when tiling, so long as there are sufficientStackProviderWithLabels.booleanisCreateShort()When true, the voxel-data-type of the created image is unsigned short, otherwise unsigned byte.booleanisExpandLabelZ()When true, the label is repeated across all z-slices in the stack.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.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.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
- Throws:
ProvisionFailedException
-
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.
-