tile {EBImage} | R Documentation

## Generate a tiled image from a stack of images

### Description

Given an image stack (or a list of such those), `tile` generates for each stack a single image with frames tiled.

### Usage

      ## S4 method for signature 'Image':
      tile(x, nx=10, lwd=1, fg.col="#E4AF2B", bg.col="gray", ...)
      ## S4 method for signature 'list':
      tile(x, nx=10, lwd=1, fg.col="#E4AF2B", bg.col="gray", ...)

### Arguments

`x` | An object of `Image` or a list of such objects. Images must be grayscale and carry object indexing information, like those returned by `watershed` or `propagate`.
`nx` | The number of tiled images in a row.
`lwd` | The width of the grid lines between tiled images, can be 0.
`fg.col` | The color of the grid lines (if `lwd > 0`). This will be converted to Grayscale if the color mode of `x` is `Grayscale`.
`bg.col` | The color of the background for extra tiles. This will be converted to Grayscale if the color mode of `x` is `Grayscale`.
`...` | Reserved.

### Details

The function for `x=list` is a useful addition to `stackObjects`, which returns a list of stacks, thus it can be directly used on the result of the latter.

### Value

An image of the same class and in the same color mode as `x`.

### Author(s)

Oleg Sklyar, osklyar@ebi.ac.uk, 2006-2007

### See Also

`stackObjects, combine`

### Examples

      ## see example(stackObjects)

[Package EBImage version 2.2.0 Index]