pixmapToVector: pixmapToVector

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Rutils.R

Description

converts a pixmapGrey object to a numeric vector. The pixel matrix is casted to a vector by appending successive columns.

Usage

1

Arguments

p

pixmapGrey object.

Value

numeric vector containing pixel intensities.

Author(s)

Pierrick Bruneau

See Also

pixmapGrey reBuild readPixmapFile

Examples

1
2
3
# use with path to actual train-... file
#temp <- readPixmapFile("data/train-images-idx3-ubyte")
#temp2 <- pixmapToVector(temp[[3]])

VBmix documentation built on May 30, 2017, 2:34 a.m.

Related to pixmapToVector in VBmix...