| Package | Description |
|---|---|
| org.bytedeco.javacpp |
| Modifier and Type | Method and Description |
|---|---|
static opencv_core.Scalar |
opencv_core.Scalar.all(double v0)
returns a scalar with all elements set to v0
|
opencv_core.Scalar |
opencv_core.Scalar.conj() |
static opencv_core.Scalar |
opencv_core.mean(opencv_core.Mat src) |
static opencv_core.Scalar |
opencv_core.mean(opencv_core.Mat src,
opencv_core.Mat mask)
computes mean value of selected array elements
|
static opencv_core.Scalar |
opencv_imgproc.morphologyDefaultBorderValue()
returns "magic" border value for erosion and dilation.
|
opencv_core.Scalar |
opencv_core.Scalar.mul(opencv_core.Scalar t) |
opencv_core.Scalar |
opencv_core.Scalar.mul(opencv_core.Scalar t,
double scale)
per-element product
|
opencv_core.Scalar |
opencv_core.Scalar.position(int position) |
static opencv_core.Scalar |
opencv_core.sumElems(opencv_core.Mat src)
computes sum of array elements
|
static opencv_core.Scalar |
opencv_core.trace(opencv_core.Mat mtx)
computes trace of a matrix
|
| Modifier and Type | Method and Description |
|---|---|
static void |
opencv_core.circle(opencv_core.Mat img,
opencv_core.Point center,
int radius,
opencv_core.Scalar color) |
static void |
opencv_core.circle(opencv_core.Mat img,
opencv_core.Point center,
int radius,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift)
draws the circle outline or a solid circle in the image
|
static void |
opencv_imgproc.copyMakeBorder(opencv_core.Mat src,
opencv_core.Mat dst,
int top,
int bottom,
int left,
int right,
int borderType,
opencv_core.Scalar value)
copies 2D array to a larger destination array with extrapolation of the outer part of src using the specified border mode
|
static opencv_imgproc.FilterEngine |
opencv_imgproc.createLinearFilter(int srcType,
int dstType,
opencv_core.Mat kernel,
opencv_core.Point _anchor,
double delta,
int rowBorderType,
int columnBorderType,
opencv_core.Scalar borderValue)
returns the non-separable linear filter engine
|
static opencv_imgproc.FilterEngine |
opencv_imgproc.createMorphologyFilter(int op,
int type,
opencv_core.Mat kernel,
opencv_core.Point anchor,
int rowBorderType,
int columnBorderType,
opencv_core.Scalar borderValue)
returns morphological filter engine.
|
static opencv_imgproc.FilterEngine |
opencv_imgproc.createSeparableLinearFilter(int srcType,
int dstType,
opencv_core.Mat rowKernel,
opencv_core.Mat columnKernel,
opencv_core.Point anchor,
double delta,
int rowBorderType,
int columnBorderType,
opencv_core.Scalar borderValue)
returns the separable linear filter engine
|
static void |
opencv_imgproc.dilate(opencv_core.Mat src,
opencv_core.Mat dst,
opencv_core.Mat kernel,
opencv_core.Point anchor,
int iterations,
int borderType,
opencv_core.Scalar borderValue)
dilates the image (applies the local maximum operator)
|
static void |
opencv_imgproc.drawContours(opencv_core.Mat image,
opencv_core.MatVector contours,
int contourIdx,
opencv_core.Scalar color) |
static void |
opencv_imgproc.drawContours(opencv_core.Mat image,
opencv_core.MatVector contours,
int contourIdx,
opencv_core.Scalar color,
int thickness,
int lineType,
opencv_core.Mat hierarchy,
int maxLevel,
opencv_core.Point offset)
draws contours in the image
|
static void |
opencv_features2d.drawKeypoints(opencv_core.Mat image,
opencv_features2d.KeyPoint keypoints,
opencv_core.Mat outImage,
opencv_core.Scalar color,
int flags) |
static void |
opencv_features2d.drawMatches(opencv_core.Mat img1,
opencv_features2d.KeyPoint keypoints1,
opencv_core.Mat img2,
opencv_features2d.KeyPoint keypoints2,
opencv_features2d.DMatch matches1to2,
opencv_core.Mat outImg,
opencv_core.Scalar matchColor,
opencv_core.Scalar singlePointColor,
byte[] matchesMask,
int flags) |
static void |
opencv_features2d.drawMatches(opencv_core.Mat img1,
opencv_features2d.KeyPoint keypoints1,
opencv_core.Mat img2,
opencv_features2d.KeyPoint keypoints2,
opencv_features2d.DMatch matches1to2,
opencv_core.Mat outImg,
opencv_core.Scalar matchColor,
opencv_core.Scalar singlePointColor,
ByteBuffer matchesMask,
int flags) |
static void |
opencv_features2d.drawMatches(opencv_core.Mat img1,
opencv_features2d.KeyPoint keypoints1,
opencv_core.Mat img2,
opencv_features2d.KeyPoint keypoints2,
opencv_features2d.DMatch matches1to2,
opencv_core.Mat outImg,
opencv_core.Scalar matchColor,
opencv_core.Scalar singlePointColor,
BytePointer matchesMask,
int flags) |
static void |
opencv_features2d.drawMatches(opencv_core.Mat img1,
opencv_features2d.KeyPoint keypoints1,
opencv_core.Mat img2,
opencv_features2d.KeyPoint keypoints2,
opencv_features2d.DMatchVectorVector matches1to2,
opencv_core.Mat outImg,
opencv_core.Scalar matchColor,
opencv_core.Scalar singlePointColor,
opencv_core.ByteVectorVector matchesMask,
int flags) |
static void |
opencv_core.ellipse(opencv_core.Mat img,
opencv_core.Point center,
opencv_core.Size axes,
double angle,
double startAngle,
double endAngle,
opencv_core.Scalar color) |
static void |
opencv_core.ellipse(opencv_core.Mat img,
opencv_core.Point center,
opencv_core.Size axes,
double angle,
double startAngle,
double endAngle,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift)
draws an elliptic arc, ellipse sector or a rotated ellipse in the image
|
static void |
opencv_core.ellipse(opencv_core.Mat img,
opencv_core.RotatedRect box,
opencv_core.Scalar color) |
static void |
opencv_core.ellipse(opencv_core.Mat img,
opencv_core.RotatedRect box,
opencv_core.Scalar color,
int thickness,
int lineType)
draws a rotated ellipse in the image
|
static void |
opencv_imgproc.erode(opencv_core.Mat src,
opencv_core.Mat dst,
opencv_core.Mat kernel,
opencv_core.Point anchor,
int iterations,
int borderType,
opencv_core.Scalar borderValue)
erodes the image (applies the local minimum operator)
|
static void |
opencv_core.fillConvexPoly(opencv_core.Mat img,
opencv_core.Mat points,
opencv_core.Scalar color) |
static void |
opencv_core.fillConvexPoly(opencv_core.Mat img,
opencv_core.Mat points,
opencv_core.Scalar color,
int lineType,
int shift) |
static void |
opencv_core.fillConvexPoly(opencv_core.Mat img,
opencv_core.Point pts,
int npts,
opencv_core.Scalar color) |
static void |
opencv_core.fillConvexPoly(opencv_core.Mat img,
opencv_core.Point pts,
int npts,
opencv_core.Scalar color,
int lineType,
int shift)
draws a filled convex polygon in the image
|
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.MatVector pts,
opencv_core.Scalar color) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.MatVector pts,
opencv_core.Scalar color,
int lineType,
int shift,
opencv_core.Point offset) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.Point pts,
int[] npts,
int ncontours,
opencv_core.Scalar color) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.Point pts,
int[] npts,
int ncontours,
opencv_core.Scalar color,
int lineType,
int shift,
opencv_core.Point offset) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.Point pts,
IntBuffer npts,
int ncontours,
opencv_core.Scalar color) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.Point pts,
IntBuffer npts,
int ncontours,
opencv_core.Scalar color,
int lineType,
int shift,
opencv_core.Point offset) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.Point pts,
IntPointer npts,
int ncontours,
opencv_core.Scalar color) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
opencv_core.Point pts,
IntPointer npts,
int ncontours,
opencv_core.Scalar color,
int lineType,
int shift,
opencv_core.Point offset) |
static void |
opencv_core.fillPoly(opencv_core.Mat img,
PointerPointer pts,
IntPointer npts,
int ncontours,
opencv_core.Scalar color,
int lineType,
int shift,
opencv_core.Point offset)
fills an area bounded by one or more polygons
|
static int |
opencv_imgproc.floodFill(opencv_core.Mat image,
opencv_core.Mat mask,
opencv_core.Point seedPoint,
opencv_core.Scalar newVal) |
static int |
opencv_imgproc.floodFill(opencv_core.Mat image,
opencv_core.Mat mask,
opencv_core.Point seedPoint,
opencv_core.Scalar newVal,
opencv_core.Rect rect,
opencv_core.Scalar loDiff,
opencv_core.Scalar upDiff,
int flags)
fills the semi-uniform image region and/or the mask starting from the specified seed point
|
static int |
opencv_imgproc.floodFill(opencv_core.Mat image,
opencv_core.Point seedPoint,
opencv_core.Scalar newVal) |
static int |
opencv_imgproc.floodFill(opencv_core.Mat image,
opencv_core.Point seedPoint,
opencv_core.Scalar newVal,
opencv_core.Rect rect,
opencv_core.Scalar loDiff,
opencv_core.Scalar upDiff,
int flags)
fills the semi-uniform image region starting from the specified seed point
|
static opencv_core.CvFont |
opencv_highgui.fontQt(BytePointer nameFont,
int pointSize,
opencv_core.Scalar color,
int weight,
int style,
int spacing) |
static opencv_core.CvFont |
opencv_highgui.fontQt(String nameFont,
int pointSize,
opencv_core.Scalar color,
int weight,
int style,
int spacing) |
static void |
opencv_contrib.generateColors(opencv_core.Scalar colors,
long count) |
static void |
opencv_contrib.generateColors(opencv_core.Scalar colors,
long count,
long factor) |
void |
opencv_imgproc.FilterEngine.init(opencv_imgproc.BaseFilter _filter2D,
opencv_imgproc.BaseRowFilter _rowFilter,
opencv_imgproc.BaseColumnFilter _columnFilter,
int srcType,
int dstType,
int bufType,
int _rowBorderType,
int _columnBorderType,
opencv_core.Scalar _borderValue)
reinitializes the engine.
|
static void |
opencv_core.line(opencv_core.Mat img,
opencv_core.Point pt1,
opencv_core.Point pt2,
opencv_core.Scalar color) |
static void |
opencv_core.line(opencv_core.Mat img,
opencv_core.Point pt1,
opencv_core.Point pt2,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift)
draws the line segment (pt1, pt2) in the image
|
static void |
opencv_imgproc.morphologyEx(opencv_core.Mat src,
opencv_core.Mat dst,
int op,
opencv_core.Mat kernel,
opencv_core.Point anchor,
int iterations,
int borderType,
opencv_core.Scalar borderValue)
applies an advanced morphological operation to the image
|
opencv_core.Scalar |
opencv_core.Scalar.mul(opencv_core.Scalar t) |
opencv_core.Scalar |
opencv_core.Scalar.mul(opencv_core.Scalar t,
double scale)
per-element product
|
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.MatVector pts,
boolean isClosed,
opencv_core.Scalar color) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.MatVector pts,
boolean isClosed,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.Point pts,
int[] npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.Point pts,
int[] npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.Point pts,
IntBuffer npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.Point pts,
IntBuffer npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.Point pts,
IntPointer npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color) |
static void |
opencv_core.polylines(opencv_core.Mat img,
opencv_core.Point pts,
IntPointer npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift) |
static void |
opencv_core.polylines(opencv_core.Mat img,
PointerPointer pts,
IntPointer npts,
int ncontours,
boolean isClosed,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift)
draws one or more polygonal curves
|
opencv_core.Mat |
opencv_core.Mat.put(opencv_core.Scalar s)
sets every matrix element to s
|
static void |
opencv_core.putText(opencv_core.Mat img,
BytePointer text,
opencv_core.Point org,
int fontFace,
double fontScale,
opencv_core.Scalar color) |
static void |
opencv_core.putText(opencv_core.Mat img,
BytePointer text,
opencv_core.Point org,
int fontFace,
double fontScale,
opencv_core.Scalar color,
int thickness,
int lineType,
boolean bottomLeftOrigin)
renders text string in the image
|
static void |
opencv_core.putText(opencv_core.Mat img,
String text,
opencv_core.Point org,
int fontFace,
double fontScale,
opencv_core.Scalar color) |
static void |
opencv_core.putText(opencv_core.Mat img,
String text,
opencv_core.Point org,
int fontFace,
double fontScale,
opencv_core.Scalar color,
int thickness,
int lineType,
boolean bottomLeftOrigin) |
static void |
opencv_core.rectangle(opencv_core.Mat img,
opencv_core.Point pt1,
opencv_core.Point pt2,
opencv_core.Scalar color) |
static void |
opencv_core.rectangle(opencv_core.Mat img,
opencv_core.Point pt1,
opencv_core.Point pt2,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift)
draws the rectangle outline or a solid rectangle with the opposite corners pt1 and pt2 in the image
|
static void |
opencv_core.rectangle(opencv_core.Mat img,
opencv_core.Rect rec,
opencv_core.Scalar color) |
static void |
opencv_core.rectangle(opencv_core.Mat img,
opencv_core.Rect rec,
opencv_core.Scalar color,
int thickness,
int lineType,
int shift)
draws the rectangle outline or a solid rectangle covering rec in the image
|
static void |
opencv_imgproc.remap(opencv_core.Mat src,
opencv_core.Mat dst,
opencv_core.Mat map1,
opencv_core.Mat map2,
int interpolation,
int borderMode,
opencv_core.Scalar borderValue)
warps the image using the precomputed maps.
|
void |
opencv_core.Mat.resize(long sz,
opencv_core.Scalar s)
resizes matrix to the specified number of hyper-planes; initializes the newly added elements
|
static void |
opencv_core.scalarToRawData(opencv_core.Scalar s,
Pointer buf,
int type) |
static void |
opencv_core.scalarToRawData(opencv_core.Scalar s,
Pointer buf,
int type,
int unroll_to) |
static void |
opencv_core.setIdentity(opencv_core.Mat mtx,
opencv_core.Scalar s)
initializes scaled identity matrix
|
static void |
opencv_imgproc.warpAffine(opencv_core.Mat src,
opencv_core.Mat dst,
opencv_core.Mat M,
opencv_core.Size dsize,
int flags,
int borderMode,
opencv_core.Scalar borderValue)
warps the image using affine transformation
|
static void |
opencv_imgproc.warpPerspective(opencv_core.Mat src,
opencv_core.Mat dst,
opencv_core.Mat M,
opencv_core.Size dsize,
int flags,
int borderMode,
opencv_core.Scalar borderValue)
warps the image using perspective transformation
|
void |
opencv_contrib.Mesh3D.writeAsVrml(BytePointer file,
opencv_core.Scalar colors) |
void |
opencv_contrib.Mesh3D.writeAsVrml(String file,
opencv_core.Scalar colors) |
| Constructor and Description |
|---|
opencv_core.Mat(int ndims,
int[] sizes,
int type,
opencv_core.Scalar s) |
opencv_core.Mat(int ndims,
IntBuffer sizes,
int type,
opencv_core.Scalar s) |
opencv_core.Mat(int rows,
int cols,
int type,
opencv_core.Scalar s)
constucts 2D matrix and fills it with the specified value _s.
|
opencv_core.Mat(int ndims,
IntPointer sizes,
int type,
opencv_core.Scalar s) |
opencv_core.Mat(opencv_core.Size size,
int type,
opencv_core.Scalar s) |
opencv_imgproc.FilterEngine(opencv_imgproc.BaseFilter _filter2D,
opencv_imgproc.BaseRowFilter _rowFilter,
opencv_imgproc.BaseColumnFilter _columnFilter,
int srcType,
int dstType,
int bufType,
int _rowBorderType,
int _columnBorderType,
opencv_core.Scalar _borderValue)
the full constructor.
|
Copyright © 2014. All Rights Reserved.