permute_axes: Permute image axes

View source: R/RcppExports.R

permute_axesR Documentation

Permute image axes

Description

By default images are stored in xyzc order. Use permute_axes to change that order.

Usage

permute_axes(im, perm)

Arguments

im

an image

perm

a character string, e.g., "zxyc" to have the z-axis come first

Examples

im <- array(0,c(10,30,40,3)) %>% as.cimg
permute_axes(im,"zxyc")

dahtah/imager documentation built on Feb. 23, 2023, 10:16 p.m.