imshow: Display vpImage object

Description Usage Arguments Details Value See Also Examples

Description

This function opens a graphics device and display the image contained in a vpImage object.

Usage

1

Arguments

image

A vpImage object to display.

Details

imshow opens a regular graphics device, meaning that it is possible to overlay lines and points over the image, like with any regular plot. The bottom left corner of the image is set at {1,1}.

If the type of the vpImage object is "numeric", then its values are rescaled between 0 and 1, with 0 representing the minimum value of the original image and 1 representing its maximum.

Value

This function does not return anything.

See Also

vpImage

Examples

1
2
3
filename <- system.file("sample_img/SampleVideo_1080x720_5mb.png", package = "videoplayR")
img <- readImg(filename)
imshow(img)

swarm-lab/videoplayR documentation built on May 30, 2019, 9:36 p.m.