View source: R/display.spiral.R
| display.spiral | R Documentation |
This function is to create a spiral imagethe from R array/tensor obtained from Google image search.
display.spiral(x, Save = FALSE, SaveFormat = "png", file_path = NULL)
x |
a list obtained by the GoogleImage2array function. |
Save |
a logical. Whether to save images locally or not. if TRUE, save locally. |
SaveFormat |
a character of format; png or pdf. |
file_path |
a character. a directory to save the image file. |
image
Satoshi Kume
library(EBImage)
# Simple examples
query <- "persian cat"
CatImg <- GoogleImage2array(query)
#show images
display.spiral(CatImg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.