download_coil20: Download COIL-20

Description Usage Arguments Format Details Value Note See Also

Description

Download processed COIL-20 database of object images.

Usage

1
download_coil20(file = tempfile(), cleanup = TRUE, verbose = FALSE)

Arguments

file

name of file to download to. Defaults to tempfile.

cleanup

if TRUE, then delete any downloaded files when finished.

verbose

If TRUE, then download progress will be logged as a message.

Format

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.

Details

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.

Value

Data frame containing the COIL-20 database.

Note

This function requires the png package https://cran.r-project.org/web/packages/png/ to be installed.

See Also

For more information see http://www.cs.columbia.edu/CAVE/software/softlib/coil-20.php.


jlmelville/coil20 documentation built on May 19, 2019, 12:47 p.m.