public class opencv_features2d extends opencv_features2d
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT
enum struct cv::DrawMatchesFlags
|
static int |
DRAW_OVER_OUTIMG
enum struct cv::DrawMatchesFlags
|
static int |
DRAW_RICH_KEYPOINTS
enum struct cv::DrawMatchesFlags
|
static int |
NOT_DRAW_SINGLE_POINTS
enum struct cv::DrawMatchesFlags
|
Constructor and Description |
---|
opencv_features2d() |
Modifier and Type | Method and Description |
---|---|
static void |
AGAST(GpuMat image,
KeyPointVector keypoints,
int threshold) |
static void |
AGAST(GpuMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression) |
static void |
AGAST(GpuMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression,
int type) |
static void |
AGAST(Mat image,
KeyPointVector keypoints,
int threshold) |
static void |
AGAST(Mat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression)
\overload
|
static void |
AGAST(Mat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression,
int type)
\brief Detects corners using the AGAST algorithm
|
static void |
AGAST(UMat image,
KeyPointVector keypoints,
int threshold) |
static void |
AGAST(UMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression) |
static void |
AGAST(UMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression,
int type) |
static int |
and(int a,
int b) |
static int[] |
andPut(int[] _this,
int val) |
static IntBuffer |
andPut(IntBuffer _this,
int val) |
static IntPointer |
andPut(IntPointer _this,
int val) |
static void |
computeRecallPrecisionCurve(DMatchVectorVector matches1to2,
ByteVectorVector correctMatches1to2Mask,
Point2fVector recallPrecisionCurve) |
static void |
drawKeypoints(GpuMat image,
KeyPointVector keypoints,
GpuMat outImage) |
static void |
drawKeypoints(GpuMat image,
KeyPointVector keypoints,
GpuMat outImage,
Scalar color,
int flags) |
static void |
drawKeypoints(Mat image,
KeyPointVector keypoints,
Mat outImage) |
static void |
drawKeypoints(Mat image,
KeyPointVector keypoints,
Mat outImage,
Scalar color,
int flags)
\brief Draws keypoints.
|
static void |
drawKeypoints(UMat image,
KeyPointVector keypoints,
UMat outImage) |
static void |
drawKeypoints(UMat image,
KeyPointVector keypoints,
UMat outImage,
Scalar color,
int flags) |
static void |
drawMatches(GpuMat img1,
KeyPointVector keypoints1,
GpuMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
GpuMat outImg) |
static void |
drawMatches(GpuMat img1,
KeyPointVector keypoints1,
GpuMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
GpuMat outImg,
Scalar matchColor,
Scalar singlePointColor,
byte[] matchesMask,
int flags) |
static void |
drawMatches(GpuMat img1,
KeyPointVector keypoints1,
GpuMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
GpuMat outImg,
Scalar matchColor,
Scalar singlePointColor,
ByteBuffer matchesMask,
int flags) |
static void |
drawMatches(GpuMat img1,
KeyPointVector keypoints1,
GpuMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
GpuMat outImg,
Scalar matchColor,
Scalar singlePointColor,
BytePointer matchesMask,
int flags) |
static void |
drawMatches(Mat img1,
KeyPointVector keypoints1,
Mat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
Mat outImg) |
static void |
drawMatches(Mat img1,
KeyPointVector keypoints1,
Mat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
byte[] matchesMask,
int flags) |
static void |
drawMatches(Mat img1,
KeyPointVector keypoints1,
Mat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
ByteBuffer matchesMask,
int flags) |
static void |
drawMatches(Mat img1,
KeyPointVector keypoints1,
Mat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
BytePointer matchesMask,
int flags)
\brief Draws the found matches of keypoints from two images.
|
static void |
drawMatches(UMat img1,
KeyPointVector keypoints1,
UMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
UMat outImg) |
static void |
drawMatches(UMat img1,
KeyPointVector keypoints1,
UMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
UMat outImg,
Scalar matchColor,
Scalar singlePointColor,
byte[] matchesMask,
int flags) |
static void |
drawMatches(UMat img1,
KeyPointVector keypoints1,
UMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
UMat outImg,
Scalar matchColor,
Scalar singlePointColor,
ByteBuffer matchesMask,
int flags) |
static void |
drawMatches(UMat img1,
KeyPointVector keypoints1,
UMat img2,
KeyPointVector keypoints2,
DMatchVector matches1to2,
UMat outImg,
Scalar matchColor,
Scalar singlePointColor,
BytePointer matchesMask,
int flags) |
static void |
drawMatchesKnn(GpuMat img1,
KeyPointVector keypoints1,
GpuMat img2,
KeyPointVector keypoints2,
DMatchVectorVector matches1to2,
GpuMat outImg) |
static void |
drawMatchesKnn(GpuMat img1,
KeyPointVector keypoints1,
GpuMat img2,
KeyPointVector keypoints2,
DMatchVectorVector matches1to2,
GpuMat outImg,
Scalar matchColor,
Scalar singlePointColor,
ByteVectorVector matchesMask,
int flags) |
static void |
drawMatchesKnn(Mat img1,
KeyPointVector keypoints1,
Mat img2,
KeyPointVector keypoints2,
DMatchVectorVector matches1to2,
Mat outImg) |
static void |
drawMatchesKnn(Mat img1,
KeyPointVector keypoints1,
Mat img2,
KeyPointVector keypoints2,
DMatchVectorVector matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
ByteVectorVector matchesMask,
int flags)
\overload
|
static void |
drawMatchesKnn(UMat img1,
KeyPointVector keypoints1,
UMat img2,
KeyPointVector keypoints2,
DMatchVectorVector matches1to2,
UMat outImg) |
static void |
drawMatchesKnn(UMat img1,
KeyPointVector keypoints1,
UMat img2,
KeyPointVector keypoints2,
DMatchVectorVector matches1to2,
UMat outImg,
Scalar matchColor,
Scalar singlePointColor,
ByteVectorVector matchesMask,
int flags) |
static boolean |
equals(int a,
int b) |
static void |
evaluateFeatureDetector(Mat img1,
Mat img2,
Mat H1to2,
KeyPointVector keypoints1,
KeyPointVector keypoints2,
float[] repeatability,
int[] correspCount) |
static void |
evaluateFeatureDetector(Mat img1,
Mat img2,
Mat H1to2,
KeyPointVector keypoints1,
KeyPointVector keypoints2,
float[] repeatability,
int[] correspCount,
Feature2D fdetector) |
static void |
evaluateFeatureDetector(Mat img1,
Mat img2,
Mat H1to2,
KeyPointVector keypoints1,
KeyPointVector keypoints2,
FloatBuffer repeatability,
IntBuffer correspCount) |
static void |
evaluateFeatureDetector(Mat img1,
Mat img2,
Mat H1to2,
KeyPointVector keypoints1,
KeyPointVector keypoints2,
FloatBuffer repeatability,
IntBuffer correspCount,
Feature2D fdetector) |
static void |
evaluateFeatureDetector(Mat img1,
Mat img2,
Mat H1to2,
KeyPointVector keypoints1,
KeyPointVector keypoints2,
FloatPointer repeatability,
IntPointer correspCount) |
static void |
evaluateFeatureDetector(Mat img1,
Mat img2,
Mat H1to2,
KeyPointVector keypoints1,
KeyPointVector keypoints2,
FloatPointer repeatability,
IntPointer correspCount,
Feature2D fdetector)
\} features2d_draw
|
static void |
FAST(GpuMat image,
KeyPointVector keypoints,
int threshold) |
static void |
FAST(GpuMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression) |
static void |
FAST(GpuMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression,
int type) |
static void |
FAST(Mat image,
KeyPointVector keypoints,
int threshold) |
static void |
FAST(Mat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression)
\overload
|
static void |
FAST(Mat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression,
int type)
\brief Detects corners using the FAST algorithm
|
static void |
FAST(UMat image,
KeyPointVector keypoints,
int threshold) |
static void |
FAST(UMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression) |
static void |
FAST(UMat image,
KeyPointVector keypoints,
int threshold,
boolean nonmaxSuppression,
int type) |
static int |
getNearestPoint(Point2fVector recallPrecisionCurve,
float l_precision) |
static float |
getRecall(Point2fVector recallPrecisionCurve,
float l_precision) |
static boolean |
not(int val) |
static boolean |
notEquals(int a,
int b) |
static int |
or(int a,
int b) |
static int[] |
orPut(int[] _this,
int val) |
static IntBuffer |
orPut(IntBuffer _this,
int val) |
static IntPointer |
orPut(IntPointer _this,
int val) |
static int |
xor(int a,
int b) |
static int[] |
xorPut(int[] _this,
int val) |
static IntBuffer |
xorPut(IntBuffer _this,
int val) |
static IntPointer |
xorPut(IntPointer _this,
int val) |
map
public static final int DEFAULT
public static final int DRAW_OVER_OUTIMG
public static final int NOT_DRAW_SINGLE_POINTS
public static final int DRAW_RICH_KEYPOINTS
@Namespace(value="cv") public static void FAST(@ByVal Mat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression)
@Namespace(value="cv") public static void FAST(@ByVal Mat image, @ByRef KeyPointVector keypoints, int threshold)
@Namespace(value="cv") public static void FAST(@ByVal UMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression)
@Namespace(value="cv") public static void FAST(@ByVal UMat image, @ByRef KeyPointVector keypoints, int threshold)
@Namespace(value="cv") public static void FAST(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression)
@Namespace(value="cv") public static void FAST(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, int threshold)
@Namespace(value="cv") public static void FAST(@ByVal Mat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression, @Cast(value="cv::FastFeatureDetector::DetectorType") int type)
image
- grayscale image where keypoints (corners) are detected.keypoints
- keypoints detected on the image.threshold
- threshold on difference between intensity of the central pixel and pixels of a
circle around this pixel.nonmaxSuppression
- if true, non-maximum suppression is applied to detected corners
(keypoints).type
- one of the three neighborhoods as defined in the paper:
FastFeatureDetector::TYPE_9_16, FastFeatureDetector::TYPE_7_12,
FastFeatureDetector::TYPE_5_8
Detects corners using the FAST algorithm by \cite Rosten06 .
\note In Python API, types are given as cv.FAST_FEATURE_DETECTOR_TYPE_5_8, cv.FAST_FEATURE_DETECTOR_TYPE_7_12 and cv.FAST_FEATURE_DETECTOR_TYPE_9_16. For corner detection, use cv.FAST.detect() method.
@Namespace(value="cv") public static void FAST(@ByVal UMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression, @Cast(value="cv::FastFeatureDetector::DetectorType") int type)
@Namespace(value="cv") public static void FAST(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression, @Cast(value="cv::FastFeatureDetector::DetectorType") int type)
@Namespace(value="cv") public static void AGAST(@ByVal Mat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression)
@Namespace(value="cv") public static void AGAST(@ByVal Mat image, @ByRef KeyPointVector keypoints, int threshold)
@Namespace(value="cv") public static void AGAST(@ByVal UMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression)
@Namespace(value="cv") public static void AGAST(@ByVal UMat image, @ByRef KeyPointVector keypoints, int threshold)
@Namespace(value="cv") public static void AGAST(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression)
@Namespace(value="cv") public static void AGAST(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, int threshold)
@Namespace(value="cv") public static void AGAST(@ByVal Mat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression, @Cast(value="cv::AgastFeatureDetector::DetectorType") int type)
image
- grayscale image where keypoints (corners) are detected.keypoints
- keypoints detected on the image.threshold
- threshold on difference between intensity of the central pixel and pixels of a
circle around this pixel.nonmaxSuppression
- if true, non-maximum suppression is applied to detected corners
(keypoints).type
- one of the four neighborhoods as defined in the paper:
AgastFeatureDetector::AGAST_5_8, AgastFeatureDetector::AGAST_7_12d,
AgastFeatureDetector::AGAST_7_12s, AgastFeatureDetector::OAST_9_16
For non-Intel platforms, there is a tree optimised variant of AGAST with same numerical results. The 32-bit binary tree tables were generated automatically from original code using perl script. The perl script and examples of tree generation are placed in features2d/doc folder. Detects corners using the AGAST algorithm by \cite mair2010_agast .
@Namespace(value="cv") public static void AGAST(@ByVal UMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression, @Cast(value="cv::AgastFeatureDetector::DetectorType") int type)
@Namespace(value="cv") public static void AGAST(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, int threshold, @Cast(value="bool") boolean nonmaxSuppression, @Cast(value="cv::AgastFeatureDetector::DetectorType") int type)
@Namespace(value="cv") @Cast(value="bool") @Name(value="operator !") public static boolean not(@Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Cast(value="const cv::DrawMatchesFlags") int a, int b)
@Namespace(value="cv") @Cast(value="bool") @Name(value="operator !=") public static boolean notEquals(@Cast(value="const cv::DrawMatchesFlags") int a, int b)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags") @Name(value="operator |") public static int or(@Cast(value="const cv::DrawMatchesFlags") int a, @Cast(value="const cv::DrawMatchesFlags") int b)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags") @Name(value="operator &") public static int and(@Cast(value="const cv::DrawMatchesFlags") int a, @Cast(value="const cv::DrawMatchesFlags") int b)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags") @Name(value="operator ^") public static int xor(@Cast(value="const cv::DrawMatchesFlags") int a, @Cast(value="const cv::DrawMatchesFlags") int b)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator |=") public static IntPointer orPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef IntPointer _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator |=") public static IntBuffer orPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef IntBuffer _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator |=") public static int[] orPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef int[] _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator &=") public static IntPointer andPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef IntPointer _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator &=") public static IntBuffer andPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef IntBuffer _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator &=") public static int[] andPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef int[] _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator ^=") public static IntPointer xorPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef IntPointer _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator ^=") public static IntBuffer xorPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef IntBuffer _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") @Cast(value="cv::DrawMatchesFlags*") @ByRef @Name(value="operator ^=") public static int[] xorPut(@Cast(value="cv::DrawMatchesFlags*") @ByRef int[] _this, @Cast(value="const cv::DrawMatchesFlags") int val)
@Namespace(value="cv") public static void drawKeypoints(@ByVal Mat image, @Const @ByRef KeyPointVector keypoints, @ByVal Mat outImage, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar color, @Cast(value="cv::DrawMatchesFlags") int flags)
image
- Source image.keypoints
- Keypoints from the source image.outImage
- Output image. Its content depends on the flags value defining what is drawn in the
output image. See possible flags bit values below.color
- Color of keypoints.flags
- Flags 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
@Namespace(value="cv") public static void drawKeypoints(@ByVal Mat image, @Const @ByRef KeyPointVector keypoints, @ByVal Mat outImage)
@Namespace(value="cv") public static void drawKeypoints(@ByVal UMat image, @Const @ByRef KeyPointVector keypoints, @ByVal UMat outImage, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar color, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawKeypoints(@ByVal UMat image, @Const @ByRef KeyPointVector keypoints, @ByVal UMat outImage)
@Namespace(value="cv") public static void drawKeypoints(@ByVal GpuMat image, @Const @ByRef KeyPointVector keypoints, @ByVal GpuMat outImage, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar color, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawKeypoints(@ByVal GpuMat image, @Const @ByRef KeyPointVector keypoints, @ByVal GpuMat outImage)
@Namespace(value="cv") public static void drawMatches(@ByVal Mat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal Mat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal Mat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector BytePointer matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
img1
- First source image.keypoints1
- Keypoints from the first source image.img2
- Second source image.keypoints2
- Keypoints from the second source image.matches1to2
- Matches from the first image to the second one, which means that keypoints1[i]
has a corresponding point in keypoints2[matches[i]] .outImg
- Output image. Its content depends on the flags value defining what is drawn in the
output image. See possible flags bit values below.matchColor
- Color of matches (lines and connected keypoints). If matchColor==Scalar::all(-1)
, the color is generated randomly.singlePointColor
- Color of single keypoints (circles), which means that keypoints do not
have the matches. If singlePointColor==Scalar::all(-1) , the color is generated randomly.matchesMask
- Mask determining which matches are drawn. If the mask is empty, all matches are
drawn.flags
- Flags 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.
@Namespace(value="cv") public static void drawMatches(@ByVal Mat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal Mat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal Mat outImg)
@Namespace(value="cv") public static void drawMatches(@ByVal Mat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal Mat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal Mat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector ByteBuffer matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal Mat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal Mat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal Mat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector byte[] matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal UMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal UMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal UMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector BytePointer matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal UMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal UMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal UMat outImg)
@Namespace(value="cv") public static void drawMatches(@ByVal UMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal UMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal UMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector ByteBuffer matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal UMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal UMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal UMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector byte[] matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal GpuMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal GpuMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal GpuMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector BytePointer matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal GpuMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal GpuMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal GpuMat outImg)
@Namespace(value="cv") public static void drawMatches(@ByVal GpuMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal GpuMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal GpuMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector ByteBuffer matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") public static void drawMatches(@ByVal GpuMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal GpuMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVector matches1to2, @ByVal GpuMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="char*") @StdVector byte[] matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") @Name(value="drawMatches") public static void drawMatchesKnn(@ByVal Mat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal Mat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVectorVector matches1to2, @ByVal Mat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="const std::vector<std::vector<char> >*") @ByRef(nullValue="std::vector<std::vector<char> >()") ByteVectorVector matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") @Name(value="drawMatches") public static void drawMatchesKnn(@ByVal Mat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal Mat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVectorVector matches1to2, @ByVal Mat outImg)
@Namespace(value="cv") @Name(value="drawMatches") public static void drawMatchesKnn(@ByVal UMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal UMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVectorVector matches1to2, @ByVal UMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="const std::vector<std::vector<char> >*") @ByRef(nullValue="std::vector<std::vector<char> >()") ByteVectorVector matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") @Name(value="drawMatches") public static void drawMatchesKnn(@ByVal UMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal UMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVectorVector matches1to2, @ByVal UMat outImg)
@Namespace(value="cv") @Name(value="drawMatches") public static void drawMatchesKnn(@ByVal GpuMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal GpuMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVectorVector matches1to2, @ByVal GpuMat outImg, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar matchColor, @Const @ByRef(nullValue="cv::Scalar::all(-1)") Scalar singlePointColor, @Cast(value="const std::vector<std::vector<char> >*") @ByRef(nullValue="std::vector<std::vector<char> >()") ByteVectorVector matchesMask, @Cast(value="cv::DrawMatchesFlags") int flags)
@Namespace(value="cv") @Name(value="drawMatches") public static void drawMatchesKnn(@ByVal GpuMat img1, @Const @ByRef KeyPointVector keypoints1, @ByVal GpuMat img2, @Const @ByRef KeyPointVector keypoints2, @Const @ByRef DMatchVectorVector matches1to2, @ByVal GpuMat outImg)
@Namespace(value="cv") public static void evaluateFeatureDetector(@Const @ByRef Mat img1, @Const @ByRef Mat img2, @Const @ByRef Mat H1to2, KeyPointVector keypoints1, KeyPointVector keypoints2, @ByRef FloatPointer repeatability, @ByRef IntPointer correspCount, @Cast(value="cv::FeatureDetector*") @opencv_core.Ptr Feature2D fdetector)
/****************************************************************************************\ Functions to evaluate the feature detectors and [generic] descriptor extractors * \
@Namespace(value="cv") public static void evaluateFeatureDetector(@Const @ByRef Mat img1, @Const @ByRef Mat img2, @Const @ByRef Mat H1to2, KeyPointVector keypoints1, KeyPointVector keypoints2, @ByRef FloatPointer repeatability, @ByRef IntPointer correspCount)
@Namespace(value="cv") public static void evaluateFeatureDetector(@Const @ByRef Mat img1, @Const @ByRef Mat img2, @Const @ByRef Mat H1to2, KeyPointVector keypoints1, KeyPointVector keypoints2, @ByRef FloatBuffer repeatability, @ByRef IntBuffer correspCount, @Cast(value="cv::FeatureDetector*") @opencv_core.Ptr Feature2D fdetector)
@Namespace(value="cv") public static void evaluateFeatureDetector(@Const @ByRef Mat img1, @Const @ByRef Mat img2, @Const @ByRef Mat H1to2, KeyPointVector keypoints1, KeyPointVector keypoints2, @ByRef FloatBuffer repeatability, @ByRef IntBuffer correspCount)
@Namespace(value="cv") public static void evaluateFeatureDetector(@Const @ByRef Mat img1, @Const @ByRef Mat img2, @Const @ByRef Mat H1to2, KeyPointVector keypoints1, KeyPointVector keypoints2, @ByRef float[] repeatability, @ByRef int[] correspCount, @Cast(value="cv::FeatureDetector*") @opencv_core.Ptr Feature2D fdetector)
@Namespace(value="cv") public static void evaluateFeatureDetector(@Const @ByRef Mat img1, @Const @ByRef Mat img2, @Const @ByRef Mat H1to2, KeyPointVector keypoints1, KeyPointVector keypoints2, @ByRef float[] repeatability, @ByRef int[] correspCount)
@Namespace(value="cv") public static void computeRecallPrecisionCurve(@Const @ByRef DMatchVectorVector matches1to2, @Cast(value="const std::vector<std::vector<uchar> >*") @ByRef ByteVectorVector correctMatches1to2Mask, @ByRef Point2fVector recallPrecisionCurve)
@Namespace(value="cv") public static float getRecall(@Const @ByRef Point2fVector recallPrecisionCurve, float l_precision)
@Namespace(value="cv") public static int getNearestPoint(@Const @ByRef Point2fVector recallPrecisionCurve, float l_precision)
Copyright © 2020. All rights reserved.