reBuild: reBuild

Description Usage Arguments Value Author(s) See Also Examples

Description

re-build a pixmapGrey object from a vector of pixel intensities. As some pixels may be irrelevant over a collection of images (e.g. pixel always white in handwritten digits), some variables may have been filtered or transformed before performing some machine learning process. These transforms are indicated as parameters, and give clues to recover objects in the original image space. NB: assumes that v is scaled in [-10,10]. Additional transformations may thus be performed as appropriate before using this function.

Usage

1
reBuild(v, voids, nonvoids, domains, placeholder = 1)

Arguments

v

vector to be converted to a pixmapGrey object.

voids

vector of position indices in the original signal (i.e. 2D matrix with its columns casted in a vector) that did not carry any information. Replaced by a placeholder in recovered image.

nonvoids

vector of positions to which v should be associated in the recovered image.

domains

original data domains of pixel intensities prior to being transformed to v's domain. Permit appropriate reconstruction in the domain of pixel intensities used by pixmap (i.e. subset of [0,1]). Formatted similarly to what is required in setDomain.

placeholder

placeholder value for pixel positions present in voids.

Value

pixmapGrey reconstructed object.

Author(s)

Pierrick Bruneau

See Also

pixmapGrey pixmapToVector

Examples

1


Search within the VBmix package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.