Skip to content

OpenCVWrappers

uboot edited this page Jan 5, 2014 · 14 revisions

core

Operations on Arrays

  • abs
  • absdiff
  • add
  • addWeighted
  • bitwise_and
  • bitwise_not
  • bitwise_or
  • bitwise_xor
  • compare
  • convertScaleAbs
  • dct
  • dft
  • divide
  • exp
  • flip
  • idct
  • idft
  • inRange
  • log
  • lut: requires 256 parameter matrix
  • max
  • mean
  • meanStdDev
  • merge: for a fixed number of input arrays?
  • min
  • multiply
  • perspectiveTransform
  • pow
  • randu
  • randn
  • repeat
  • scaleAdd
  • sqrt
  • subtract
  • sum
  • transform

Drawing Functions

  • circle
  • ellipse
  • fillConvexPoly
  • fillPoly
  • line
  • rectangle
  • polylines: requires list of data as data type, or support only one line

imgproc

Image Filtering

  • bilateralFilter
  • blur
  • boxFilter
  • dilate
  • erode
  • filter2D
  • GaussianBlur
  • medianBlur
  • morphologyEx
  • Laplacian
  • pyrDown
  • pyrUp
  • sepFilter2D
  • Smooth
  • Sobel
  • Scharr

Geometric Image Transformations

  • remap
  • resize
  • warpAffine
  • warpPerspective
  • undistort
  • undistortPoints

Miscellaneous Image Transformations

  • adaptiveThreshold
  • cvtColor
  • distanceTransform
  • floodFill: only single channel, no support for loDiff and upDiff
  • integral
  • threshold
  • watershed

Histograms

  • calcHist: only one dimension, only uniform bins

Structural Analysis and Shape Descriptors

  • moments: only for contours or also for images? how to treat moment structure?
  • HuMoments: how to treat moment structure?
  • findContours: requires list of data as data type
  • drawContours: draw a list of contours (as returned by findContours) or a single contour (as used by the functions below)?
  • approxPolyDP
  • arcLength
  • boundingRect
  • contourArea
  • convexHull
  • fitEllipse
  • fitLine
  • minAreaRect: how to store a rotated rectangle?
  • minEnclosingCircle
  • matchShapes: only for contours or also for images?
  • pointPolygonTest: measure distance and/or simple check?

Feature Detection

  • Canny
  • cornerHarris
  • cornerMinEigenVal
  • cornerSubPix
  • goodFeaturesToTrack
  • HoughCircles
  • HoughLines
  • HoughLinesP
  • preCornerDetect

Object Detection

  • matchTemplate

Clone this wiki locally