Skip to contents

All functions

CLAHE()
Contrast Limited Adaptive Histogram Equalization
image()
An S4 Class Containing an OpenCV Image
LUT()
Look-up Table Transform
ORBkeypoints()
Keypoint Detection with ORB
queue()
An S4 Class Containing a Queue of Images
Rvision-package Rvision
Rvision: Computer vision library for R
RvisionAck
Image and video samples
stream()
An S4 Class Containing an OpenCV Stream
video()
An S4 Class Containing an OpenCV Video
VideoStack-class VideoStack
An S4 Class Containing a Video Stack
videoWriter()
An S4 Class Containing an OpenCV Video Writer
adaptiveThreshold()
Adaptive Thresholding
addWeighted()
Weighted Sum of Two Images
anisotropicDiffusion()
Anisotropic Diffusion
api()
API of a Video Writer
approxPolyDP()
Calculate a Contour Perimeter or a Curve Length
arcLength()
Calculate a Contour Perimeter or a Curve Length
as.array(<Rcpp_Image>)
Convert Image to Array or Matrix
autothreshold()
Automated Thresholding
bilateralFilter()
Edge-Preserving Noise Reduction with a Bilateral Filter
bitdepth()
The Bit Depth of an Image
blur()
Blurs an Image Using a Normalized Box Filter
border()
Add Border to Image
boxFilter()
Blurs an Image Using a Box Filter
boxPoints()
Find Vertices of a Rotated Rectangle
calibrateCamera()
Find a Camera's Intrinsic and Extrinsic Parameters
canny()
Canny Edge Detector
capacity()
Capacity of a Queue
cartToPolar()
Convert Cartesian Coordinates to Polar
cc_table
Table of Color Space Conversions
changeBitDepth()
Convert Image to New Bit Depth
changeColorSpace()
Convert Image to New Color Space
click()
Detect Mouse Click on Image Display
cloneImage()
Make a copy of an Image object
codec()
Codec of a Video
col2bgr()
Color to BGR Conversion
colorspace()
The Color Space of an Image
compare()
Comparison between Images
computeECC()
Enhanced Correlation Coefficient Value
concatenate()
Concatenate Images
connectedComponents()
Find Connected Components in a binary Image
contourArea()
Area of a Contour
convexHull()
Compute the Convex Hull of a Set of Points
convexityDefects()
Find the Convexity Defects of a Polygon
cornerSubPix()
Refine Corner Locations
countNonZero()
Count Non-Zero Pixels
destroyDisplay() destroyAllDisplays()
Destroy Image Display
dim(<Rcpp_Image>)
Dimensions of an Image
dim(<Rcpp_Queue>)
Dimensions of a Queue
dim(<Rcpp_Stream>)
Dimensions of a Stream
dim(<Rcpp_Video>)
Dimensions of a Video
dim(<Rcpp_VideoWriter>)
Dimensions of a Video Writer
dim(<VideoStack>)
Dimensions of a VideoStack
display()
Display Image Object
distanceTransform()
Distance Transform
drawArrow()
Draw Arrows on an Image
drawCircle()
Draw Circles on an Image
drawEllipse()
Draw Ellipses on an Image
drawLine()
Draw Lines on an Image
drawPolyline()
Draw Polygonal Lines on an Image
drawRectangle()
Draw Rectangles on an Image
drawRotatedRectangle()
Draw Rotated Rectangles on an Image
drawText()
Draw Text on an Image
edgePreservingFilter()
Edge Preserving Filter
exp()
Exponential Generic for Image objects
extractChannel()
Extract Single Channel from Image
farneback()
Optical Flow Using Farneback's Algorithm
fillConvexPoly()
Fill Convex Polygon with Color in Image
fillPoly()
Fill Polygon with Color in Image
filter2D()
Image Convolution with Kernel
findChessboardCorners()
Find Calibration Chessboard in Image
findContours()
Find Contours in a Binary Image
findHomography()
Perspective Transformation Between Two Planes
findNonZero()
Find Non-Zero Pixels in an Image
findTransformECC()
Enhanced Correlation Coefficient-based Geometric Transform
findTransformORB()
ORB-based Geometric Transform
fitEllipse()
Fit an Ellipse Around a Set of 2D Points
flip()
Flip an Image
floodFill()
Fills a Connected Component with a Given Color.
fourcc()
Codec Name to FOURCC Code
fps()
Frame Rate of a Video
frame() `frame<-`()
Reader Head Position
full() empty()
Test for a Full/Empty Queue Object
gaussianBlur()
Blurs an Image Using a Gaussian Filter
getAffineTransform()
Affine Transform
getGaborKernel()
Gabor Filter Kernels
getOptimalNewCameraMatrix()
Camera Matrix Correction Using the Free Scaling Parameter
getPerspectiveTransform()
Perspective Transform
getStructuringElement()
Structuring Elements
getTextSize()
Calculate the Height and Width of a Text String
goodFeaturesToTrack()
Good Features to Track
grabCut()
Segmentation with GrabCut Algorithm
histEq()
Histogram Equalization
histmatch()
Histogram Matching/Specification
houghCircles()
Hough Circle Detector
houghLinesP()
Probabilistic Hough Line Detector
huInvariants()
Calculate Seven Hu Moments Invariants
add() subtract() multiply() divide() absdiff()
Arithmetic Functions for Images
bitAnd() bitOr() bitNot()
Logical Functions for Images
bitMin() bitMax()
Element-Wise Minimums and Maximums
imhist()
Multichannel Histogram of an Image
improfile()
Pixel Values Along a Line Segment
`%i+%` `%i-%` `%i*%` `%i/%` `%i^%`
In Place Arithmetic Operators for Images
`%i>%` `%i<%` `%i>=%` `%i<=%` `%i==%` `%i!=%`
In Place Comparison Operators for Images
`%i&%` `%i|%` not()
In Place Logical Operators for Images
inRange()
Range Thresholding
initUndistortRectifyMap()
Compute an Undistortion and Rectification Transformation Map
inpaint()
Reconstruct Image Region from Region Neighborhood
insertChannel()
Insert Single Channel into Image
invert()
Invert Colors
invertFourcc()
FOURCC Code to Codec Name
isBlob()
Test for a Blob Object
isImage()
Test for an Image Object
isQueue()
Test for a Queue object
isStream()
Test for a Stream Object
isVideo()
Test for a Video Object
isVideoStack()
Test for a VideoStack Object
isVideoWriter()
Test for a VideoWriter Object
laplacian()
Calculates the Laplacian of an Image
log()
Logarithm Generic for Image objects
matchKeypoints()
Match Keypoints
matchShapes()
Compare Two Shapes
matchTemplate()
Template Matching
mean(<Rcpp_Image>)
Mean Value of the Pixels in an Image
mean(<list>)
Mean of Images in a List
medianBlur()
Blurs an Image Using a Median Filter
merge()
Merge Separate Channels into an Image
min(<Rcpp_Image>) max(<Rcpp_Image>) range(<Rcpp_Image>)
Maxima and Minima of an Image
minAreaRect()
Fit a Rectangle Around a Set of 2D Points
minMaxLoc()
Coordinates of the Maxima and Minima of an Image
moments()
Calculate the Moments of a Shape
morph()
Morphological Operations
newDisplay()
Open New Image Display
niBlackThreshold()
Niblack Thresholding
nrow.Rcpp_Image() ncol.Rcpp_Image() nchan()
The Number of Rows/Columns/Channels of an Image
ones()
Create a One-Filled Image
pget()
Return Pixel Value at Specified Locations
pixelsInContour()
Which Pixels are Inside a Contour
plot(<Rcpp_Image>)
Plot Rvision Images
plot(<blob>)
Plot Blobs
plotOF()
Plot Optical Flow Arrays
polarToCart()
Convert Polar Coordinates to Cartesian
pow()
Power Function
pset()
Set Pixel Value at Specified Locations
pyrDown()
Pyramid Downsampling
pyrUp()
Pyramid Upsampling
nrow.Rcpp_Queue() ncol.Rcpp_Queue() length(<Rcpp_Queue>)
The Number of Rows/Columns and Length of a Queue
randn()
Random Normal Image
randu()
Random Uniform Image
readFrame()
Read Specific Video Frame
readHIS()
Read HIS Image from Varex Imaging X-ray Panels
readMulti()
Read a Multi-Page Image
readNext()
Read Next Frame of an Object
reduce()
Reduces a 2D Image to a 1D Image
release()
Release Object from Memory
remap()
Geometrical Transformation to an Image
reset()
Reset a Queue
resize()
Resize an Image
rotate()
Image Rotation In 90-Degree Increments
rotateScale()
Image Rotation and Scaling
scharr()
Calculates an Image Derivatives Using a Scharr Operator
selectROI()
Select a Region of Interest in an Image
sepFilter2D()
Image Filtering with a Separable Linear Filter
setProp() getProp()
Set/Get Video Properties
setTo()
Set All or Some of an Image to the Specified Value
simpleBlobDetector()
Simple Blob Detector
sobel()
Calculates an Image Derivatives Using an Extended Sobel Operator
spatialGradient()
First Order Derivatives of an Image with the Sobel Operator
split()
Split an Image into Separate Channels
sqrBoxFilter()
Blurs an Image Using a Square Box Filter
sqrt()
Square Root Generic for Image objects
nrow.Rcpp_Stream() ncol.Rcpp_Stream()
The Number of Rows/Columns of a Stream
`[`(<Rcpp_Image>) `[<-`(<Rcpp_Image>)
Extract or Replace Parts of an Image
`[[`(<VideoStack>) `[[<-`(<VideoStack>) `[`(<VideoStack>) `[<-`(<VideoStack>)
Extract or Replace Videos in Video Stacks
subImage()
Extract Subimage
sum()
Sum Generic for Image objects
thinning()
Thinning
threshold()
Thresholding
tile()
Repeat Image
timelapse()
Make Timelapse from Stream Object
undistort()
Transform an Image to Compensate for Lens Distortion
undistortPoints()
Transform Coordinates to Compensate for Lens Distortion
videoStack()
Create an Object of Class VideoStack
nrow.Rcpp_Video() ncol.Rcpp_Video() nframes()
The Number of Rows/Columns/Frames of a Video
nrow.VideoStack() nframes(<VideoStack>)
The Number of Rows/Columns/Frames of a VideoStack
nrow.Rcpp_VideoWriter() ncol.Rcpp_VideoWriter()
The Number of Rows/Columns of a Video Writer
warpAffine()
Affine Transformation
warpPerspective()
Perspective Transformation
watershed()
Image Segmentation Using the Watershed Algorithm
write.Image()
Image Output
writeFrame()
Write Frame to Output Video
writeMulti()
Write a Multi-Page Image
writerOuput()
Output File of a Video Writer
zeros()
Create a Zero-Filled Image