permute_axes: Permute image axes

Description Usage Arguments Examples

Description

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

Usage

1
permute_axes(im, perm)

Arguments

im

an image

perm

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

Examples

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


Search within the imager package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.