powered by
This function plots a CLI array on the graphics.
plotCLArray(clArray, bands = 1:3)
a numeric array. A 3D array of CLI (HxWx3)
an integer vector. integer vector of length 3, showing bands to be plotted
invisibly returns the dimension of the plotted image
# 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