Learn R Programming

xROI (version 0.9.20)

plotCLArray: Plot CLI array

Description

This function plots a CLI array on the graphics.

Usage

plotCLArray(clArray, bands = 1:3)

Arguments

clArray

a numeric array. A 3D array of CLI (HxWx3)

bands

an integer vector. integer vector of length 3, showing bands to be plotted

Value

invisibly returns the dimension of the plotted image

Examples

Run this code
# NOT RUN {
f <- system.file(package = 'xROI', 'dukehw-cli.jpg')
jp <- jpeg::readJPEG(f)
if(interactive())plotCLArray(jp)

# }

Run the code above in your browser using DataLab