public class opencv_features2d extends opencv_features2d
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_features2d.Accumulator
\} features2d_main
|
static class |
opencv_features2d.AgastFeatureDetector
\} features2d_main
|
static class |
opencv_features2d.AKAZE
\brief Class implementing the AKAZE keypoint detector and descriptor extractor, described in \cite ANB13.
|
static class |
opencv_features2d.BFMatcher
\brief Brute-force descriptor matcher.
|
static class |
opencv_features2d.BOWImgDescriptorExtractor
\brief Class to compute an image descriptor using the *bag of visual words*.
|
static class |
opencv_features2d.BOWKMeansTrainer
\brief kmeans -based class to train visual vocabulary using the *bag of visual words* approach.
|
static class |
opencv_features2d.BOWTrainer
\addtogroup features2d_category
/** \{
|
static class |
opencv_features2d.BRISK
\addtogroup features2d_main
\{
|
static class |
opencv_features2d.DescriptorMatcher
\addtogroup features2d_match
/** \{
|
static class |
opencv_features2d.DrawMatchesFlags
\addtogroup features2d_draw
/** \{
|
static class |
opencv_features2d.FastFeatureDetector
\} features2d_main
|
static class |
opencv_features2d.Feature2D
\brief Abstract base class for 2D image feature detectors and descriptor extractors
|
static class |
opencv_features2d.FlannBasedMatcher
\brief Flann-based descriptor matcher.
|
static class |
opencv_features2d.GFTTDetector
\brief Wrapping class for feature detection using the goodFeaturesToTrack function.
|
static class |
opencv_features2d.KAZE
\} features2d_main
|
static class |
opencv_features2d.KeyPointsFilter
\brief A class filters a vector of keypoints.
|
static class |
opencv_features2d.MSER
\brief Maximally stable extremal region extractor
|
static class |
opencv_features2d.ORB
\brief Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor
|
static class |
opencv_features2d.SimpleBlobDetector
\brief Class for extracting blobs from an image.
|
| Constructor and Description |
|---|
opencv_features2d() |
map@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.Mat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.Mat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.UMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.UMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.GpuMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.GpuMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.Mat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression,
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 cv2.FAST_FEATURE_DETECTOR_TYPE_5_8, cv2.FAST_FEATURE_DETECTOR_TYPE_7_12 and cv2.FAST_FEATURE_DETECTOR_TYPE_9_16. For corner detection, use cv2.FAST.detect() method.
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.UMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression,
int type)
@Namespace(value="cv")
public static void FAST(@ByVal
opencv_core.GpuMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression,
int type)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.Mat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.Mat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.UMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.UMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.GpuMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.GpuMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.Mat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression,
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
opencv_core.UMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression,
int type)
@Namespace(value="cv")
public static void AGAST(@ByVal
opencv_core.GpuMat image,
@ByRef
opencv_core.KeyPointVector keypoints,
int threshold,
@Cast(value="bool")
boolean nonmaxSuppression,
int type)
@Namespace(value="cv")
public static void drawKeypoints(@ByVal
opencv_core.Mat image,
@Const @ByRef
opencv_core.KeyPointVector keypoints,
@ByVal
opencv_core.Mat outImage,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar color,
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 cv2.DRAW_MATCHES_FLAGS_DEFAULT, cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS, cv2.DRAW_MATCHES_FLAGS_DRAW_OVER_OUTIMG, cv2.DRAW_MATCHES_FLAGS_NOT_DRAW_SINGLE_POINTS
@Namespace(value="cv")
public static void drawKeypoints(@ByVal
opencv_core.Mat image,
@Const @ByRef
opencv_core.KeyPointVector keypoints,
@ByVal
opencv_core.Mat outImage)
@Namespace(value="cv")
public static void drawKeypoints(@ByVal
opencv_core.UMat image,
@Const @ByRef
opencv_core.KeyPointVector keypoints,
@ByVal
opencv_core.UMat outImage,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar color,
int flags)
@Namespace(value="cv")
public static void drawKeypoints(@ByVal
opencv_core.UMat image,
@Const @ByRef
opencv_core.KeyPointVector keypoints,
@ByVal
opencv_core.UMat outImage)
@Namespace(value="cv")
public static void drawKeypoints(@ByVal
opencv_core.GpuMat image,
@Const @ByRef
opencv_core.KeyPointVector keypoints,
@ByVal
opencv_core.GpuMat outImage,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar color,
int flags)
@Namespace(value="cv")
public static void drawKeypoints(@ByVal
opencv_core.GpuMat image,
@Const @ByRef
opencv_core.KeyPointVector keypoints,
@ByVal
opencv_core.GpuMat outImage)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.Mat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.Mat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.Mat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
org.bytedeco.javacpp.BytePointer matchesMask,
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
opencv_core.Mat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.Mat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.Mat outImg)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.Mat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.Mat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.Mat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
ByteBuffer matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.Mat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.Mat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.Mat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
byte[] matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.UMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.UMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.UMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
org.bytedeco.javacpp.BytePointer matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.UMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.UMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.UMat outImg)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.UMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.UMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.UMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
ByteBuffer matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.UMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.UMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.UMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
byte[] matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.GpuMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.GpuMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.GpuMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
org.bytedeco.javacpp.BytePointer matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.GpuMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.GpuMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.GpuMat outImg)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.GpuMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.GpuMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.GpuMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
ByteBuffer matchesMask,
int flags)
@Namespace(value="cv")
public static void drawMatches(@ByVal
opencv_core.GpuMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.GpuMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVector matches1to2,
@ByVal
opencv_core.GpuMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="char*") @StdVector
byte[] matchesMask,
int flags)
@Namespace(value="cv")
@Name(value="drawMatches")
public static void drawMatchesKnn(@ByVal
opencv_core.Mat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.Mat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@ByVal
opencv_core.Mat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="const std::vector<std::vector<char> >*") @ByRef(nullValue="std::vector<std::vector<char> >()")
opencv_core.ByteVectorVector matchesMask,
int flags)
@Namespace(value="cv")
@Name(value="drawMatches")
public static void drawMatchesKnn(@ByVal
opencv_core.Mat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.Mat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@ByVal
opencv_core.Mat outImg)
@Namespace(value="cv")
@Name(value="drawMatches")
public static void drawMatchesKnn(@ByVal
opencv_core.UMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.UMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@ByVal
opencv_core.UMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="const std::vector<std::vector<char> >*") @ByRef(nullValue="std::vector<std::vector<char> >()")
opencv_core.ByteVectorVector matchesMask,
int flags)
@Namespace(value="cv")
@Name(value="drawMatches")
public static void drawMatchesKnn(@ByVal
opencv_core.UMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.UMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@ByVal
opencv_core.UMat outImg)
@Namespace(value="cv")
@Name(value="drawMatches")
public static void drawMatchesKnn(@ByVal
opencv_core.GpuMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.GpuMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@ByVal
opencv_core.GpuMat outImg,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar matchColor,
@Const @ByRef(nullValue="cv::Scalar::all(-1)")
opencv_core.Scalar singlePointColor,
@Cast(value="const std::vector<std::vector<char> >*") @ByRef(nullValue="std::vector<std::vector<char> >()")
opencv_core.ByteVectorVector matchesMask,
int flags)
@Namespace(value="cv")
@Name(value="drawMatches")
public static void drawMatchesKnn(@ByVal
opencv_core.GpuMat img1,
@Const @ByRef
opencv_core.KeyPointVector keypoints1,
@ByVal
opencv_core.GpuMat img2,
@Const @ByRef
opencv_core.KeyPointVector keypoints2,
@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@ByVal
opencv_core.GpuMat outImg)
@Namespace(value="cv")
public static void evaluateFeatureDetector(@Const @ByRef
opencv_core.Mat img1,
@Const @ByRef
opencv_core.Mat img2,
@Const @ByRef
opencv_core.Mat H1to2,
opencv_core.KeyPointVector keypoints1,
opencv_core.KeyPointVector keypoints2,
@ByRef
org.bytedeco.javacpp.FloatPointer repeatability,
@ByRef
org.bytedeco.javacpp.IntPointer correspCount,
@Cast(value="cv::FeatureDetector*") @opencv_core.Ptr
opencv_features2d.Feature2D fdetector)
/****************************************************************************************\ Functions to evaluate the feature detectors and [generic] descriptor extractors * \
@Namespace(value="cv")
public static void evaluateFeatureDetector(@Const @ByRef
opencv_core.Mat img1,
@Const @ByRef
opencv_core.Mat img2,
@Const @ByRef
opencv_core.Mat H1to2,
opencv_core.KeyPointVector keypoints1,
opencv_core.KeyPointVector keypoints2,
@ByRef
org.bytedeco.javacpp.FloatPointer repeatability,
@ByRef
org.bytedeco.javacpp.IntPointer correspCount)
@Namespace(value="cv")
public static void evaluateFeatureDetector(@Const @ByRef
opencv_core.Mat img1,
@Const @ByRef
opencv_core.Mat img2,
@Const @ByRef
opencv_core.Mat H1to2,
opencv_core.KeyPointVector keypoints1,
opencv_core.KeyPointVector keypoints2,
@ByRef
FloatBuffer repeatability,
@ByRef
IntBuffer correspCount,
@Cast(value="cv::FeatureDetector*") @opencv_core.Ptr
opencv_features2d.Feature2D fdetector)
@Namespace(value="cv")
public static void evaluateFeatureDetector(@Const @ByRef
opencv_core.Mat img1,
@Const @ByRef
opencv_core.Mat img2,
@Const @ByRef
opencv_core.Mat H1to2,
opencv_core.KeyPointVector keypoints1,
opencv_core.KeyPointVector keypoints2,
@ByRef
FloatBuffer repeatability,
@ByRef
IntBuffer correspCount)
@Namespace(value="cv")
public static void evaluateFeatureDetector(@Const @ByRef
opencv_core.Mat img1,
@Const @ByRef
opencv_core.Mat img2,
@Const @ByRef
opencv_core.Mat H1to2,
opencv_core.KeyPointVector keypoints1,
opencv_core.KeyPointVector keypoints2,
@ByRef
float[] repeatability,
@ByRef
int[] correspCount,
@Cast(value="cv::FeatureDetector*") @opencv_core.Ptr
opencv_features2d.Feature2D fdetector)
@Namespace(value="cv")
public static void evaluateFeatureDetector(@Const @ByRef
opencv_core.Mat img1,
@Const @ByRef
opencv_core.Mat img2,
@Const @ByRef
opencv_core.Mat H1to2,
opencv_core.KeyPointVector keypoints1,
opencv_core.KeyPointVector keypoints2,
@ByRef
float[] repeatability,
@ByRef
int[] correspCount)
@Namespace(value="cv")
public static void computeRecallPrecisionCurve(@Const @ByRef
opencv_core.DMatchVectorVector matches1to2,
@Cast(value="const std::vector<std::vector<uchar> >*") @ByRef
opencv_core.ByteVectorVector correctMatches1to2Mask,
@ByRef
opencv_core.Point2fVector recallPrecisionCurve)
@Namespace(value="cv")
public static float getRecall(@Const @ByRef
opencv_core.Point2fVector recallPrecisionCurve,
float l_precision)
@Namespace(value="cv")
public static int getNearestPoint(@Const @ByRef
opencv_core.Point2fVector recallPrecisionCurve,
float l_precision)
Copyright © 2018. All rights reserved.