Package | Description |
---|---|
org.opencv.calib3d | |
org.opencv.core | |
org.opencv.dnn | |
org.opencv.face | |
org.opencv.imgproc | |
org.opencv.utils | |
org.opencv.video | |
org.opencv.xfeatures2d |
Modifier and Type | Method and Description |
---|---|
static void |
Calib3d.drawChessboardCorners(Mat image,
Size patternSize,
MatOfPoint2f corners,
boolean patternWasFound)
Renders the detected chessboard corners.
|
static boolean |
Calib3d.findChessboardCorners(Mat image,
Size patternSize,
MatOfPoint2f corners)
Finds the positions of internal corners of the chessboard.
|
static boolean |
Calib3d.findChessboardCorners(Mat image,
Size patternSize,
MatOfPoint2f corners,
int flags)
Finds the positions of internal corners of the chessboard.
|
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2) |
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2,
int method) |
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2,
int method,
double ransacReprojThreshold) |
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2,
int method,
double ransacReprojThreshold,
double confidence) |
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2,
int method,
double ransacReprojThreshold,
double confidence,
int maxIters)
Calculates a fundamental matrix from the corresponding points in two images.
|
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2,
int method,
double ransacReprojThreshold,
double confidence,
int maxIters,
Mat mask)
Calculates a fundamental matrix from the corresponding points in two images.
|
static Mat |
Calib3d.findFundamentalMat(MatOfPoint2f points1,
MatOfPoint2f points2,
int method,
double ransacReprojThreshold,
double confidence,
Mat mask) |
static Mat |
Calib3d.findHomography(MatOfPoint2f srcPoints,
MatOfPoint2f dstPoints)
Finds a perspective transformation between two planes.
|
static Mat |
Calib3d.findHomography(MatOfPoint2f srcPoints,
MatOfPoint2f dstPoints,
int method)
Finds a perspective transformation between two planes.
|
static Mat |
Calib3d.findHomography(MatOfPoint2f srcPoints,
MatOfPoint2f dstPoints,
int method,
double ransacReprojThreshold)
Finds a perspective transformation between two planes.
|
static Mat |
Calib3d.findHomography(MatOfPoint2f srcPoints,
MatOfPoint2f dstPoints,
int method,
double ransacReprojThreshold,
Mat mask)
Finds a perspective transformation between two planes.
|
static Mat |
Calib3d.findHomography(MatOfPoint2f srcPoints,
MatOfPoint2f dstPoints,
int method,
double ransacReprojThreshold,
Mat mask,
int maxIters)
Finds a perspective transformation between two planes.
|
static Mat |
Calib3d.findHomography(MatOfPoint2f srcPoints,
MatOfPoint2f dstPoints,
int method,
double ransacReprojThreshold,
Mat mask,
int maxIters,
double confidence)
Finds a perspective transformation between two planes.
|
static void |
Calib3d.projectPoints(MatOfPoint3f objectPoints,
Mat rvec,
Mat tvec,
Mat cameraMatrix,
MatOfDouble distCoeffs,
MatOfPoint2f imagePoints)
Projects 3D points to an image plane.
|
static void |
Calib3d.projectPoints(MatOfPoint3f objectPoints,
Mat rvec,
Mat tvec,
Mat cameraMatrix,
MatOfDouble distCoeffs,
MatOfPoint2f imagePoints,
Mat jacobian)
Projects 3D points to an image plane.
|
static void |
Calib3d.projectPoints(MatOfPoint3f objectPoints,
Mat rvec,
Mat tvec,
Mat cameraMatrix,
MatOfDouble distCoeffs,
MatOfPoint2f imagePoints,
Mat jacobian,
double aspectRatio)
Projects 3D points to an image plane.
|
static boolean |
Calib3d.solvePnP(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec)
Finds an object pose from 3D-2D point correspondences.
|
static boolean |
Calib3d.solvePnP(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess)
Finds an object pose from 3D-2D point correspondences.
|
static boolean |
Calib3d.solvePnP(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int flags)
Finds an object pose from 3D-2D point correspondences.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int iterationsCount)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int iterationsCount,
float reprojectionError)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int iterationsCount,
float reprojectionError,
double confidence)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int iterationsCount,
float reprojectionError,
double confidence,
Mat inliers)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static boolean |
Calib3d.solvePnPRansac(MatOfPoint3f objectPoints,
MatOfPoint2f imagePoints,
Mat cameraMatrix,
MatOfDouble distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int iterationsCount,
float reprojectionError,
double confidence,
Mat inliers,
int flags)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
|
static void |
Calib3d.undistortPoints(MatOfPoint2f src,
MatOfPoint2f dst,
Mat cameraMatrix,
Mat distCoeffs)
Computes the ideal point coordinates from the observed point coordinates.
|
static void |
Calib3d.undistortPoints(MatOfPoint2f src,
MatOfPoint2f dst,
Mat cameraMatrix,
Mat distCoeffs,
Mat R)
Computes the ideal point coordinates from the observed point coordinates.
|
static void |
Calib3d.undistortPoints(MatOfPoint2f src,
MatOfPoint2f dst,
Mat cameraMatrix,
Mat distCoeffs,
Mat R,
Mat P)
Computes the ideal point coordinates from the observed point coordinates.
|
Modifier and Type | Method and Description |
---|---|
static Mat |
Calib3d.initCameraMatrix2D(List<MatOfPoint3f> objectPoints,
List<MatOfPoint2f> imagePoints,
Size imageSize)
Finds an initial camera matrix from 3D-2D point correspondences.
|
static Mat |
Calib3d.initCameraMatrix2D(List<MatOfPoint3f> objectPoints,
List<MatOfPoint2f> imagePoints,
Size imageSize,
double aspectRatio)
Finds an initial camera matrix from 3D-2D point correspondences.
|
Modifier and Type | Method and Description |
---|---|
static MatOfPoint2f |
MatOfPoint2f.fromNativeAddr(long addr) |
Modifier and Type | Method and Description |
---|---|
MatOfPoint2f |
KeypointsModel.estimate(Mat frame)
Given the
input frame, create input blob, run net |
MatOfPoint2f |
KeypointsModel.estimate(Mat frame,
float thresh)
Given the
input frame, create input blob, run net |
Modifier and Type | Method and Description |
---|---|
boolean |
Facemark.fit(Mat image,
MatOfRect faces,
List<MatOfPoint2f> landmarks)
Detect facial landmarks from an image.
|
static boolean |
Face.loadTrainingData(List<String> filename,
List<MatOfPoint2f> trainlandmarks,
List<String> trainimages)
This function extracts the data for training from .txt files which contains the corresponding image name and landmarks.
|
Modifier and Type | Method and Description |
---|---|
static void |
Imgproc.approxPolyDP(MatOfPoint2f curve,
MatOfPoint2f approxCurve,
double epsilon,
boolean closed)
Approximates a polygonal curve(s) with the specified precision.
|
static double |
Imgproc.arcLength(MatOfPoint2f curve,
boolean closed)
Calculates a contour perimeter or a curve length.
|
static RotatedRect |
Imgproc.fitEllipse(MatOfPoint2f points)
Fits an ellipse around a set of 2D points.
|
static Mat |
Imgproc.getAffineTransform(MatOfPoint2f src,
MatOfPoint2f dst) |
void |
Subdiv2D.getVoronoiFacetList(MatOfInt idx,
List<MatOfPoint2f> facetList,
MatOfPoint2f facetCenters)
Returns a list of all Voronoi facets.
|
void |
Subdiv2D.insert(MatOfPoint2f ptvec)
Insert multiple points into a Delaunay triangulation.
|
static RotatedRect |
Imgproc.minAreaRect(MatOfPoint2f points)
Finds a rotated rectangle of the minimum area enclosing the input 2D point set.
|
static void |
Imgproc.minEnclosingCircle(MatOfPoint2f points,
Point center,
float[] radius)
Finds a circle of the minimum area enclosing a 2D point set.
|
static double |
Imgproc.pointPolygonTest(MatOfPoint2f contour,
Point pt,
boolean measureDist)
Performs a point-in-contour test.
|
Modifier and Type | Method and Description |
---|---|
void |
Subdiv2D.getVoronoiFacetList(MatOfInt idx,
List<MatOfPoint2f> facetList,
MatOfPoint2f facetCenters)
Returns a list of all Voronoi facets.
|
Modifier and Type | Method and Description |
---|---|
static void |
Converters.Mat_to_vector_vector_Point2f(Mat m,
List<MatOfPoint2f> pts) |
static Mat |
Converters.vector_vector_Point2f_to_Mat(List<MatOfPoint2f> pts,
List<Mat> mats) |
Modifier and Type | Method and Description |
---|---|
static void |
Video.calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err)
Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
pyramids.
|
static void |
Video.calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize)
Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
pyramids.
|
static void |
Video.calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel)
Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
pyramids.
|
static void |
Video.calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel,
TermCriteria criteria)
Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
pyramids.
|
static void |
Video.calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel,
TermCriteria criteria,
int flags)
Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
pyramids.
|
static void |
Video.calcOpticalFlowPyrLK(Mat prevImg,
Mat nextImg,
MatOfPoint2f prevPts,
MatOfPoint2f nextPts,
MatOfByte status,
MatOfFloat err,
Size winSize,
int maxLevel,
TermCriteria criteria,
int flags,
double minEigThreshold)
Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
pyramids.
|
Modifier and Type | Method and Description |
---|---|
MatOfPoint2f |
PCTSignatures.getSamplingPoints()
Initial samples taken from the image.
|
Modifier and Type | Method and Description |
---|---|
static PCTSignatures |
PCTSignatures.create(MatOfPoint2f initSamplingPoints,
int initSeedCount)
Creates PCTSignatures algorithm using pre-generated sampling points
and number of clusterization seeds.
|
static PCTSignatures |
PCTSignatures.create(MatOfPoint2f initSamplingPoints,
MatOfInt initClusterSeedIndexes)
Creates PCTSignatures algorithm using pre-generated sampling points
and clusterization seeds indexes.
|
static void |
PCTSignatures.generateInitPoints(MatOfPoint2f initPoints,
int count,
int pointDistribution)
Generates initial sampling points according to selected point distribution.
|
void |
PCTSignatures.setSamplingPoints(MatOfPoint2f samplingPoints)
Sets sampling points used to sample the input image.
|
Copyright © 2020. All rights reserved.