redim.array: Function to redimension a 3D array

Description Usage Arguments Author(s) Examples

Description

Function to redimension a 3D array

Usage

1
redim.array(data, height.out, width.out = NULL)

Arguments

data

3D array

height.out

number of pixel in height (first dimension of the 3D array)

width.out

number of pixel in width, optionnal, if not specified will be infered from the height and array dimension (second dimension of the 3D array)

Author(s)

Dimitri Fichou

Examples

1
2
3
data <- f.read.image('www/rTLC_demopicture.JPG',format='jpeg',native=F)
data <- data %>% redim.array(256)
data %>% raster()

DimitriF/DLC documentation built on Oct. 14, 2020, 4:33 p.m.