| Package | Description |
|---|---|
| org.opencv.calib3d | |
| org.opencv.core | |
| org.opencv.features2d | |
| org.opencv.imgproc | |
| org.opencv.utils |
| Modifier and Type | Method and Description |
|---|---|
static void |
Calib3d.calibrationMatrixValues(Mat cameraMatrix,
Size imageSize,
double apertureWidth,
double apertureHeight,
double[] fovx,
double[] fovy,
double[] focalLength,
Point principalPoint,
double[] aspectRatio)
Computes useful camera characteristics from the camera matrix.
|
| Modifier and Type | Field and Description |
|---|---|
Point |
RotatedRect.center |
Point |
Core.MinMaxLocResult.maxLoc |
Point |
Core.MinMaxLocResult.minLoc |
| Modifier and Type | Method and Description |
|---|---|
Point |
Rect.br() |
Point |
Point.clone() |
Point |
Rect.tl() |
Point[] |
MatOfPoint2f.toArray() |
Point[] |
MatOfPoint.toArray() |
| Modifier and Type | Method and Description |
|---|---|
List<Point> |
MatOfPoint2f.toList() |
List<Point> |
MatOfPoint.toList() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Core.circle(Mat img,
Point center,
int radius,
Scalar color)
Draws a circle.
|
static void |
Core.circle(Mat img,
Point center,
int radius,
Scalar color,
int thickness)
Draws a circle.
|
static void |
Core.circle(Mat img,
Point center,
int radius,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a circle.
|
static boolean |
Core.clipLine(Rect imgRect,
Point pt1,
Point pt2)
Clips the line against the image rectangle.
|
boolean |
Rect.contains(Point p) |
double |
Point.dot(Point p) |
static void |
Core.ellipse(Mat img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
Scalar color)
Draws a simple or thick elliptic arc or fills an ellipse sector.
|
static void |
Core.ellipse(Mat img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
Scalar color,
int thickness)
Draws a simple or thick elliptic arc or fills an ellipse sector.
|
static void |
Core.ellipse(Mat img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a simple or thick elliptic arc or fills an ellipse sector.
|
static void |
Core.ellipse2Poly(Point center,
Size axes,
int angle,
int arcStart,
int arcEnd,
int delta,
MatOfPoint pts)
Approximates an elliptic arc with a polyline.
|
static void |
Core.fillPoly(Mat img,
List<MatOfPoint> pts,
Scalar color,
int lineType,
int shift,
Point offset)
Fills the area bounded by one or more polygons.
|
void |
MatOfPoint2f.fromArray(Point... a) |
void |
MatOfPoint.fromArray(Point... a) |
static void |
Core.line(Mat img,
Point pt1,
Point pt2,
Scalar color)
Draws a line segment connecting two points.
|
static void |
Core.line(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness)
Draws a line segment connecting two points.
|
static void |
Core.line(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a line segment connecting two points.
|
void |
Mat.locateROI(Size wholeSize,
Point ofs)
Locates the matrix header within a parent matrix.
|
void |
RotatedRect.points(Point[] pt) |
static void |
Core.putText(Mat img,
String text,
Point org,
int fontFace,
double fontScale,
Scalar color)
Draws a text string.
|
static void |
Core.putText(Mat img,
String text,
Point org,
int fontFace,
double fontScale,
Scalar color,
int thickness)
Draws a text string.
|
static void |
Core.putText(Mat img,
String text,
Point org,
int fontFace,
double fontScale,
Scalar color,
int thickness,
int lineType,
boolean bottomLeftOrigin)
Draws a text string.
|
static void |
Core.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color)
Draws a simple, thick, or filled up-right rectangle.
|
static void |
Core.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness)
Draws a simple, thick, or filled up-right rectangle.
|
static void |
Core.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a simple, thick, or filled up-right rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MatOfPoint2f.fromList(List<Point> lp) |
void |
MatOfPoint.fromList(List<Point> lp) |
| Constructor and Description |
|---|
MatOfPoint(Point... a) |
MatOfPoint2f(Point... a) |
Point3(Point p) |
Rect(Point p1,
Point p2) |
Rect(Point p,
Size s) |
RotatedRect(Point c,
Size s,
double a) |
Size(Point p) |
| Modifier and Type | Field and Description |
|---|---|
Point |
KeyPoint.pt
Coordinates of the keypoint.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
Subdiv2D.getVertex(int vertex) |
Point |
Subdiv2D.getVertex(int vertex,
int[] firstEdge) |
static Point |
Imgproc.phaseCorrelate(Mat src1,
Mat src2)
The function is used to detect translational shifts that occur between two
images.
|
static Point |
Imgproc.phaseCorrelate(Mat src1,
Mat src2,
Mat window)
The function is used to detect translational shifts that occur between two
images.
|
static Point |
Imgproc.phaseCorrelateRes(Mat src1,
Mat src2,
Mat window) |
static Point |
Imgproc.phaseCorrelateRes(Mat src1,
Mat src2,
Mat window,
double[] response) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Imgproc.adaptiveBilateralFilter(Mat src,
Mat dst,
Size ksize,
double sigmaSpace,
double maxSigmaColor,
Point anchor)
Applies the adaptive bilateral filter to an image.
|
static void |
Imgproc.adaptiveBilateralFilter(Mat src,
Mat dst,
Size ksize,
double sigmaSpace,
double maxSigmaColor,
Point anchor,
int borderType)
Applies the adaptive bilateral filter to an image.
|
static void |
Imgproc.blur(Mat src,
Mat dst,
Size ksize,
Point anchor)
Blurs an image using the normalized box filter.
|
static void |
Imgproc.blur(Mat src,
Mat dst,
Size ksize,
Point anchor,
int borderType)
Blurs an image using the normalized box filter.
|
static void |
Imgproc.boxFilter(Mat src,
Mat dst,
int ddepth,
Size ksize,
Point anchor,
boolean normalize)
Blurs an image using the box filter.
|
static void |
Imgproc.boxFilter(Mat src,
Mat dst,
int ddepth,
Size ksize,
Point anchor,
boolean normalize,
int borderType)
Blurs an image using the box filter.
|
static void |
Imgproc.dilate(Mat src,
Mat dst,
Mat kernel,
Point anchor,
int iterations)
Dilates an image by using a specific structuring element.
|
static void |
Imgproc.dilate(Mat src,
Mat dst,
Mat kernel,
Point anchor,
int iterations,
int borderType,
Scalar borderValue)
Dilates an image by using a specific structuring element.
|
static void |
Imgproc.drawContours(Mat image,
List<MatOfPoint> contours,
int contourIdx,
Scalar color,
int thickness,
int lineType,
Mat hierarchy,
int maxLevel,
Point offset)
Draws contours outlines or filled contours.
|
int |
Subdiv2D.edgeDst(int edge,
Point dstpt) |
int |
Subdiv2D.edgeOrg(int edge,
Point orgpt) |
static void |
Imgproc.erode(Mat src,
Mat dst,
Mat kernel,
Point anchor,
int iterations)
Erodes an image by using a specific structuring element.
|
static void |
Imgproc.erode(Mat src,
Mat dst,
Mat kernel,
Point anchor,
int iterations,
int borderType,
Scalar borderValue)
Erodes an image by using a specific structuring element.
|
static void |
Imgproc.filter2D(Mat src,
Mat dst,
int ddepth,
Mat kernel,
Point anchor,
double delta)
Convolves an image with the kernel.
|
static void |
Imgproc.filter2D(Mat src,
Mat dst,
int ddepth,
Mat kernel,
Point anchor,
double delta,
int borderType)
Convolves an image with the kernel.
|
static void |
Imgproc.findContours(Mat image,
List<MatOfPoint> contours,
Mat hierarchy,
int mode,
int method,
Point offset)
Finds contours in a binary image.
|
int |
Subdiv2D.findNearest(Point pt) |
int |
Subdiv2D.findNearest(Point pt,
Point nearestPt) |
static int |
Imgproc.floodFill(Mat image,
Mat mask,
Point seedPoint,
Scalar newVal)
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.getRectSubPix(Mat image,
Size patchSize,
Point center,
Mat patch)
Retrieves a pixel rectangle from an image with sub-pixel accuracy.
|
static void |
Imgproc.getRectSubPix(Mat image,
Size patchSize,
Point center,
Mat patch,
int patchType)
Retrieves a pixel rectangle from an image with sub-pixel accuracy.
|
static Mat |
Imgproc.getRotationMatrix2D(Point center,
double angle,
double scale)
Calculates an affine matrix of 2D rotation.
|
static Mat |
Imgproc.getStructuringElement(int shape,
Size ksize,
Point anchor)
Returns a structuring element of the specified size and shape for
morphological operations.
|
int |
Subdiv2D.insert(Point pt) |
int |
Subdiv2D.locate(Point pt,
int[] edge,
int[] vertex) |
static void |
Imgproc.minEnclosingCircle(MatOfPoint2f points,
Point center,
float[] radius)
Finds a circle of the minimum area enclosing a 2D point set.
|
static void |
Imgproc.morphologyEx(Mat src,
Mat dst,
int op,
Mat kernel,
Point anchor,
int iterations)
Performs advanced morphological transformations.
|
static void |
Imgproc.morphologyEx(Mat src,
Mat dst,
int op,
Mat kernel,
Point anchor,
int iterations,
int borderType,
Scalar borderValue)
Performs advanced morphological transformations.
|
static double |
Imgproc.pointPolygonTest(MatOfPoint2f contour,
Point pt,
boolean measureDist)
Performs a point-in-contour test.
|
static void |
Imgproc.sepFilter2D(Mat src,
Mat dst,
int ddepth,
Mat kernelX,
Mat kernelY,
Point anchor,
double delta)
Applies a separable linear filter to an image.
|
static void |
Imgproc.sepFilter2D(Mat src,
Mat dst,
int ddepth,
Mat kernelX,
Mat kernelY,
Point anchor,
double delta,
int borderType)
Applies a separable linear filter to an image.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Converters.Mat_to_vector_Point(Mat m,
List<Point> pts) |
static void |
Converters.Mat_to_vector_Point2d(Mat m,
List<Point> pts) |
static void |
Converters.Mat_to_vector_Point2f(Mat m,
List<Point> pts) |
static Mat |
Converters.vector_Point_to_Mat(List<Point> pts) |
static Mat |
Converters.vector_Point_to_Mat(List<Point> pts,
int typeDepth) |
static Mat |
Converters.vector_Point2d_to_Mat(List<Point> pts) |
static Mat |
Converters.vector_Point2f_to_Mat(List<Point> pts) |
Copyright © 2014. All rights reserved.