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 RectStereoBM. getROI1()RectStereoBM. getROI2()static RectCalib3d. 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 MatCalib3d. 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 MatCalib3d. 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 RectCalib3d. getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int blockSize)static floatCalib3d. 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)voidStereoBM. setROI1(Rect roi1)voidStereoBM. setROI2(Rect roi2)static voidCalib3d. 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 voidCalib3d. 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 RectRotatedRect. boundingRect()RectRect. 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 voidMatOfRect. fromArray(Rect... a)booleanPoint. inside(Rect r)MatMat. submat(Rect roi)Method parameters in org.opencv.core with type arguments of type Rect Modifier and Type Method Description voidMatOfRect. 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 RectImgproc. 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 booleanImgproc. clipLine(Rect imgRect, Point pt1, Point pt2)static intImgproc. floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect)Fills a connected component with the given color.static intImgproc. floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect, Scalar loDiff)Fills a connected component with the given color.static intImgproc. floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect, Scalar loDiff, Scalar upDiff)Fills a connected component with the given color.static intImgproc. 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 voidImgproc. grabCut(Mat img, Mat mask, Rect rect, Mat bgdModel, Mat fgdModel, int iterCount)Runs the GrabCut algorithm.static voidImgproc. grabCut(Mat img, Mat mask, Rect rect, Mat bgdModel, Mat fgdModel, int iterCount, int mode)Runs the GrabCut algorithm.voidSubdiv2D. initDelaunay(Rect rect)Creates a new empty Delaunay subdivisionstatic voidImgproc. rectangle(Mat img, Rect rec, Scalar color)userecparameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersstatic voidImgproc. rectangle(Mat img, Rect rec, Scalar color, int thickness)userecparameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersstatic voidImgproc. rectangle(Mat img, Rect rec, Scalar color, int thickness, int lineType)userecparameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite cornersstatic voidImgproc. rectangle(Mat img, Rect rec, Scalar color, int thickness, int lineType, int shift)userecparameter 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 voidConverters. Mat_to_vector_Rect(Mat m, List<Rect> rs)static MatConverters. 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 RotatedRectVideo. CamShift(Mat probImage, Rect window, TermCriteria criteria)Finds an object center, size, and orientation.voidTracker. init(Mat image, Rect boundingBox)Initialize the tracker with a known bounding box that surrounded the targetstatic intVideo. meanShift(Mat probImage, Rect window, TermCriteria criteria)Finds an object on a back projection image.booleanTracker. 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 RectDisparityWLSFilter. 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 doubleXimgproc. 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 doubleXimgproc. 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 doubleXimgproc. computeMSE(Mat GT, Mat src, Rect ROI)Function for computing mean square error for disparity mapsvoidDisparityFilter. filter(Mat disparity_map_left, Mat left_view, Mat filtered_disparity_map, Mat disparity_map_right, Rect ROI)Apply filtering to the disparity map.voidDisparityFilter. 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.
-