| Package | Description |
|---|---|
| org.opencv.calib3d | |
| org.opencv.core | |
| org.opencv.imgproc | |
| org.opencv.utils | |
| org.opencv.video |
| Modifier and Type | Method and Description |
|---|---|
static Rect |
Calib3d.getValidDisparityROI(Rect roi1,
Rect roi2,
int minDisparity,
int numberOfDisparities,
int SADWindowSize) |
| Modifier and Type | Method and Description |
|---|---|
static Mat |
Calib3d.getOptimalNewCameraMatrix(Mat cameraMatrix,
Mat distCoeffs,
Size imageSize,
double alpha,
Size newImgSize,
Rect validPixROI,
boolean centerPrincipalPoint)
Returns the new camera matrix based on the free scaling parameter.
|
static Rect |
Calib3d.getValidDisparityROI(Rect roi1,
Rect roi2,
int minDisparity,
int numberOfDisparities,
int SADWindowSize) |
static float |
Calib3d.rectify3Collinear(Mat cameraMatrix1,
Mat distCoeffs1,
Mat cameraMatrix2,
Mat distCoeffs2,
Mat cameraMatrix3,
Mat distCoeffs3,
List<Mat> imgpt1,
List<Mat> imgpt3,
Size imageSize,
Mat R12,
Mat T12,
Mat R13,
Mat T13,
Mat R1,
Mat R2,
Mat R3,
Mat P1,
Mat P2,
Mat P3,
Mat Q,
double alpha,
Size newImgSize,
Rect roi1,
Rect roi2,
int flags) |
static void |
Calib3d.stereoRectify(Mat cameraMatrix1,
Mat distCoeffs1,
Mat cameraMatrix2,
Mat distCoeffs2,
Size imageSize,
Mat R,
Mat T,
Mat R1,
Mat R2,
Mat P1,
Mat P2,
Mat Q,
int flags,
double alpha,
Size newImageSize,
Rect validPixROI1,
Rect validPixROI2)
Computes rectification transforms for each head of a calibrated stereo
camera.
|
| Modifier and Type | Method and Description |
|---|---|
Rect |
RotatedRect.boundingRect() |
Rect |
Rect.clone() |
Rect[] |
MatOfRect.toArray() |
| Modifier and Type | Method and Description |
|---|---|
List<Rect> |
MatOfRect.toList() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Core.clipLine(Rect imgRect,
Point pt1,
Point pt2)
Clips the line against the image rectangle.
|
void |
MatOfRect.fromArray(Rect... a) |
boolean |
Point.inside(Rect r) |
Mat |
Mat.submat(Rect roi)
Extracts a rectangular submatrix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MatOfRect.fromList(List<Rect> lr) |
| Constructor and Description |
|---|
Mat(Mat m,
Rect roi)
Various Mat constructors
|
MatOfRect(Rect... a) |
| Modifier and Type | Method and Description |
|---|---|
static Rect |
Imgproc.boundingRect(MatOfPoint points)
Calculates the up-right bounding rectangle of a point set.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Imgproc.floodFill(Mat image,
Mat mask,
Point seedPoint,
Scalar newVal,
Rect rect,
Scalar loDiff,
Scalar upDiff,
int flags)
Fills a connected component with the given color.
|
static void |
Imgproc.grabCut(Mat img,
Mat mask,
Rect rect,
Mat bgdModel,
Mat fgdModel,
int iterCount)
Runs the GrabCut algorithm.
|
static void |
Imgproc.grabCut(Mat img,
Mat mask,
Rect rect,
Mat bgdModel,
Mat fgdModel,
int iterCount,
int mode)
Runs the GrabCut algorithm.
|
void |
Subdiv2D.initDelaunay(Rect rect) |
| Constructor and Description |
|---|
Subdiv2D(Rect rect) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Converters.Mat_to_vector_Rect(Mat m,
List<Rect> rs) |
static Mat |
Converters.vector_Rect_to_Mat(List<Rect> rs) |
| Modifier and Type | Method and Description |
|---|---|
static RotatedRect |
Video.CamShift(Mat probImage,
Rect window,
TermCriteria criteria)
Finds an object center, size, and orientation.
|
static int |
Video.meanShift(Mat probImage,
Rect window,
TermCriteria criteria)
Finds an object on a back projection image.
|
Copyright © 2014. All rights reserved.