Class TileStackProviders

Object
TileStackProviders

public class TileStackProviders extends Object
Tile multiple StackProviders into a single StackProvider.
Author:
Owen Feehan
  • Method Details

    • tile

      public static StackProvider tile(List<StackProviderWithLabel> providers, int numberColumns, boolean createShort, boolean expandLabelZ)
      Creates a StackProvider that provides a tiled-representation of providers.
      Parameters:
      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.
      Returns:
      the newly created StackProvider.