image2data: Turn Images into Data Sets

The goal of 'image2data' is to extract images and return them into a data set, especially for teaching data manipulation and data visualization. Basically, the eponymous function takes an image file ('png', 'tiff', 'jpeg', 'bmp') and turn it into a data set, pixels being rows (subjects) and columns (variables) being their coordinate positions (x- and y-axis) and their respective color (in hex codes). The function can return a complete image or a range of color (i.e., contour, silhouette). The data can then be manipulated as would any data set by either creating other related variables (to hide the image) or as a genuine toy data set.

Version: 1.0.1
Imports: readbitmap (≥ 0.1.0)
Published: 2022-08-22
DOI: 10.32614/CRAN.package.image2data
Author: P.-O. Caron ORCID iD [aut, cre, cph], Alexandre Dufresne [aut, cph]
Maintainer: P.-O. Caron <pocaron19 at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: image2data results

Documentation:

Reference manual: image2data.pdf

Downloads:

Package source: image2data_1.0.1.tar.gz
Windows binaries: r-devel: image2data_1.0.1.zip, r-release: image2data_1.0.1.zip, r-oldrel: image2data_1.0.1.zip
macOS binaries: r-release (arm64): image2data_1.0.1.tgz, r-oldrel (arm64): image2data_1.0.1.tgz, r-release (x86_64): image2data_1.0.1.tgz, r-oldrel (x86_64): image2data_1.0.1.tgz
Old sources: image2data archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=image2data to link to this page.