OpenCV for Unity 2.6.3
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.Features2dModule.Features2d Class Reference

Static Public Member Functions

static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage, Scalar color, int flags)
 Draws keypoints.
 
static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage, Scalar color)
 Draws keypoints.
 
static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage)
 Draws keypoints.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor, MatOfByte matchesMask, int flags)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor, MatOfByte matchesMask)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, Scalar matchColor)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, Scalar matchColor, Scalar singlePointColor, MatOfByte matchesMask, int flags)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, Scalar matchColor, Scalar singlePointColor, MatOfByte matchesMask)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, Scalar matchColor, Scalar singlePointColor)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, Scalar matchColor)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor, List< MatOfByte > matchesMask, int flags)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor, List< MatOfByte > matchesMask)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, Scalar matchColor)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg)
 
static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage, in Vec4d color, int flags)
 Draws keypoints.
 
static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage, in Vec4d color)
 Draws keypoints.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in Vec4d matchColor, in Vec4d singlePointColor, MatOfByte matchesMask, int flags)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in Vec4d matchColor, in Vec4d singlePointColor, MatOfByte matchesMask)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in Vec4d matchColor, in Vec4d singlePointColor)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in Vec4d matchColor)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in Vec4d matchColor, in Vec4d singlePointColor, MatOfByte matchesMask, int flags)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in Vec4d matchColor, in Vec4d singlePointColor, MatOfByte matchesMask)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in Vec4d matchColor, in Vec4d singlePointColor)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in Vec4d matchColor)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in Vec4d matchColor, in Vec4d singlePointColor, List< MatOfByte > matchesMask, int flags)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in Vec4d matchColor, in Vec4d singlePointColor, List< MatOfByte > matchesMask)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in Vec4d matchColor, in Vec4d singlePointColor)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in Vec4d matchColor)
 
static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage, in(double v0, double v1, double v2, double v3) color, int flags)
 Draws keypoints.
 
static void drawKeypoints (Mat image, MatOfKeyPoint keypoints, Mat outImage, in(double v0, double v1, double v2, double v3) color)
 Draws keypoints.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor, MatOfByte matchesMask, int flags)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor, MatOfByte matchesMask)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor)
 Draws the found matches of keypoints from two images.
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor, MatOfByte matchesMask, int flags)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor, MatOfByte matchesMask)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor)
 
static void drawMatches (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, int matchesThickness, in(double v0, double v1, double v2, double v3) matchColor)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor, List< MatOfByte > matchesMask, int flags)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor, List< MatOfByte > matchesMask)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor, in(double v0, double v1, double v2, double v3) singlePointColor)
 
static void drawMatchesKnn (Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List< MatOfDMatch > matches1to2, Mat outImg, in(double v0, double v1, double v2, double v3) matchColor)
 

Static Public Attributes

const int DrawMatchesFlags_DEFAULT = 0
 
const int DrawMatchesFlags_DRAW_OVER_OUTIMG = 1
 
const int DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS = 2
 
const int DrawMatchesFlags_DRAW_RICH_KEYPOINTS = 4
 

Member Function Documentation

◆ drawKeypoints() [1/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawKeypoints() [2/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
in Vec4d color )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawKeypoints() [3/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
in Vec4d color,
int flags )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawKeypoints() [4/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
in(double v0, double v1, double v2, double v3) color )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawKeypoints() [5/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
in(double v0, double v1, double v2, double v3) color,
int flags )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawKeypoints() [6/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
Scalar color )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawKeypoints() [7/7]

static void OpenCVForUnity.Features2dModule.Features2d.drawKeypoints ( Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
Scalar color,
int flags )
static

Draws keypoints.

Parameters
imageSource image.
keypointsKeypoints from the source image.
outImageOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
colorColor of keypoints.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags. See details above in drawMatches .
Note
For Python API, flags are modified as cv.DRAW_MATCHES_FLAGS_DEFAULT, cv.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS

◆ drawMatches() [1/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [2/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in Vec4d matchColor )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [3/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in Vec4d matchColor,
in Vec4d singlePointColor )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [4/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in Vec4d matchColor,
in Vec4d singlePointColor,
MatOfByte matchesMask )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [5/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in Vec4d matchColor,
in Vec4d singlePointColor,
MatOfByte matchesMask,
int flags )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [6/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [7/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [8/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor,
MatOfByte matchesMask )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [9/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor,
MatOfByte matchesMask,
int flags )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [10/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [11/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in Vec4d matchColor )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [12/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in Vec4d matchColor,
in Vec4d singlePointColor )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [13/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in Vec4d matchColor,
in Vec4d singlePointColor,
MatOfByte matchesMask )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [14/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in Vec4d matchColor,
in Vec4d singlePointColor,
MatOfByte matchesMask,
int flags )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [15/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in(double v0, double v1, double v2, double v3) matchColor )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [16/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [17/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor,
MatOfByte matchesMask )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [18/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor,
MatOfByte matchesMask,
int flags )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [19/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
Scalar matchColor )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [20/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
Scalar matchColor,
Scalar singlePointColor )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [21/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
Scalar matchColor,
Scalar singlePointColor,
MatOfByte matchesMask )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [22/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
int matchesThickness,
Scalar matchColor,
Scalar singlePointColor,
MatOfByte matchesMask,
int flags )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ drawMatches() [23/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [24/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [25/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
MatOfByte matchesMask )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatches() [26/26]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatches ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
MatOfByte matchesMask,
int flags )
static

Draws the found matches of keypoints from two images.

Parameters
img1First source image.
keypoints1Keypoints from the first source image.
img2Second source image.
keypoints2Keypoints from the second source image.
matches1to2Matches from the first image to the second one, which means that keypoints1[i] has a corresponding point in keypoints2[matches[i]] .
outImgOutput image. Its content depends on the flags value defining what is drawn in the output image. See possible flags bit values below.
matchColorColor of matches (lines and connected keypoints). If matchColor==Scalar.all(-1) , the color is generated randomly.
singlePointColorColor of single keypoints (circles), which means that keypoints do not have the matches. If singlePointColor==Scalar.all(-1) , the color is generated randomly.
matchesMaskMask determining which matches are drawn. If the mask is empty, all matches are drawn.
flagsFlags setting drawing features. Possible flags bit values are defined by DrawMatchesFlags.

This function draws matches of keypoints from two images in the output image. Match is a line connecting two keypoints (circles). See cv::DrawMatchesFlags.

◆ drawMatchesKnn() [1/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg )
static

◆ drawMatchesKnn() [2/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in Vec4d matchColor )
static

◆ drawMatchesKnn() [3/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in Vec4d matchColor,
in Vec4d singlePointColor )
static

◆ drawMatchesKnn() [4/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in Vec4d matchColor,
in Vec4d singlePointColor,
List< MatOfByte > matchesMask )
static

◆ drawMatchesKnn() [5/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in Vec4d matchColor,
in Vec4d singlePointColor,
List< MatOfByte > matchesMask,
int flags )
static

◆ drawMatchesKnn() [6/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor )
static

◆ drawMatchesKnn() [7/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor )
static

◆ drawMatchesKnn() [8/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor,
List< MatOfByte > matchesMask )
static

◆ drawMatchesKnn() [9/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
in(double v0, double v1, double v2, double v3) matchColor,
in(double v0, double v1, double v2, double v3) singlePointColor,
List< MatOfByte > matchesMask,
int flags )
static

◆ drawMatchesKnn() [10/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
Scalar matchColor )
static

◆ drawMatchesKnn() [11/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor )
static

◆ drawMatchesKnn() [12/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
List< MatOfByte > matchesMask )
static

◆ drawMatchesKnn() [13/13]

static void OpenCVForUnity.Features2dModule.Features2d.drawMatchesKnn ( Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List< MatOfDMatch > matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
List< MatOfByte > matchesMask,
int flags )
static

Member Data Documentation

◆ DrawMatchesFlags_DEFAULT

const int OpenCVForUnity.Features2dModule.Features2d.DrawMatchesFlags_DEFAULT = 0
static

◆ DrawMatchesFlags_DRAW_OVER_OUTIMG

const int OpenCVForUnity.Features2dModule.Features2d.DrawMatchesFlags_DRAW_OVER_OUTIMG = 1
static

◆ DrawMatchesFlags_DRAW_RICH_KEYPOINTS

const int OpenCVForUnity.Features2dModule.Features2d.DrawMatchesFlags_DRAW_RICH_KEYPOINTS = 4
static

◆ DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS

const int OpenCVForUnity.Features2dModule.Features2d.DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS = 2
static

The documentation for this class was generated from the following files: