Class 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 Details

    • TileWithLabels

      public TileWithLabels()
  • Method Details

    • get

      public Stack get() throws ProvisionFailedException
      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
      Throws:
      ProvisionFailedException - if the object cannot be returned.
    • getList

      public List<StackProviderWithLabel> getList()
      The list of StackProviderWithLabels that are tiled.
    • setList

      public void setList(List<StackProviderWithLabel> list)
      The list of StackProviderWithLabels that are tiled.
    • getNumColumns

      public int getNumColumns()
      How many columns when tiling, so long as there are sufficient StackProviderWithLabels.
    • setNumColumns

      public void setNumColumns(int numColumns)
      How many columns when tiling, so long as there are sufficient StackProviderWithLabels.
    • 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.