abind: Combine Image Arrays

Description Value Usage Arguments Methods Author(s) See Also Examples

Description

Methods for function abind from package abind useful for combining Image arrays.

Value

An Image object or an array, containing the combined data arrays of the input objects.

Usage

abind(...)

Arguments

...

Arguments to abind

Methods

signature(... = "Image")

This method is defined primarily for the sake of preserving the class of the combined Image objects. Unlike the original abind function, if dimnames for all combined objects are NULL it does not introduce a list of empty dimnames for each dimension.

signature(... = "ANY")

Dispatches to the original abind function.

Author(s)

Andrzej Ole<c5><9b>, andrzej.oles@embl.de, 2017

See Also

combine provides a more convenient interface to merging images into an image sequence. Use tile to lay out images next to each other in a regular grid.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  f = system.file("images", "sample-color.png", package="EBImage")
  x = readImage(f)
  
  ## combine images horizontally
  y = abind(x, x, along=1)
  display(y)
  
  ## stack images one on top of the other
  z = abind(x, x, along=2)
  display(z)

Example output



EBImage documentation built on Nov. 8, 2020, 5:41 p.m.