| Package | Description |
|---|---|
| org.opencv.aruco | |
| org.opencv.calib3d | |
| org.opencv.core | |
| org.opencv.features2d | |
| org.opencv.imgproc | |
| org.opencv.ml | |
| org.opencv.video |
| Modifier and Type | Method and Description |
|---|---|
static double |
Aruco.calibrateCameraAruco(List<Mat> corners,
Mat ids,
Mat counter,
Board board,
Size imageSize,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
int flags,
TermCriteria criteria)
Deprecated.
Use Board::matchImagePoints and cv::solvePnP
|
static double |
Aruco.calibrateCameraArucoExtended(List<Mat> corners,
Mat ids,
Mat counter,
Board board,
Size imageSize,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
Mat stdDeviationsIntrinsics,
Mat stdDeviationsExtrinsics,
Mat perViewErrors,
int flags,
TermCriteria criteria)
Deprecated.
Use Board::matchImagePoints and cv::solvePnP
|
static double |
Aruco.calibrateCameraCharuco(List<Mat> charucoCorners,
List<Mat> charucoIds,
CharucoBoard board,
Size imageSize,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
int flags,
TermCriteria criteria)
Deprecated.
Use CharucoBoard::matchImagePoints and cv::solvePnP
|
static double |
Aruco.calibrateCameraCharucoExtended(List<Mat> charucoCorners,
List<Mat> charucoIds,
CharucoBoard board,
Size imageSize,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
Mat stdDeviationsIntrinsics,
Mat stdDeviationsExtrinsics,
Mat perViewErrors,
int flags,
TermCriteria criteria)
Deprecated.
Use CharucoBoard::matchImagePoints and cv::solvePnP
|
| Modifier and Type | Method and Description |
|---|---|
static double |
Calib3d.calibrateCamera(List<Mat> objectPoints,
List<Mat> imagePoints,
Size imageSize,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
int flags,
TermCriteria criteria) |
static double |
Calib3d.calibrateCameraExtended(List<Mat> objectPoints,
List<Mat> imagePoints,
Size imageSize,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
Mat stdDeviationsIntrinsics,
Mat stdDeviationsExtrinsics,
Mat perViewErrors,
int flags,
TermCriteria criteria)
Finds the camera intrinsic and extrinsic parameters from several views of a calibration
pattern.
|
static double |
Calib3d.calibrateCameraRO(List<Mat> objectPoints,
List<Mat> imagePoints,
Size imageSize,
int iFixedPoint,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
Mat newObjPoints,
int flags,
TermCriteria criteria) |
static double |
Calib3d.calibrateCameraROExtended(List<Mat> objectPoints,
List<Mat> imagePoints,
Size imageSize,
int iFixedPoint,
Mat cameraMatrix,
Mat distCoeffs,
List<Mat> rvecs,
List<Mat> tvecs,
Mat newObjPoints,
Mat stdDeviationsIntrinsics,
Mat stdDeviationsExtrinsics,
Mat stdDeviationsObjPoints,
Mat perViewErrors,
int flags,
TermCriteria criteria)
Finds the camera intrinsic and extrinsic parameters from several views of a calibration pattern.
|
static double |
Calib3d.fisheye_calibrate(List<Mat> objectPoints,
List<Mat> imagePoints,
Size image_size,
Mat K,
Mat D,
List<Mat> rvecs,
List<Mat> tvecs,
int flags,
TermCriteria criteria)
Performs camera calibration
|
static boolean |
Calib3d.fisheye_solvePnP(Mat objectPoints,
Mat imagePoints,
Mat cameraMatrix,
Mat distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int flags,
TermCriteria criteria)
Finds an object pose from 3D-2D point correspondences for fisheye camera model.
|
static boolean |
Calib3d.fisheye_solvePnPRansac(Mat objectPoints,
Mat imagePoints,
Mat cameraMatrix,
Mat distCoeffs,
Mat rvec,
Mat tvec,
boolean useExtrinsicGuess,
int iterationsCount,
float reprojectionError,
double confidence,
Mat inliers,
int flags,
TermCriteria criteria)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme for fisheye camera moodel.
|
static double |
Calib3d.fisheye_stereoCalibrate(List<Mat> objectPoints,
List<Mat> imagePoints1,
List<Mat> imagePoints2,
Mat K1,
Mat D1,
Mat K2,
Mat D2,
Size imageSize,
Mat R,
Mat T,
int flags,
TermCriteria criteria) |
static double |
Calib3d.fisheye_stereoCalibrate(List<Mat> objectPoints,
List<Mat> imagePoints1,
List<Mat> imagePoints2,
Mat K1,
Mat D1,
Mat K2,
Mat D2,
Size imageSize,
Mat R,
Mat T,
List<Mat> rvecs,
List<Mat> tvecs,
int flags,
TermCriteria criteria)
Performs stereo calibration
|
static void |
Calib3d.fisheye_undistortPoints(Mat distorted,
Mat undistorted,
Mat K,
Mat D,
Mat R,
Mat P,
TermCriteria criteria)
Undistorts 2D points using fisheye model
|
static void |
Calib3d.solvePnPRefineLM(Mat objectPoints,
Mat imagePoints,
Mat cameraMatrix,
Mat distCoeffs,
Mat rvec,
Mat tvec,
TermCriteria criteria)
Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coordinate frame
to the camera coordinate frame) from a 3D-2D point correspondences and starting from an initial solution.
|
static void |
Calib3d.solvePnPRefineVVS(Mat objectPoints,
Mat imagePoints,
Mat cameraMatrix,
Mat distCoeffs,
Mat rvec,
Mat tvec,
TermCriteria criteria)
Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coordinate frame
to the camera coordinate frame) from a 3D-2D point correspondences and starting from an initial solution.
|
static void |
Calib3d.solvePnPRefineVVS(Mat objectPoints,
Mat imagePoints,
Mat cameraMatrix,
Mat distCoeffs,
Mat rvec,
Mat tvec,
TermCriteria criteria,
double VVSlambda)
Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coordinate frame
to the camera coordinate frame) from a 3D-2D point correspondences and starting from an initial solution.
|
static double |
Calib3d.stereoCalibrate(List<Mat> objectPoints,
List<Mat> imagePoints1,
List<Mat> imagePoints2,
Mat cameraMatrix1,
Mat distCoeffs1,
Mat cameraMatrix2,
Mat distCoeffs2,
Size imageSize,
Mat R,
Mat T,
Mat E,
Mat F,
int flags,
TermCriteria criteria) |
static double |
Calib3d.stereoCalibrate(List<Mat> objectPoints,
List<Mat> imagePoints1,
List<Mat> imagePoints2,
Mat cameraMatrix1,
Mat distCoeffs1,
Mat cameraMatrix2,
Mat distCoeffs2,
Size imageSize,
Mat R,
Mat T,
Mat E,
Mat F,
Mat perViewErrors,
int flags,
TermCriteria criteria) |
static double |
Calib3d.stereoCalibrateExtended(List<Mat> objectPoints,
List<Mat> imagePoints1,
List<Mat> imagePoints2,
Mat cameraMatrix1,
Mat distCoeffs1,
Mat cameraMatrix2,
Mat distCoeffs2,
Size imageSize,
Mat R,
Mat T,
Mat E,
Mat F,
List<Mat> rvecs,
List<Mat> tvecs,
Mat perViewErrors,
int flags,
TermCriteria criteria)
Calibrates a stereo camera set up.
|
static void |
Calib3d.undistortImagePoints(Mat src,
Mat dst,
Mat cameraMatrix,
Mat distCoeffs,
TermCriteria arg1)
Compute undistorted image points position
|
static void |
Calib3d.undistortPointsIter(Mat src,
Mat dst,
Mat cameraMatrix,
Mat distCoeffs,
Mat R,
Mat P,
TermCriteria criteria)
Note: Default version of #undistortPoints does 5 iterations to compute undistorted points.
|
| Modifier and Type | Method and Description |
|---|---|
TermCriteria |
TermCriteria.clone() |
| Modifier and Type | Method and Description |
|---|---|
static double |
Core.kmeans(Mat data,
int K,
Mat bestLabels,
TermCriteria criteria,
int attempts,
int flags)
Finds centers of clusters and groups input samples around the clusters.
|
static double |
Core.kmeans(Mat data,
int K,
Mat bestLabels,
TermCriteria criteria,
int attempts,
int flags,
Mat centers)
Finds centers of clusters and groups input samples around the clusters.
|
| Constructor and Description |
|---|
BOWKMeansTrainer(int clusterCount,
TermCriteria termcrit)
The constructor.
|
BOWKMeansTrainer(int clusterCount,
TermCriteria termcrit,
int attempts)
The constructor.
|
BOWKMeansTrainer(int clusterCount,
TermCriteria termcrit,
int attempts,
int flags)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Imgproc.cornerSubPix(Mat image,
Mat corners,
Size winSize,
Size zeroZone,
TermCriteria criteria)
Refines the corner locations.
|
static void |
Imgproc.pyrMeanShiftFiltering(Mat src,
Mat dst,
double sp,
double sr,
int maxLevel,
TermCriteria termcrit)
Performs initial step of meanshift segmentation of an image.
|
| Modifier and Type | Method and Description |
|---|---|
TermCriteria |
SVMSGD.getTermCriteria()
SEE: setTermCriteria
|
TermCriteria |
SVM.getTermCriteria()
SEE: setTermCriteria
|
TermCriteria |
RTrees.getTermCriteria()
SEE: setTermCriteria
|
TermCriteria |
LogisticRegression.getTermCriteria()
SEE: setTermCriteria
|
TermCriteria |
EM.getTermCriteria()
SEE: setTermCriteria
|
TermCriteria |
ANN_MLP.getTermCriteria()
SEE: setTermCriteria
|
| Modifier and Type | Method and Description |
|---|---|
void |
SVMSGD.setTermCriteria(TermCriteria val)
getTermCriteria SEE: getTermCriteria
|
void |
SVM.setTermCriteria(TermCriteria val)
getTermCriteria SEE: getTermCriteria
|
void |
RTrees.setTermCriteria(TermCriteria val)
getTermCriteria SEE: getTermCriteria
|
void |
LogisticRegression.setTermCriteria(TermCriteria val)
getTermCriteria SEE: getTermCriteria
|
void |
EM.setTermCriteria(TermCriteria val)
getTermCriteria SEE: getTermCriteria
|
void |
ANN_MLP.setTermCriteria(TermCriteria val)
getTermCriteria SEE: getTermCriteria
|
| Modifier and Type | Method and Description |
|---|---|
TermCriteria |
SparsePyrLKOpticalFlow.getTermCriteria() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static RotatedRect |
Video.CamShift(Mat probImage,
Rect window,
TermCriteria criteria)
Finds an object center, size, and orientation.
|
static SparsePyrLKOpticalFlow |
SparsePyrLKOpticalFlow.create(Size winSize,
int maxLevel,
TermCriteria crit) |
static SparsePyrLKOpticalFlow |
SparsePyrLKOpticalFlow.create(Size winSize,
int maxLevel,
TermCriteria crit,
int flags) |
static SparsePyrLKOpticalFlow |
SparsePyrLKOpticalFlow.create(Size winSize,
int maxLevel,
TermCriteria crit,
int flags,
double minEigThreshold) |
static double |
Video.findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix,
int motionType,
TermCriteria criteria) |
static double |
Video.findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix,
int motionType,
TermCriteria criteria,
Mat inputMask) |
static double |
Video.findTransformECC(Mat templateImage,
Mat inputImage,
Mat warpMatrix,
int motionType,
TermCriteria criteria,
Mat inputMask,
int gaussFiltSize)
Finds the geometric transform (warp) between two images in terms of the ECC criterion CITE: EP08 .
|
static double |
Video.findTransformECCWithMask(Mat templateImage,
Mat inputImage,
Mat templateMask,
Mat inputMask,
Mat warpMatrix,
int motionType,
TermCriteria criteria)
Finds the geometric transform (warp) between two images in terms of the ECC criterion CITE: EP08
using validity masks for both the template and the input images.
|
static double |
Video.findTransformECCWithMask(Mat templateImage,
Mat inputImage,
Mat templateMask,
Mat inputMask,
Mat warpMatrix,
int motionType,
TermCriteria criteria,
int gaussFiltSize)
Finds the geometric transform (warp) between two images in terms of the ECC criterion CITE: EP08
using validity masks for both the template and the input images.
|
static int |
Video.meanShift(Mat probImage,
Rect window,
TermCriteria criteria)
Finds an object on a back projection image.
|
void |
SparsePyrLKOpticalFlow.setTermCriteria(TermCriteria crit) |
Copyright © 2026. All rights reserved.