Uses of Class
org.opencv.core.Rect
-
Packages that use Rect Package Description org.opencv.calib3d org.opencv.core org.opencv.imgproc org.opencv.utils org.opencv.video org.opencv.ximgproc -
-
Uses of Rect in org.opencv.calib3d
Methods in org.opencv.calib3d that return Rect Modifier and Type Method Description Rect
StereoBM. getROI1()
Rect
StereoBM. getROI2()
static Rect
Calib3d. getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int blockSize)
Methods in org.opencv.calib3d with parameters of type Rect Modifier and Type Method Description static Mat
Calib3d. getOptimalNewCameraMatrix(Mat cameraMatrix, Mat distCoeffs, Size imageSize, double alpha, Size newImgSize, Rect validPixROI)
Returns the new camera intrinsic 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 intrinsic 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. -
Uses of Rect in org.opencv.core
Methods in org.opencv.core that return Rect Modifier and Type Method Description Rect
RotatedRect. boundingRect()
Rect
Rect. clone()
Rect[]
MatOfRect. toArray()
Methods in org.opencv.core that return types with arguments of type Rect Modifier and Type Method Description List<Rect>
MatOfRect. toList()
Methods in org.opencv.core with parameters of type Rect Modifier and Type Method Description void
MatOfRect. fromArray(Rect... a)
boolean
Point. inside(Rect r)
Mat
Mat. submat(Rect roi)
Method parameters in org.opencv.core with type arguments of type Rect Modifier and Type Method Description void
MatOfRect. fromList(List<Rect> lr)
Constructors in org.opencv.core with parameters of type Rect Constructor Description Mat(Mat m, Rect roi)
MatOfRect(Rect... a)
-
Uses of Rect in org.opencv.imgproc
Methods in org.opencv.imgproc that return Rect Modifier and Type Method 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.Methods in org.opencv.imgproc with parameters of type Rect Modifier and Type Method 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 subdivisionstatic void
Imgproc. rectangle(Mat img, Rect rec, Scalar color)
userec
parameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersstatic void
Imgproc. rectangle(Mat img, Rect rec, Scalar color, int thickness)
userec
parameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersstatic void
Imgproc. rectangle(Mat img, Rect rec, Scalar color, int thickness, int lineType)
userec
parameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersstatic void
Imgproc. rectangle(Mat img, Rect rec, Scalar color, int thickness, int lineType, int shift)
userec
parameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersConstructors in org.opencv.imgproc with parameters of type Rect Constructor Description Subdiv2D(Rect rect)
-
Uses of Rect in org.opencv.utils
Method parameters in org.opencv.utils with type arguments of type Rect Modifier and Type Method Description static void
Converters. Mat_to_vector_Rect(Mat m, List<Rect> rs)
static Mat
Converters. vector_Rect_to_Mat(List<Rect> rs)
-
Uses of Rect in org.opencv.video
Methods in org.opencv.video with parameters of type Rect Modifier and Type Method Description static RotatedRect
Video. CamShift(Mat probImage, Rect window, TermCriteria criteria)
Finds an object center, size, and orientation.void
Tracker. init(Mat image, Rect boundingBox)
Initialize the tracker with a known bounding box that surrounded the targetstatic int
Video. meanShift(Mat probImage, Rect window, TermCriteria criteria)
Finds an object on a back projection image.boolean
Tracker. update(Mat image, Rect boundingBox)
Update the tracker, find the new most likely bounding box for the target -
Uses of Rect in org.opencv.ximgproc
Methods in org.opencv.ximgproc that return Rect Modifier and Type Method Description Rect
DisparityWLSFilter. getROI()
Get the ROI used in the last filter callMethods in org.opencv.ximgproc with parameters of type Rect Modifier and Type Method Description static double
Ximgproc. computeBadPixelPercent(Mat GT, Mat src, Rect ROI)
Function for computing the percent of "bad" pixels in the disparity map (pixels where error is higher than a specified threshold)static double
Ximgproc. computeBadPixelPercent(Mat GT, Mat src, Rect ROI, int thresh)
Function for computing the percent of "bad" pixels in the disparity map (pixels where error is higher than a specified threshold)static double
Ximgproc. computeMSE(Mat GT, Mat src, Rect ROI)
Function for computing mean square error for disparity mapsvoid
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.
-