Package | Description |
---|---|
org.opencv.calib3d | |
org.opencv.core | |
org.opencv.imgproc | |
org.opencv.utils | |
org.opencv.video | |
org.opencv.ximgproc |
Modifier and Type | Method and Description |
---|---|
Rect |
StereoBM.getROI1() |
Rect |
StereoBM.getROI2() |
static Rect |
Calib3d.getValidDisparityROI(Rect roi1,
Rect roi2,
int minDisparity,
int numberOfDisparities,
int blockSize) |
Modifier and Type | Method and Description |
---|---|
static Mat |
Calib3d.getOptimalNewCameraMatrix(Mat cameraMatrix,
Mat distCoeffs,
Size imageSize,
double alpha,
Size newImgSize,
Rect validPixROI)
Returns the new camera matrix based on the free scaling parameter.
|
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 blockSize) |
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) |
void |
StereoBM.setROI1(Rect roi1) |
void |
StereoBM.setROI2(Rect roi2) |
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)
Computes rectification transforms for each head of a calibrated stereo camera.
|
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 |
---|---|
void |
MatOfRect.fromArray(Rect... a) |
boolean |
Point.inside(Rect r) |
Mat |
Mat.submat(Rect roi) |
Modifier and Type | Method and Description |
---|---|
void |
MatOfRect.fromList(List<Rect> lr) |
Constructor and Description |
---|
Mat(Mat m,
Rect roi) |
MatOfRect(Rect... a) |
Modifier and Type | Method and Description |
---|---|
static Rect |
Imgproc.boundingRect(Mat array)
Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Imgproc.clipLine(Rect imgRect,
Point pt1,
Point pt2) |
static int |
Imgproc.floodFill(Mat image,
Mat mask,
Point seedPoint,
Scalar newVal,
Rect rect)
Fills a connected component with the given color.
|
static int |
Imgproc.floodFill(Mat image,
Mat mask,
Point seedPoint,
Scalar newVal,
Rect rect,
Scalar loDiff)
Fills a connected component with the given color.
|
static int |
Imgproc.floodFill(Mat image,
Mat mask,
Point seedPoint,
Scalar newVal,
Rect rect,
Scalar loDiff,
Scalar upDiff)
Fills a connected component with the given color.
|
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)
Creates a new empty Delaunay subdivision
|
static void |
Imgproc.rectangle(Mat img,
Rect rec,
Scalar color)
use
rec parameter as alternative specification of the drawn rectangle: `r.tl() and
r.br()-Point(1,1)` are opposite corners |
static void |
Imgproc.rectangle(Mat img,
Rect rec,
Scalar color,
int thickness)
use
rec parameter as alternative specification of the drawn rectangle: `r.tl() and
r.br()-Point(1,1)` are opposite corners |
static void |
Imgproc.rectangle(Mat img,
Rect rec,
Scalar color,
int thickness,
int lineType)
use
rec parameter as alternative specification of the drawn rectangle: `r.tl() and
r.br()-Point(1,1)` are opposite corners |
static void |
Imgproc.rectangle(Mat img,
Rect rec,
Scalar color,
int thickness,
int lineType,
int shift)
use
rec parameter as alternative specification of the drawn rectangle: `r.tl() and
r.br()-Point(1,1)` are opposite corners |
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.
|
Modifier and Type | Method and Description |
---|---|
Rect |
DisparityWLSFilter.getROI()
Get the ROI used in the last filter call
|
Modifier and Type | Method and Description |
---|---|
void |
DisparityFilter.filter(Mat disparity_map_left,
Mat left_view,
Mat filtered_disparity_map,
Mat disparity_map_right,
Rect ROI)
Apply filtering to the disparity map.
|
void |
DisparityFilter.filter(Mat disparity_map_left,
Mat left_view,
Mat filtered_disparity_map,
Mat disparity_map_right,
Rect ROI,
Mat right_view)
Apply filtering to the disparity map.
|
Copyright © 2020. All rights reserved.