Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.data.frame.imlist

Convert image list to data.frame


Description

Convert image list to data.frame

Usage

## S3 method for class 'imlist'
as.data.frame(x, ..., index = "im")

Arguments

x

an image list (an imlist object)

...

Passed on to as.data.frame.cimg

index

Name of the column containing the index (or name) of the image in the list. Default: "im"

Examples

#Transform the image gradient into a data.frame
gr <- imgradient(boats,"xy") %>% setNames(c("dx","dy")) %>% as.data.frame
str(gr)

imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.