Class Tile
A higher-level aggregate structure that arranges other
StackArrangers in a tabular
pattern.
The table is defined by a number of rows and columns.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarrangeStacks(Iterator<Extent> extents, OperationContext context) Arranges stacks to that they fit together in a single raster.How to align a smaller image inside a larger cell.Used to define an individual cell, when no specific entry is found incellsfor a particular cell.getCells()Defines the correspondingStackArrangerfor an individual cell in table.intThe number of columns to use in the table produced when tiling.intThe number of rows to use in the table produced when tiling.voidsetAligner(BoxAligner aligner) How to align a smaller image inside a larger cell.voidsetCellDefault(StackArranger cellDefault) Used to define an individual cell, when no specific entry is found incellsfor a particular cell.voidDefines the correspondingStackArrangerfor an individual cell in table.voidsetNumberColumns(int numberColumns) The number of columns to use in the table produced when tiling.voidsetNumberRows(int numberRows) The number of rows to use in the table produced when tiling.Methods inherited from class org.anchoranalysis.image.bean.spatial.arrange.StackArranger
combine, combineMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Tile
public Tile(int numberColumns, int numberRows) Creates for a particular number of columns and rows.- Parameters:
numberColumns- the number of columns to use in the table produced when tiling.numberRows- the number of rows to use in the table produced when tiling.
-
Tile
public Tile()
-
-
Method Details
-
arrangeStacks
public StackArrangement arrangeStacks(Iterator<Extent> extents, OperationContext context) throws ArrangeStackException Description copied from class:StackArrangerArranges stacks to that they fit together in a single raster.- Specified by:
arrangeStacksin classStackArranger- Parameters:
extents- the size of each respective stack for the arrangement.context- objects for the operation.- Returns:
- bounding-boxes for each respective
RGBStackin the unified plane. - Throws:
ArrangeStackException- if a bounding-box cannot be determined for any stack.
-
getNumberColumns
public int getNumberColumns()The number of columns to use in the table produced when tiling. -
setNumberColumns
public void setNumberColumns(int numberColumns) The number of columns to use in the table produced when tiling. -
getNumberRows
public int getNumberRows()The number of rows to use in the table produced when tiling. -
setNumberRows
public void setNumberRows(int numberRows) The number of rows to use in the table produced when tiling. -
getCells
Defines the correspondingStackArrangerfor an individual cell in table.Each cell should be specified zero or one times, via a reference to the corresponding row and column.
If a particular cell is unspecified,
cellDefaultis used. -
setCells
Defines the correspondingStackArrangerfor an individual cell in table.Each cell should be specified zero or one times, via a reference to the corresponding row and column.
If a particular cell is unspecified,
cellDefaultis used. -
getCellDefault
Used to define an individual cell, when no specific entry is found incellsfor a particular cell. -
setCellDefault
Used to define an individual cell, when no specific entry is found incellsfor a particular cell. -
getAligner
How to align a smaller image inside a larger cell. -
setAligner
How to align a smaller image inside a larger cell.
-