Package: image2data 1.0.1

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.

Authors:P.-O. Caron [aut, cre, cph], Alexandre Dufresne [aut, cph]

image2data_1.0.1.tar.gz
image2data_1.0.1.zip(r-4.5)image2data_1.0.1.zip(r-4.4)image2data_1.0.1.zip(r-4.3)
image2data_1.0.1.tgz(r-4.4-any)image2data_1.0.1.tgz(r-4.3-any)
image2data_1.0.1.tar.gz(r-4.5-noble)image2data_1.0.1.tar.gz(r-4.4-noble)
image2data_1.0.1.tgz(r-4.4-emscripten)image2data_1.0.1.tgz(r-4.3-emscripten)
image2data.pdf |image2data.html
image2data/json (API)

# Install 'image2data' in R:
install.packages('image2data', repos = c('https://quantmeth.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/quantmeth/image2data/issues

On CRAN:

2.00 score 1 scripts 203 downloads 1 exports 5 dependencies

Last updated 2 years agofrom:50c8a875a0. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winOKNov 05 2024
R-4.5-linuxOKNov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:image2data

Dependencies:bmpjpegpngreadbitmaptiff