Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

abind

Combine Image Arrays


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ś, 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

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)

EBImage

Image processing and analysis toolbox for R

v4.32.0
LGPL
Authors
Andrzej Oleś, Gregoire Pau, Mike Smith, Oleg Sklyar, Wolfgang Huber, with contributions from Joseph Barry and Philip A. Marais
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.