download_coil20 | R Documentation |
Download processed COIL-20 database of object images.
download_coil20(file = tempfile(), cleanup = TRUE, verbose = FALSE)
file |
name of file to download to. Defaults to |
cleanup |
if |
verbose |
If |
A data frame with 16385 variables:
x1_y1
, x1_y2
, ... x1_128
, x2_y1
...
x128_y128
Pixel values ranging from 0 to 1. The x
index
increases from left to right, and the y
index increases from top to
bottom, i.e. x1_y1
is top left and x128_y128
is the bottom
right.
Label
The id of the object represented by the image, in the range 1-20. Stored as a factor.
The name of each row in the data frame is in the form "<obj>_<pose>", where <obj> is the id of the object (numbered from 1 to 20) and <pose> is the pose id (numbered from 0 to 71). e.g. "5_4" is the fourth pose of the fifth object.
Downloads and expands the zip file of the processed COIL-20 database of object images and converts them to a data frame. There are 20 objects, each represented by 72 poses, in a grayscale PNG format. Each image has a resolution of 128 x 128.
Data frame containing the COIL-20 database.
This function requires the png
package
https://cran.r-project.org/web/packages/png/ to be installed.
For more information see http://www.cs.columbia.edu/CAVE/software/softlib/coil-20.php.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.