Description Format Details See Also
A vpImage object is an R container for an OpenCV image. vpImage objects can
be generated by the following videoplayR
functions:
readImg
, getFrame
, r2img
. They can
be displayed using the imshow
function.
A vpImage object contains two fields:
$type
: the type of image stored in the object. There are 4 types of image types:
binary
: 1-channel image with integer pixel values of 0 or 1 only.
grayscale
: 1-channel image with integer pixel values in [0, 255].
rgb
: 3-channels image with integer pixel values in [0, 255].
numeric
: 1- or 3-channels image with unconstrained pixel values.
"dim": the dimensions in pixels (width x height x depth) of the image.
A vpImage object is not a persistent object, but a pointer to a C++ object that cannot be saved for reuse in a different session.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.