diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html
index 7c794c81..151b8ac0 100644
--- a/docs/LICENSE-text.html
+++ b/docs/LICENSE-text.html
@@ -75,13 +75,13 @@
diff --git a/docs/articles/index.html b/docs/articles/index.html
index 17579c61..64858b66 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -75,13 +75,13 @@
@@ -113,9 +113,9 @@ All vignettes
diff --git a/docs/authors.html b/docs/authors.html
index 283d4ec5..0f82e832 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -75,13 +75,13 @@
diff --git a/docs/index.html b/docs/index.html
index f8f21528..0fe3c993 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -54,13 +54,13 @@
@@ -103,9 +103,9 @@
Quick start guides
-- 1 - Installation instructions
-- 2 - Input/output operations
-- 3 - Basic operations
+- 1 - Installation instructions
+- 2 - Input/output operations
+- 3 - Basic operations
- 4 - Advanced operations on videos [TODO]
- 5 - Advanced operations on streams [TODO]
- 6 - Advanced operations on images [TODO]
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml
index 27c54f7b..3844a41d 100644
--- a/docs/pkgdown.yml
+++ b/docs/pkgdown.yml
@@ -2,8 +2,8 @@ pandoc: 1.19.2.1
pkgdown: 0.1.0.9000
pkgdown_sha: e937c92cffd8afb0c98c67ff1a5450fe6419f09b
articles:
- 1_install: 1_install.html
- 2_io: 2_io.html
- 3_basic: 3_basic.html
_Rvision-vignette: old/_Rvision-vignette.html
+ z1_install: z1_install.html
+ z2_io: z2_io.html
+ z3_basic: z3_basic.html
diff --git a/docs/reference/Image-class.html b/docs/reference/Image-class.html
index fa55c87c..7589f3f3 100644
--- a/docs/reference/Image-class.html
+++ b/docs/reference/Image-class.html
@@ -81,13 +81,13 @@
diff --git a/docs/reference/Rvision.html b/docs/reference/Rvision.html
index 2f2668d1..18948759 100644
--- a/docs/reference/Rvision.html
+++ b/docs/reference/Rvision.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/RvisionAck.html b/docs/reference/RvisionAck.html
index 9e16ff99..8acb519b 100644
--- a/docs/reference/RvisionAck.html
+++ b/docs/reference/RvisionAck.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/Stream-class.html b/docs/reference/Stream-class.html
index c63a59c1..9e3c0a31 100644
--- a/docs/reference/Stream-class.html
+++ b/docs/reference/Stream-class.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/Video-class.html b/docs/reference/Video-class.html
index eadfedb7..b1a707e4 100644
--- a/docs/reference/Video-class.html
+++ b/docs/reference/Video-class.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/VideoWriter-class.html b/docs/reference/VideoWriter-class.html
index 93a7c013..66ea71fd 100644
--- a/docs/reference/VideoWriter-class.html
+++ b/docs/reference/VideoWriter-class.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/absdiff.html b/docs/reference/absdiff.html
index 5acf6f4d..ca35389a 100644
--- a/docs/reference/absdiff.html
+++ b/docs/reference/absdiff.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/addWeighted.html b/docs/reference/addWeighted.html
index 92924ef0..2c7792ed 100644
--- a/docs/reference/addWeighted.html
+++ b/docs/reference/addWeighted.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/as.array.Rcpp_Image.html b/docs/reference/as.array.Rcpp_Image.html
index 021522d6..4f563e7d 100644
--- a/docs/reference/as.array.Rcpp_Image.html
+++ b/docs/reference/as.array.Rcpp_Image.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/bilateralFilter.html b/docs/reference/bilateralFilter.html
index 9fe3865c..e7431527 100644
--- a/docs/reference/bilateralFilter.html
+++ b/docs/reference/bilateralFilter.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/bitdepth.html b/docs/reference/bitdepth.html
index d697a8d2..80a75a35 100644
--- a/docs/reference/bitdepth.html
+++ b/docs/reference/bitdepth.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/blur.html b/docs/reference/blur.html
index e69e4ebd..d672b825 100644
--- a/docs/reference/blur.html
+++ b/docs/reference/blur.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/boxFilter.html b/docs/reference/boxFilter.html
index 2dcc9648..3ea67fe2 100644
--- a/docs/reference/boxFilter.html
+++ b/docs/reference/boxFilter.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/changeBitDepth.html b/docs/reference/changeBitDepth.html
index 72a60bf8..1f81c32c 100644
--- a/docs/reference/changeBitDepth.html
+++ b/docs/reference/changeBitDepth.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/changeColorSpace.html b/docs/reference/changeColorSpace.html
index e6a44395..b00948ac 100644
--- a/docs/reference/changeColorSpace.html
+++ b/docs/reference/changeColorSpace.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/cloneImage.html b/docs/reference/cloneImage.html
index 8c88b543..a55fddb8 100644
--- a/docs/reference/cloneImage.html
+++ b/docs/reference/cloneImage.html
@@ -85,13 +85,13 @@
diff --git a/docs/reference/codec.html b/docs/reference/codec.html
index e28dfa39..88e26629 100644
--- a/docs/reference/codec.html
+++ b/docs/reference/codec.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/colorspace.html b/docs/reference/colorspace.html
index b2792b04..44985e23 100644
--- a/docs/reference/colorspace.html
+++ b/docs/reference/colorspace.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/destroyDisplay.html b/docs/reference/destroyDisplay.html
index c52f7bc7..0ec98baf 100644
--- a/docs/reference/destroyDisplay.html
+++ b/docs/reference/destroyDisplay.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/dim.Rcpp_Image.html b/docs/reference/dim.Rcpp_Image.html
index e2c44760..fb14b524 100644
--- a/docs/reference/dim.Rcpp_Image.html
+++ b/docs/reference/dim.Rcpp_Image.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/dim.Rcpp_Stream.html b/docs/reference/dim.Rcpp_Stream.html
index c91c0fd8..9b2ccd2c 100644
--- a/docs/reference/dim.Rcpp_Stream.html
+++ b/docs/reference/dim.Rcpp_Stream.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/dim.Rcpp_Video.html b/docs/reference/dim.Rcpp_Video.html
index c10ef7d8..ecc6104b 100644
--- a/docs/reference/dim.Rcpp_Video.html
+++ b/docs/reference/dim.Rcpp_Video.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/display.html b/docs/reference/display.html
index b34900ea..3bd4a89b 100644
--- a/docs/reference/display.html
+++ b/docs/reference/display.html
@@ -82,13 +82,13 @@
diff --git a/docs/reference/drawArrow.html b/docs/reference/drawArrow.html
index 8f4ce390..f21c25a6 100644
--- a/docs/reference/drawArrow.html
+++ b/docs/reference/drawArrow.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/drawCircle.html b/docs/reference/drawCircle.html
index 21c7c8dc..1e9d6e17 100644
--- a/docs/reference/drawCircle.html
+++ b/docs/reference/drawCircle.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/drawEllipse.html b/docs/reference/drawEllipse.html
index da41c6d8..bf92ef8d 100644
--- a/docs/reference/drawEllipse.html
+++ b/docs/reference/drawEllipse.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/drawLine.html b/docs/reference/drawLine.html
index 12241c18..c5e2687c 100644
--- a/docs/reference/drawLine.html
+++ b/docs/reference/drawLine.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/drawRectangle.html b/docs/reference/drawRectangle.html
index fe92c458..c58fa4a5 100644
--- a/docs/reference/drawRectangle.html
+++ b/docs/reference/drawRectangle.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/drawText.html b/docs/reference/drawText.html
index e4268e55..8d7a551d 100644
--- a/docs/reference/drawText.html
+++ b/docs/reference/drawText.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/farneback.html b/docs/reference/farneback.html
index 3444d2a1..6fe529ef 100644
--- a/docs/reference/farneback.html
+++ b/docs/reference/farneback.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/filter2D.html b/docs/reference/filter2D.html
index 1d49b8cb..f3a4f264 100644
--- a/docs/reference/filter2D.html
+++ b/docs/reference/filter2D.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/fps.html b/docs/reference/fps.html
index ec6b4b55..f992c7f7 100644
--- a/docs/reference/fps.html
+++ b/docs/reference/fps.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/frame.html b/docs/reference/frame.html
index 0cc3011a..4e413a0b 100644
--- a/docs/reference/frame.html
+++ b/docs/reference/frame.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/gaussianBlur.html b/docs/reference/gaussianBlur.html
index 17bc0a36..fc53224a 100644
--- a/docs/reference/gaussianBlur.html
+++ b/docs/reference/gaussianBlur.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/getTextSize.html b/docs/reference/getTextSize.html
index 8003984d..11ac6f69 100644
--- a/docs/reference/getTextSize.html
+++ b/docs/reference/getTextSize.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/image.html b/docs/reference/image.html
index 7ec654da..5693abfe 100644
--- a/docs/reference/image.html
+++ b/docs/reference/image.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 277c68d5..14401a1c 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -75,13 +75,13 @@
diff --git a/docs/reference/isBlob.html b/docs/reference/isBlob.html
index f2bc8a2d..0da2277f 100644
--- a/docs/reference/isBlob.html
+++ b/docs/reference/isBlob.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/isImage.html b/docs/reference/isImage.html
index 504f0d04..eb9ed624 100644
--- a/docs/reference/isImage.html
+++ b/docs/reference/isImage.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/isStream.html b/docs/reference/isStream.html
index e71d877d..6495a63b 100644
--- a/docs/reference/isStream.html
+++ b/docs/reference/isStream.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/isVideo.html b/docs/reference/isVideo.html
index d061402f..7092d0c8 100644
--- a/docs/reference/isVideo.html
+++ b/docs/reference/isVideo.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/isVideoWriter.html b/docs/reference/isVideoWriter.html
index a52f8b2d..edb942fc 100644
--- a/docs/reference/isVideoWriter.html
+++ b/docs/reference/isVideoWriter.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/laplacian.html b/docs/reference/laplacian.html
index f1203431..a4507eca 100644
--- a/docs/reference/laplacian.html
+++ b/docs/reference/laplacian.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/medianBlur.html b/docs/reference/medianBlur.html
index b95d3e00..5d4dd842 100644
--- a/docs/reference/medianBlur.html
+++ b/docs/reference/medianBlur.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/merge.html b/docs/reference/merge.html
index 3f38c182..c8c5cbc9 100644
--- a/docs/reference/merge.html
+++ b/docs/reference/merge.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/morph.html b/docs/reference/morph.html
index 6856ab4c..4031c5c8 100644
--- a/docs/reference/morph.html
+++ b/docs/reference/morph.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/newDisplay.html b/docs/reference/newDisplay.html
index ebc1f103..1efd4100 100644
--- a/docs/reference/newDisplay.html
+++ b/docs/reference/newDisplay.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/nrow.Rcpp_Image.html b/docs/reference/nrow.Rcpp_Image.html
index 5872c046..d88c01e2 100644
--- a/docs/reference/nrow.Rcpp_Image.html
+++ b/docs/reference/nrow.Rcpp_Image.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/plot.Image.html b/docs/reference/plot.Image.html
index e1debd6c..8b6c1ca2 100644
--- a/docs/reference/plot.Image.html
+++ b/docs/reference/plot.Image.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/plot.OF_array.html b/docs/reference/plot.OF_array.html
index b4dd1962..8567ef41 100644
--- a/docs/reference/plot.OF_array.html
+++ b/docs/reference/plot.OF_array.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/plot.blob.html b/docs/reference/plot.blob.html
index c1e28792..e1e6e2e5 100644
--- a/docs/reference/plot.blob.html
+++ b/docs/reference/plot.blob.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/readFrame.html b/docs/reference/readFrame.html
index 32bf61a5..6dcbe718 100644
--- a/docs/reference/readFrame.html
+++ b/docs/reference/readFrame.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/readMulti.html b/docs/reference/readMulti.html
index e58b36af..68e97d4d 100644
--- a/docs/reference/readMulti.html
+++ b/docs/reference/readMulti.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/readNext.html b/docs/reference/readNext.html
index 35c24479..bce4b70a 100644
--- a/docs/reference/readNext.html
+++ b/docs/reference/readNext.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/release.html b/docs/reference/release.html
index 791b2955..2e051846 100644
--- a/docs/reference/release.html
+++ b/docs/reference/release.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/resize.html b/docs/reference/resize.html
index a7b33330..e57b4f49 100644
--- a/docs/reference/resize.html
+++ b/docs/reference/resize.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/scharr.html b/docs/reference/scharr.html
index 9effdb99..f4951229 100644
--- a/docs/reference/scharr.html
+++ b/docs/reference/scharr.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/sepFilter2D.html b/docs/reference/sepFilter2D.html
index be72f35f..9f98ab9a 100644
--- a/docs/reference/sepFilter2D.html
+++ b/docs/reference/sepFilter2D.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/setProp.html b/docs/reference/setProp.html
index 611dc659..6f695c45 100644
--- a/docs/reference/setProp.html
+++ b/docs/reference/setProp.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/simpleBlobDetector.html b/docs/reference/simpleBlobDetector.html
index 639a2700..fa769328 100644
--- a/docs/reference/simpleBlobDetector.html
+++ b/docs/reference/simpleBlobDetector.html
@@ -81,13 +81,13 @@
diff --git a/docs/reference/sobel.html b/docs/reference/sobel.html
index 95149056..49aa2efb 100644
--- a/docs/reference/sobel.html
+++ b/docs/reference/sobel.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/spatialGradient.html b/docs/reference/spatialGradient.html
index 78d4315b..abd068b6 100644
--- a/docs/reference/spatialGradient.html
+++ b/docs/reference/spatialGradient.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/split.html b/docs/reference/split.html
index e9c30948..0765a9e5 100644
--- a/docs/reference/split.html
+++ b/docs/reference/split.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/sqrBoxFilter.html b/docs/reference/sqrBoxFilter.html
index 307138ea..f7305dc7 100644
--- a/docs/reference/sqrBoxFilter.html
+++ b/docs/reference/sqrBoxFilter.html
@@ -80,13 +80,13 @@
diff --git a/docs/reference/stream.html b/docs/reference/stream.html
index c9f440fd..8cddf617 100644
--- a/docs/reference/stream.html
+++ b/docs/reference/stream.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/stream_dimensions.html b/docs/reference/stream_dimensions.html
index 8010fab0..4a618514 100644
--- a/docs/reference/stream_dimensions.html
+++ b/docs/reference/stream_dimensions.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/sum.html b/docs/reference/sum.html
index a1b1bc1e..3c202e70 100644
--- a/docs/reference/sum.html
+++ b/docs/reference/sum.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/timelapse.html b/docs/reference/timelapse.html
index a15072a8..7c80cbfc 100644
--- a/docs/reference/timelapse.html
+++ b/docs/reference/timelapse.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/video.html b/docs/reference/video.html
index 041a483e..56508787 100644
--- a/docs/reference/video.html
+++ b/docs/reference/video.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/videoWriter.html b/docs/reference/videoWriter.html
index 8183b1b6..015afe9c 100644
--- a/docs/reference/videoWriter.html
+++ b/docs/reference/videoWriter.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/video_dimensions.html b/docs/reference/video_dimensions.html
index cc805ec2..e8d179ff 100644
--- a/docs/reference/video_dimensions.html
+++ b/docs/reference/video_dimensions.html
@@ -79,13 +79,13 @@
diff --git a/docs/reference/write.Image.html b/docs/reference/write.Image.html
index 2165de03..8b98534b 100644
--- a/docs/reference/write.Image.html
+++ b/docs/reference/write.Image.html
@@ -78,13 +78,13 @@
diff --git a/docs/reference/writeFrame.html b/docs/reference/writeFrame.html
index 8261974f..4f22c289 100644
--- a/docs/reference/writeFrame.html
+++ b/docs/reference/writeFrame.html
@@ -79,13 +79,13 @@
diff --git a/index.Rmd b/index.Rmd
index 3543b398..db0c4bfa 100644
--- a/index.Rmd
+++ b/index.Rmd
@@ -22,9 +22,9 @@ streams or are limited in their processing speed and/or volume.
## Quick start guides
-+ [1 - Installation instructions](/Rvision/articles/1_install.html)
-+ [2 - Input/output operations](/Rvision/articles/2_io.html)
-+ [3 - Basic operations](/Rvision/articles/3_basic.html)
++ [1 - Installation instructions](/Rvision/articles/z1_install.html)
++ [2 - Input/output operations](/Rvision/articles/z2_io.html)
++ [3 - Basic operations](/Rvision/articles/z3_basic.html)
+ 4 - Advanced operations on videos [TODO]
+ 5 - Advanced operations on streams [TODO]
+ 6 - Advanced operations on images [TODO]
diff --git a/vignettes/1_install.Rmd b/vignettes/1_install.Rmd
deleted file mode 100644
index 8c704466..00000000
--- a/vignettes/1_install.Rmd
+++ /dev/null
@@ -1,76 +0,0 @@
----
-title: "1 - Installing Rvision"
-output: rmarkdown::html_vignette
-vignette: >
- %\VignetteIndexEntry{pkgdown}
- %\VignetteEngine{knitr::rmarkdown}
- %\VignetteEncoding{UTF-8}
----
-
-__This page describes the installation process of [`Rvision`](https://github.com/swarm-lab/Rvision).__
-
-Installing [`Rvision`](https://github.com/swarm-lab/Rvision) should go smoothly
-on all major operating systems (Mac, Windows, "Ubuntu-like" Linux). There are a
-few steps to follow before installing the package itself in order to install all
-the necessary dependencies.
-
-All installation steps are described below.
-
----
-
-+ [1.1 - Before installing ](#before-installing)
- + [1.1.1 - Devtools](#devtools)
- + [1.1.2 - ROpenCVLite](#ropencvlite)
-+ [1.2 - Installing Rvision](#installing-rvision)
-+ [1.3 - Loading Rvision](#loading-rvision)
-
----
-
-## 1.1 - Before installing
-
-### 1.1.1 - Devtools
-
-Before installing [`Rvision`](https://github.com/swarm-lab/Rvision), you will
-need to install the latest version of the [`devtools`](https://CRAN.R-project.org/package=devtools)
-package. You can install [`devtools`](https://CRAN.R-project.org/package=devtools)
-from [`CRAN`](https://cran.r-project.org) as follows:
-
-```{r, message=FALSE}
-if (!require(devtools))
- install.packages("devtools")
-```
-
-### 1.1.2 - ROpenCVLite
-
-You will also need to install the [`ROpenCVLite`](https://github.com/swarm-lab/ROpenCVLite)
-package from its [Github repository](https://github.com/swarm-lab/ROpenCVLite).
-Installation instructions for [`ROpenCVLite`](https://github.com/swarm-lab/ROpenCVLite)
-can be found at https://swarm-lab.github.io/ROpenCVLite/articles/install.html.
-
-This step may take some time as it will download, compile and install
-[`OpenCV`](https://opencv.org) for you. I suggest you go out for a cup of tea or
-coffee while [`ROpenCVLite`](https://github.com/swarm-lab/ROpenCVLite) is being
-installed (compilation time will depend on your computer).
-
-Note that you can skip this step and [`Rvision`](https://github.com/swarm-lab/Rvision)
-will attempt to install it in the next step. However it might fail if your
-system is missing one of the external dependencies required to compile
-[`OpenCV`](https://opencv.org).
-
----
-
-## 1.2 - Installing Rvision
-
-You can install [`Rvision`](https://github.com/swarm-lab/Rvision) as follows:
-
-```{r, message=FALSE}
-devtools::install_github("swarm-lab/Rvision")
-```
-
----
-
-## 1.3 - Loading Rvision
-
-```{r, message=FALSE}
-library(Rvision)
-```
diff --git a/vignettes/2_io.Rmd b/vignettes/2_io.Rmd
deleted file mode 100644
index 68c16622..00000000
--- a/vignettes/2_io.Rmd
+++ /dev/null
@@ -1,206 +0,0 @@
----
-title: "2 - Input/output operations"
-output: rmarkdown::html_vignette
-vignette: >
- %\VignetteIndexEntry{pkgdown}
- %\VignetteEngine{knitr::rmarkdown}
- %\VignetteEncoding{UTF-8}
----
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-library(Rvision)
-```
-
-__This page describes how to read and write videos and images with
-[`Rvision`](https://github.com/swarm-lab/Rvision).__
-
----
-
-+ [2.1 - Reading ](#reading)
- + [2.1.1 - Videos](#videos)
- + [2.1.2 - Camera streams](#camera-streams)
- + [2.1.3 - Images](#images)
- + [2.1.3.1 - From files](#from-files)
- + [2.1.3.2 - From videos](#from-videos)
- + [2.1.3.3 - From streams](#from-camera-streams)
-+ [2.2 - Writing](#writing)
- + [2.2.1 - Videos](#videos-1)
- + [2.2.2 - Images](#images-1)
-
----
-
-## 2.1 - Reading
-
-### 2.1.1 - Videos
-
-You can create a `Video` object from a video file as follows:
-
-```{r}
-path_to_video <- system.file("sample_vid", "Balloon.mp4", package = "Rvision")
-my_video <- video(filename = path_to_video)
-```
-
-`Video` objects can be released from memory as follows:
-
-```{r}
-release(my_video)
-```
-
-Note that `Video` objects are wrappers around [`OpenCV`](http://opencv.org/)
-[`VideoCapture`](https://docs.opencv.org/3.4.1/d8/dfe/classcv_1_1VideoCapture.html)
-objects. They will not persist between [`R`](https://cran.r-project.org) sessions.
-
-### 2.1.2 - Camera streams
-
-You can create a `Stream` object from a camera stream as follows:
-
-```{r}
-my_stream <- stream(index = 0)
-```
-
-The index argument takes an integer number corresponding to the position of the
-camera in the list of video capturing devices available on your computer. 0
-corresponds to the default camera, which is usually the embedded webcam on most
-computers. Note that the order of the list of video capturing devices might
-change after each computer restart.
-
-`Stream` objects can be released from memory as follows:
-
-```{r}
-release(my_stream)
-```
-
-Note that `Stream` objects are wrappers around [`OpenCV`](http://opencv.org/)
-[`VideoCapture`](https://docs.opencv.org/3.4.1/d8/dfe/classcv_1_1VideoCapture.html)
-objects. They will not persist between [`R`](https://cran.r-project.org) sessions.
-
-### 2.1.3 - Images
-
-There are three ways to create `Image` objects: from files, from `Video` objects,
-and from `Stream` objects.
-
-Note that `Image` objects are wrappers around [`OpenCV`](http://opencv.org/)
-[`Mat`](https://docs.opencv.org/3.4.1/d3/d63/classcv_1_1Mat.html) objects. They
-will not persist between [`R`](https://cran.r-project.org) sessions.
-
-#### 2.1.3.1 - From files
-
-You can create an `Image` object from an image file as follows:
-
-```{r}
-path_to_image <- system.file("sample_img", "bunny.png", package = "Rvision")
-my_image <- image(filename = path_to_image)
-```
-
-#### 2.1.3.2 - From videos
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-path_to_video <- system.file("sample_vid", "Balloon.mp4", package = "Rvision")
-my_video <- video(filename = path_to_video)
-```
-
-You can create an `Image` object from the next available frame of a `Video`
-object as follows:
-
-```{r}
-my_image <- readNext(my_video)
-```
-
-You can create an `Image` object from any arbitrary frame of a `Video` object as
-follows (here frame number 100):
-
-```{r}
-my_image <- readFrame(my_video, 100)
-```
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-release(my_video)
-```
-
-#### 2.1.3.3 - From camera streams
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-my_stream <- stream(index = 0)
-```
-
-You can create an `Image` object from the next available frame of a `Stream`
-object as follows:
-
-```{r}
-my_image <- readNext(my_stream)
-```
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-release(my_stream)
-```
-
----
-
-## 2.2 - Writing
-
-### 2.2.1 - Videos
-
-Videos can be written to the disk using a `VideoWriter` object.
-
-When creating a `VideoWriter` object, you need to specify the codec of the video,
-its framerate, its height and its width. For instance, we will here create a
-`VideoWriter` object that will save to a temporary [`mp4`](https://en.wikipedia.org/wiki/MPEG-4_Part_14)
-video file using the [`x264`](https://www.videolan.org/developers/x264.html)
-codec at 30fps.
-
-```{r}
-path_to_video <- paste0(tempfile(), ".mp4")
-my_writer <- videoWriter(path_to_video, fourcc = "x264", fps = 30, height = 720, width = 1280)
-```
-
-Once a `VideoWriter` object has been created, you can write individual frames to
-it. For instance, we will here capture 30 frames from the default webcam and write
-them to the video file.
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-my_stream <- stream(index = 0)
-```
-
-```{r}
-for (i in seq_len(30)) {
- writeFrame(my_writer, readNext(my_stream))
-}
-```
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-release(my_stream)
-```
-
-`VideoWriter` objects can be released from memory as follows:
-
-```{r}
-release(my_writer)
-```
-
-Note that `VideoWriter` objects are wrappers around [`OpenCV`](http://opencv.org/)
-[`VideoWriter`](https://docs.opencv.org/3.4.1/dd/d9e/classcv_1_1VideoWriter.html)
-objects. They will not persist between [`R`](https://cran.r-project.org) sessions.
-
-### 2.2.2 - Images
-
-Writing an image to a file is straightforward using the `write.Image` function.
-
-[`Rvision`](https://github.com/swarm-lab/Rvision) will guess the format of the
-image file from the file extension. For instance, we will here capture 1 frame
-from the default webcam and write it to a temporary png image file.
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-my_stream <- stream(index = 0)
-```
-
-```{r}
-path_to_image <- paste0(tempfile(), ".png")
-write.Image(readNext(my_stream), path_to_image)
-```
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-release(my_stream)
-```
-
-
-
diff --git a/vignettes/3_basic.Rmd b/vignettes/3_basic.Rmd
deleted file mode 100644
index 27ba8c4c..00000000
--- a/vignettes/3_basic.Rmd
+++ /dev/null
@@ -1,92 +0,0 @@
----
-title: "3 - Basic operations"
-output: rmarkdown::html_vignette
-vignette: >
- %\VignetteIndexEntry{pkgdown}
- %\VignetteEngine{knitr::rmarkdown}
- %\VignetteEncoding{UTF-8}
----
-
-```{r message=FALSE, warning=FALSE, include=FALSE}
-library(Rvision)
-```
-
-__This page describes all basic operations on videos and images.__
-
----
-
-+ [3.1 - Object properties ](#object-properties)
-+ [3.2 - Displaying images](#displaying-images)
- + [3.2.1 - Method compatible with base R](#method-compatible-with-base-R)
- + [3.2.2 - Method incompatible with base R](#method-incompatible-with-base-R)
-
----
-
-## 3.1 - Object properties
-
-| | `Video` | `Stream` | `Image` | `VideoWriter` |
-|:--- |:------- |:-------- |:------- |:------------- |
-| **Testing for** | `isVideo(x)` | `isStream(x)` | `isImage(x)` | `isVideoWriter(x)` |
-| **Dimensions** | [dim(x)](../reference/dim.Rcpp_Video.html)
| [dim(x)](../reference/dim.Rcpp_Stream.html)
| [dim(x)](../reference/dim.Rcpp_Image.html)
| - |
-| **Number of rows** | [nrow(x)](../reference/video_dimensions.html)
| [nrow(x)](../reference/stream_dimensions.html)
| [nrow(x)](../reference/nrow.Rcpp_Image.html)
| - |
-| **Number of columns** | [ncol(x)](../reference/video_dimensions.html)
| [ncol(x)](../reference/stream_dimensions.html)
| [ncol(x)](../reference/nrow.Rcpp_Image.html)
| - |
-| **Number of channels** | - | - | `nchan(x)` | - |
-| **Number of frames** | [nframes(x)](../reference/video_dimensions.html)
| - | - | - |
-| **Framerate** | `fps(x)` | - | - | - |
-| **Codec** | `codec(x)` | - | - | - |
-| **Bit depth** | - | - | `bitdepth(x)` | - |
-| **Color space** | - | - | `colorspace(x)` | - |
-
----
-
-## 3.2 - Displaying images
-
-There are two methods for displaying images. The first method offers full
-compatibility with base [`R`](https://cran.r-project.org) plotting methods, which
-allows for drawing non-destructively over an image using `graphics::lines()`,
-`garaphics::points()`, etc. This method is however is however rather slow and
-therefore not suitable for applications requiring quick refresh rates between
-successive images (e.g. when playing a video).
-
-The second method uses [`OpenCV`](http://opencv.org/)'s capabilities to display
-images at high frame rates, making it suitable to play videos for instance. It
-is however incompatible with base [`R`](https://cran.r-project.org) plotting
-functions. However you can use the [drawing functions](../drawing.html) provided
-with [`Rvision`](https://github.com/swarm-lab/Rvision) to draw over images
-- destructively this time - before displaying them.
-
-### 3.2.1 - Method compatible with base R
-
-```{r, message=FALSE}
-path_to_image <- system.file("sample_img", "bunny.png", package = "Rvision")
-my_image <- image(filename = path_to_image)
-plot(my_image)
-abline(h = 400, col = "red", lwd = 5)
-abline(h = 550, col = "red", lwd = 5)
-abline(v = 430, col = "red", lwd = 5)
-abline(v = 570, col = "red", lwd = 5)
-```
-
-### 3.2.2 - Method incompatible with base R
-
-```{r, message=FALSE}
-path_to_video <- system.file("sample_vid", "Balloon.mp4", package = "Rvision")
-my_video <- video(filename = path_to_video)
-
-# Create an empty display window (note: it can hide behind other windows)
-newDisplay("My display", nrow(my_video) / 2, ncol(my_video) / 2)
-
-# Display images (note: it creates the display window if it doesn't exist yet)
-# The 3rd argument ('delay') is the minimum time in ms during which the image
-# should be displayed before it can be replaced
-for (i in 1:25) {
- display(readNext(my_video), "My display", 25, nrow(my_video) / 2, ncol(my_video) / 2)
-}
-
-# Close display
-destroyDisplay("My display")
-
-# Close all opened displays
-destroyAllDisplays()
-```
-