Description Usage Arguments Details Value Examples
View source: R/01_raw_image_handling.R
Plots an image as an image.
1 | plotImage(img)
|
img |
Either a path to an image or a |
Redundant, but a nice sanity check. Used in a few other functions in
colordistance
package. Takes either a path to an image (RGB or PNG) or
an image object as read in by loadImage
.
A plot of the provided image in the current plot window.
1 2 3 4 5 | colordistance::plotImage(system.file("extdata",
"Heliconius/Heliconius_A/Heliconius_01.jpeg", package="colordistance"))
colordistance::plotImage(loadImage(system.file("extdata",
"Heliconius/Heliconius_A/Heliconius_01.jpeg", package="colordistance"),
lower=rep(0.8, 3), upper=rep(1, 3)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.