Package | Description |
---|---|
org.opencv.aruco | |
org.opencv.calib3d | |
org.opencv.core | |
org.opencv.dnn | |
org.opencv.face | |
org.opencv.features2d | |
org.opencv.imgproc | |
org.opencv.plot |
Modifier and Type | Method and Description |
---|---|
static void |
Aruco.drawDetectedCornersCharuco(Mat image,
Mat charucoCorners,
Mat charucoIds,
Scalar cornerColor)
Draws a set of Charuco corners
|
static void |
Aruco.drawDetectedDiamonds(Mat image,
List<Mat> diamondCorners,
Mat diamondIds,
Scalar borderColor)
Draw a set of detected ChArUco Diamond markers
|
static void |
Aruco.drawDetectedMarkers(Mat image,
List<Mat> corners,
Mat ids,
Scalar borderColor)
Draw detected markers in image
|
Modifier and Type | Method and Description |
---|---|
static Scalar |
Calib3d.estimateChessboardSharpness(Mat image,
Size patternSize,
Mat corners)
Estimates the sharpness of a detected chessboard.
|
static Scalar |
Calib3d.estimateChessboardSharpness(Mat image,
Size patternSize,
Mat corners,
float rise_distance)
Estimates the sharpness of a detected chessboard.
|
static Scalar |
Calib3d.estimateChessboardSharpness(Mat image,
Size patternSize,
Mat corners,
float rise_distance,
boolean vertical)
Estimates the sharpness of a detected chessboard.
|
static Scalar |
Calib3d.estimateChessboardSharpness(Mat image,
Size patternSize,
Mat corners,
float rise_distance,
boolean vertical,
Mat sharpness)
Estimates the sharpness of a detected chessboard.
|
Modifier and Type | Method and Description |
---|---|
static Scalar |
Scalar.all(double v) |
Scalar |
Scalar.clone() |
Scalar |
Scalar.conj() |
static Scalar |
Core.mean(Mat src)
Calculates an average (mean) of array elements.
|
static Scalar |
Core.mean(Mat src,
Mat mask)
Calculates an average (mean) of array elements.
|
Scalar |
Scalar.mul(Scalar it) |
Scalar |
Scalar.mul(Scalar it,
double scale) |
static Scalar |
Core.sumElems(Mat src)
Calculates the sum of array elements.
|
static Scalar |
Core.trace(Mat mtx)
Returns the trace of a matrix.
|
Modifier and Type | Method and Description |
---|---|
static void |
Core.absdiff(Mat src1,
Scalar src2,
Mat dst) |
static void |
Core.add(Mat src1,
Scalar src2,
Mat dst) |
static void |
Core.add(Mat src1,
Scalar src2,
Mat dst,
Mat mask) |
static void |
Core.add(Mat src1,
Scalar src2,
Mat dst,
Mat mask,
int dtype) |
static void |
Core.compare(Mat src1,
Scalar src2,
Mat dst,
int cmpop) |
static void |
Core.copyMakeBorder(Mat src,
Mat dst,
int top,
int bottom,
int left,
int right,
int borderType,
Scalar value)
Forms a border around an image.
|
static void |
Core.divide(Mat src1,
Scalar src2,
Mat dst) |
static void |
Core.divide(Mat src1,
Scalar src2,
Mat dst,
double scale) |
static void |
Core.divide(Mat src1,
Scalar src2,
Mat dst,
double scale,
int dtype) |
static void |
Core.inRange(Mat src,
Scalar lowerb,
Scalar upperb,
Mat dst)
Checks if array elements lie between the elements of two other arrays.
|
static void |
Core.max(Mat src1,
Scalar src2,
Mat dst) |
static void |
Core.min(Mat src1,
Scalar src2,
Mat dst) |
Scalar |
Scalar.mul(Scalar it) |
Scalar |
Scalar.mul(Scalar it,
double scale) |
static void |
Core.multiply(Mat src1,
Scalar src2,
Mat dst) |
static void |
Core.multiply(Mat src1,
Scalar src2,
Mat dst,
double scale) |
static void |
Core.multiply(Mat src1,
Scalar src2,
Mat dst,
double scale,
int dtype) |
static void |
Core.setIdentity(Mat mtx,
Scalar s)
Initializes a scaled identity matrix.
|
Mat |
Mat.setTo(Scalar s) |
Mat |
Mat.setTo(Scalar value,
Mat mask) |
static void |
Core.subtract(Mat src1,
Scalar src2,
Mat dst) |
static void |
Core.subtract(Mat src1,
Scalar src2,
Mat dst,
Mat mask) |
static void |
Core.subtract(Mat src1,
Scalar src2,
Mat dst,
Mat mask,
int dtype) |
Constructor and Description |
---|
Mat(int[] sizes,
int type,
Scalar s) |
Mat(int rows,
int cols,
int type,
Scalar s) |
Mat(Size size,
int type,
Scalar s) |
Modifier and Type | Method and Description |
---|---|
static Mat |
Dnn.blobFromImage(Mat image,
double scalefactor,
Size size,
Scalar mean)
Creates 4-dimensional blob from image.
|
static Mat |
Dnn.blobFromImage(Mat image,
double scalefactor,
Size size,
Scalar mean,
boolean swapRB)
Creates 4-dimensional blob from image.
|
static Mat |
Dnn.blobFromImage(Mat image,
double scalefactor,
Size size,
Scalar mean,
boolean swapRB,
boolean crop)
Creates 4-dimensional blob from image.
|
static Mat |
Dnn.blobFromImage(Mat image,
double scalefactor,
Size size,
Scalar mean,
boolean swapRB,
boolean crop,
int ddepth)
Creates 4-dimensional blob from image.
|
static Mat |
Dnn.blobFromImages(List<Mat> images,
double scalefactor,
Size size,
Scalar mean)
Creates 4-dimensional blob from series of images.
|
static Mat |
Dnn.blobFromImages(List<Mat> images,
double scalefactor,
Size size,
Scalar mean,
boolean swapRB)
Creates 4-dimensional blob from series of images.
|
static Mat |
Dnn.blobFromImages(List<Mat> images,
double scalefactor,
Size size,
Scalar mean,
boolean swapRB,
boolean crop)
Creates 4-dimensional blob from series of images.
|
static Mat |
Dnn.blobFromImages(List<Mat> images,
double scalefactor,
Size size,
Scalar mean,
boolean swapRB,
boolean crop,
int ddepth)
Creates 4-dimensional blob from series of images.
|
void |
Net.setInput(Mat blob,
String name,
double scalefactor,
Scalar mean)
Sets the new input value for the network
|
Model |
Model.setInputMean(Scalar mean)
Set mean value for frame.
|
void |
Model.setInputParams(double scale,
Size size,
Scalar mean)
Set preprocessing parameters for frame.
|
void |
Model.setInputParams(double scale,
Size size,
Scalar mean,
boolean swapRB)
Set preprocessing parameters for frame.
|
void |
Model.setInputParams(double scale,
Size size,
Scalar mean,
boolean swapRB,
boolean crop)
Set preprocessing parameters for frame.
|
Modifier and Type | Method and Description |
---|---|
static void |
Face.drawFacemarks(Mat image,
Mat points,
Scalar color)
Utility to draw the detected facial landmark points
|
Modifier and Type | Method and Description |
---|---|
static void |
Features2d.drawKeypoints(Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
Scalar color)
Draws keypoints.
|
static void |
Features2d.drawKeypoints(Mat image,
MatOfKeyPoint keypoints,
Mat outImage,
Scalar color,
int flags)
Draws keypoints.
|
static void |
Features2d.drawMatches(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor)
Draws the found matches of keypoints from two images.
|
static void |
Features2d.drawMatches(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor)
Draws the found matches of keypoints from two images.
|
static void |
Features2d.drawMatches(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
MatOfByte matchesMask)
Draws the found matches of keypoints from two images.
|
static void |
Features2d.drawMatches(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
MatOfDMatch matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
MatOfByte matchesMask,
int flags)
Draws the found matches of keypoints from two images.
|
static void |
Features2d.drawMatchesKnn(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List<MatOfDMatch> matches1to2,
Mat outImg,
Scalar matchColor) |
static void |
Features2d.drawMatchesKnn(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List<MatOfDMatch> matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor) |
static void |
Features2d.drawMatchesKnn(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List<MatOfDMatch> matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
List<MatOfByte> matchesMask) |
static void |
Features2d.drawMatchesKnn(Mat img1,
MatOfKeyPoint keypoints1,
Mat img2,
MatOfKeyPoint keypoints2,
List<MatOfDMatch> matches1to2,
Mat outImg,
Scalar matchColor,
Scalar singlePointColor,
List<MatOfByte> matchesMask,
int flags) |
Modifier and Type | Method and Description |
---|---|
static void |
Imgproc.arrowedLine(Mat img,
Point pt1,
Point pt2,
Scalar color)
Draws a arrow segment pointing from the first point to the second one.
|
static void |
Imgproc.arrowedLine(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness)
Draws a arrow segment pointing from the first point to the second one.
|
static void |
Imgproc.arrowedLine(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int line_type)
Draws a arrow segment pointing from the first point to the second one.
|
static void |
Imgproc.arrowedLine(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int line_type,
int shift)
Draws a arrow segment pointing from the first point to the second one.
|
static void |
Imgproc.arrowedLine(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int line_type,
int shift,
double tipLength)
Draws a arrow segment pointing from the first point to the second one.
|
static void |
Imgproc.circle(Mat img,
Point center,
int radius,
Scalar color)
Draws a circle.
|
static void |
Imgproc.circle(Mat img,
Point center,
int radius,
Scalar color,
int thickness)
Draws a circle.
|
static void |
Imgproc.circle(Mat img,
Point center,
int radius,
Scalar color,
int thickness,
int lineType)
Draws a circle.
|
static void |
Imgproc.circle(Mat img,
Point center,
int radius,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a circle.
|
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)
Draws contours outlines or filled contours.
|
static void |
Imgproc.drawContours(Mat image,
List<MatOfPoint> contours,
int contourIdx,
Scalar color,
int thickness)
Draws contours outlines or filled contours.
|
static void |
Imgproc.drawContours(Mat image,
List<MatOfPoint> contours,
int contourIdx,
Scalar color,
int thickness,
int lineType)
Draws contours outlines or filled contours.
|
static void |
Imgproc.drawContours(Mat image,
List<MatOfPoint> contours,
int contourIdx,
Scalar color,
int thickness,
int lineType,
Mat hierarchy)
Draws contours outlines or filled contours.
|
static void |
Imgproc.drawContours(Mat image,
List<MatOfPoint> contours,
int contourIdx,
Scalar color,
int thickness,
int lineType,
Mat hierarchy,
int maxLevel)
Draws contours outlines or filled contours.
|
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.
|
static void |
Imgproc.drawMarker(Mat img,
Point position,
Scalar color)
Draws a marker on a predefined position in an image.
|
static void |
Imgproc.drawMarker(Mat img,
Point position,
Scalar color,
int markerType)
Draws a marker on a predefined position in an image.
|
static void |
Imgproc.drawMarker(Mat img,
Point position,
Scalar color,
int markerType,
int markerSize)
Draws a marker on a predefined position in an image.
|
static void |
Imgproc.drawMarker(Mat img,
Point position,
Scalar color,
int markerType,
int markerSize,
int thickness)
Draws a marker on a predefined position in an image.
|
static void |
Imgproc.drawMarker(Mat img,
Point position,
Scalar color,
int markerType,
int markerSize,
int thickness,
int line_type)
Draws a marker on a predefined position in an image.
|
static void |
Imgproc.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 |
Imgproc.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 |
Imgproc.ellipse(Mat img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
Scalar color,
int thickness,
int lineType)
Draws a simple or thick elliptic arc or fills an ellipse sector.
|
static void |
Imgproc.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 |
Imgproc.ellipse(Mat img,
RotatedRect box,
Scalar color) |
static void |
Imgproc.ellipse(Mat img,
RotatedRect box,
Scalar color,
int thickness) |
static void |
Imgproc.ellipse(Mat img,
RotatedRect box,
Scalar color,
int thickness,
int lineType) |
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.fillConvexPoly(Mat img,
MatOfPoint points,
Scalar color)
Fills a convex polygon.
|
static void |
Imgproc.fillConvexPoly(Mat img,
MatOfPoint points,
Scalar color,
int lineType)
Fills a convex polygon.
|
static void |
Imgproc.fillConvexPoly(Mat img,
MatOfPoint points,
Scalar color,
int lineType,
int shift)
Fills a convex polygon.
|
static void |
Imgproc.fillPoly(Mat img,
List<MatOfPoint> pts,
Scalar color)
Fills the area bounded by one or more polygons.
|
static void |
Imgproc.fillPoly(Mat img,
List<MatOfPoint> pts,
Scalar color,
int lineType)
Fills the area bounded by one or more polygons.
|
static void |
Imgproc.fillPoly(Mat img,
List<MatOfPoint> pts,
Scalar color,
int lineType,
int shift)
Fills the area bounded by one or more polygons.
|
static void |
Imgproc.fillPoly(Mat img,
List<MatOfPoint> pts,
Scalar color,
int lineType,
int shift,
Point offset)
Fills the area bounded by one or more polygons.
|
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)
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.line(Mat img,
Point pt1,
Point pt2,
Scalar color)
Draws a line segment connecting two points.
|
static void |
Imgproc.line(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness)
Draws a line segment connecting two points.
|
static void |
Imgproc.line(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int lineType)
Draws a line segment connecting two points.
|
static void |
Imgproc.line(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a line segment connecting two points.
|
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 void |
Imgproc.polylines(Mat img,
List<MatOfPoint> pts,
boolean isClosed,
Scalar color)
Draws several polygonal curves.
|
static void |
Imgproc.polylines(Mat img,
List<MatOfPoint> pts,
boolean isClosed,
Scalar color,
int thickness)
Draws several polygonal curves.
|
static void |
Imgproc.polylines(Mat img,
List<MatOfPoint> pts,
boolean isClosed,
Scalar color,
int thickness,
int lineType)
Draws several polygonal curves.
|
static void |
Imgproc.polylines(Mat img,
List<MatOfPoint> pts,
boolean isClosed,
Scalar color,
int thickness,
int lineType,
int shift)
Draws several polygonal curves.
|
static void |
Imgproc.putText(Mat img,
String text,
Point org,
int fontFace,
double fontScale,
Scalar color)
Draws a text string.
|
static void |
Imgproc.putText(Mat img,
String text,
Point org,
int fontFace,
double fontScale,
Scalar color,
int thickness)
Draws a text string.
|
static void |
Imgproc.putText(Mat img,
String text,
Point org,
int fontFace,
double fontScale,
Scalar color,
int thickness,
int lineType)
Draws a text string.
|
static void |
Imgproc.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 |
Imgproc.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color)
Draws a simple, thick, or filled up-right rectangle.
|
static void |
Imgproc.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness)
Draws a simple, thick, or filled up-right rectangle.
|
static void |
Imgproc.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int lineType)
Draws a simple, thick, or filled up-right rectangle.
|
static void |
Imgproc.rectangle(Mat img,
Point pt1,
Point pt2,
Scalar color,
int thickness,
int lineType,
int shift)
Draws a simple, thick, or filled up-right rectangle.
|
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 |
static void |
Imgproc.remap(Mat src,
Mat dst,
Mat map1,
Mat map2,
int interpolation,
int borderMode,
Scalar borderValue)
Applies a generic geometrical transformation to an image.
|
static void |
Imgproc.warpAffine(Mat src,
Mat dst,
Mat M,
Size dsize,
int flags,
int borderMode,
Scalar borderValue)
Applies an affine transformation to an image.
|
static void |
Imgproc.warpPerspective(Mat src,
Mat dst,
Mat M,
Size dsize,
int flags,
int borderMode,
Scalar borderValue)
Applies a perspective transformation to an image.
|
Modifier and Type | Method and Description |
---|---|
void |
Plot2d.setPlotAxisColor(Scalar _plotAxisColor) |
void |
Plot2d.setPlotBackgroundColor(Scalar _plotBackgroundColor) |
void |
Plot2d.setPlotGridColor(Scalar _plotGridColor) |
void |
Plot2d.setPlotLineColor(Scalar _plotLineColor) |
void |
Plot2d.setPlotTextColor(Scalar _plotTextColor) |
Copyright © 2020. All rights reserved.