
imshow(image)
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.
vpImage
filename <- system.file("sample_img/SampleVideo_1080x720_5mb.png", package = "videoplayR")
img <- readImg(filename)
imshow(img)
Run the code above in your browser using DataLab