nimg: Create a nimg object

View source: R/pictplot.R

nimgR Documentation

Create a nimg object

Description

nimg is a class for storing image data as a 3 dimensional array (y, x, c format). y and x are spatial coordinates, and c is a color dimension.

Usage

nimg(im, name)

Arguments

im

a 3 dimensional numeric array

name

a string for name attribute.

Value

an object of class nimg

Examples

nimg(array(1,c(128,256,3)))

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.