public class TileStackProviders extends Object
StackProvider
s into a single StackProvider
.Modifier and Type | Method and Description |
---|---|
static StackProvider |
tile(List<StackProviderWithLabel> providers,
int numberColumns,
boolean createShort,
boolean expandLabelZ)
Creates a
StackProvider that provides a tiled-representation of providers . |
public static StackProvider tile(List<StackProviderWithLabel> providers, int numberColumns, boolean createShort, boolean expandLabelZ)
StackProvider
that provides a tiled-representation of providers
.providers
- the providers to tile.numberColumns
- the number of columns in the tiled-version.createShort
- when true, the voxel-data-type of the created image is unsigned
short, otherwise unsigned byte.expandLabelZ
- when true, the label is repeated across all z-slices in the stack. when
false, it appears on only one z-slice.StackProvider
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.