public class Core
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Core.MinMaxLocResult |
Constructor and Description |
---|
Core() |
Modifier and Type | Method and Description |
---|---|
static void |
absdiff(Mat src1,
Mat src2,
Mat dst) |
static void |
absdiff(Mat src1,
Scalar src2,
Mat dst) |
static void |
add(Mat src1,
Mat src2,
Mat dst) |
static void |
add(Mat src1,
Mat src2,
Mat dst,
Mat mask) |
static void |
add(Mat src1,
Mat src2,
Mat dst,
Mat mask,
int dtype) |
static void |
add(Mat src1,
Scalar src2,
Mat dst) |
static void |
add(Mat src1,
Scalar src2,
Mat dst,
Mat mask) |
static void |
add(Mat src1,
Scalar src2,
Mat dst,
Mat mask,
int dtype) |
static void |
addWeighted(Mat src1,
double alpha,
Mat src2,
double beta,
double gamma,
Mat dst) |
static void |
addWeighted(Mat src1,
double alpha,
Mat src2,
double beta,
double gamma,
Mat dst,
int dtype) |
static void |
batchDistance(Mat src1,
Mat src2,
Mat dist,
int dtype,
Mat nidx) |
static void |
batchDistance(Mat src1,
Mat src2,
Mat dist,
int dtype,
Mat nidx,
int normType,
int K) |
static void |
batchDistance(Mat src1,
Mat src2,
Mat dist,
int dtype,
Mat nidx,
int normType,
int K,
Mat mask,
int update,
boolean crosscheck) |
static void |
bitwise_and(Mat src1,
Mat src2,
Mat dst) |
static void |
bitwise_and(Mat src1,
Mat src2,
Mat dst,
Mat mask) |
static void |
bitwise_not(Mat src,
Mat dst) |
static void |
bitwise_not(Mat src,
Mat dst,
Mat mask) |
static void |
bitwise_or(Mat src1,
Mat src2,
Mat dst) |
static void |
bitwise_or(Mat src1,
Mat src2,
Mat dst,
Mat mask) |
static void |
bitwise_xor(Mat src1,
Mat src2,
Mat dst) |
static void |
bitwise_xor(Mat src1,
Mat src2,
Mat dst,
Mat mask) |
static int |
borderInterpolate(int p,
int len,
int borderType) |
static void |
calcCovarMatrix(Mat samples,
Mat covar,
Mat mean,
int flags) |
static void |
calcCovarMatrix(Mat samples,
Mat covar,
Mat mean,
int flags,
int ctype) |
static void |
cartToPolar(Mat x,
Mat y,
Mat magnitude,
Mat angle) |
static void |
cartToPolar(Mat x,
Mat y,
Mat magnitude,
Mat angle,
boolean angleInDegrees) |
static boolean |
checkRange(Mat a) |
static boolean |
checkRange(Mat a,
boolean quiet,
double minVal,
double maxVal) |
static void |
compare(Mat src1,
Mat src2,
Mat dst,
int cmpop) |
static void |
compare(Mat src1,
Scalar src2,
Mat dst,
int cmpop) |
static void |
completeSymm(Mat mtx) |
static void |
completeSymm(Mat mtx,
boolean lowerToUpper) |
static void |
convertScaleAbs(Mat src,
Mat dst) |
static void |
convertScaleAbs(Mat src,
Mat dst,
double alpha,
double beta) |
static void |
copyMakeBorder(Mat src,
Mat dst,
int top,
int bottom,
int left,
int right,
int borderType) |
static void |
copyMakeBorder(Mat src,
Mat dst,
int top,
int bottom,
int left,
int right,
int borderType,
Scalar value) |
static int |
countNonZero(Mat src) |
static float |
cubeRoot(float val) |
static void |
dct(Mat src,
Mat dst) |
static void |
dct(Mat src,
Mat dst,
int flags) |
static double |
determinant(Mat mtx) |
static void |
dft(Mat src,
Mat dst) |
static void |
dft(Mat src,
Mat dst,
int flags,
int nonzeroRows) |
static void |
divide(double scale,
Mat src2,
Mat dst) |
static void |
divide(double scale,
Mat src2,
Mat dst,
int dtype) |
static void |
divide(Mat src1,
Mat src2,
Mat dst) |
static void |
divide(Mat src1,
Mat src2,
Mat dst,
double scale) |
static void |
divide(Mat src1,
Mat src2,
Mat dst,
double scale,
int dtype) |
static void |
divide(Mat src1,
Scalar src2,
Mat dst) |
static void |
divide(Mat src1,
Scalar src2,
Mat dst,
double scale) |
static void |
divide(Mat src1,
Scalar src2,
Mat dst,
double scale,
int dtype) |
static boolean |
eigen(Mat src,
Mat eigenvalues) |
static boolean |
eigen(Mat src,
Mat eigenvalues,
Mat eigenvectors) |
static void |
exp(Mat src,
Mat dst) |
static void |
extractChannel(Mat src,
Mat dst,
int coi) |
static float |
fastAtan2(float y,
float x) |
static void |
findNonZero(Mat src,
Mat idx) |
static void |
flip(Mat src,
Mat dst,
int flipCode) |
static void |
gemm(Mat src1,
Mat src2,
double alpha,
Mat src3,
double beta,
Mat dst) |
static void |
gemm(Mat src1,
Mat src2,
double alpha,
Mat src3,
double beta,
Mat dst,
int flags) |
static java.lang.String |
getBuildInformation() |
static long |
getCPUTickCount() |
static int |
getNumberOfCPUs() |
static int |
getNumThreads() |
static int |
getOptimalDFTSize(int vecsize) |
static int |
getThreadNum() |
static long |
getTickCount() |
static double |
getTickFrequency() |
static void |
hconcat(java.util.List<Mat> src,
Mat dst) |
static void |
idct(Mat src,
Mat dst) |
static void |
idct(Mat src,
Mat dst,
int flags) |
static void |
idft(Mat src,
Mat dst) |
static void |
idft(Mat src,
Mat dst,
int flags,
int nonzeroRows) |
static void |
inRange(Mat src,
Scalar lowerb,
Scalar upperb,
Mat dst) |
static void |
insertChannel(Mat src,
Mat dst,
int coi) |
static double |
invert(Mat src,
Mat dst) |
static double |
invert(Mat src,
Mat dst,
int flags) |
static double |
kmeans(Mat data,
int K,
Mat bestLabels,
TermCriteria criteria,
int attempts,
int flags) |
static double |
kmeans(Mat data,
int K,
Mat bestLabels,
TermCriteria criteria,
int attempts,
int flags,
Mat centers) |
static void |
log(Mat src,
Mat dst) |
static void |
LUT(Mat src,
Mat lut,
Mat dst) |
static void |
magnitude(Mat x,
Mat y,
Mat magnitude) |
static double |
Mahalanobis(Mat v1,
Mat v2,
Mat icovar) |
static void |
max(Mat src1,
Mat src2,
Mat dst) |
static void |
max(Mat src1,
Scalar src2,
Mat dst) |
static Scalar |
mean(Mat src) |
static Scalar |
mean(Mat src,
Mat mask) |
static void |
meanStdDev(Mat src,
MatOfDouble mean,
MatOfDouble stddev) |
static void |
meanStdDev(Mat src,
MatOfDouble mean,
MatOfDouble stddev,
Mat mask) |
static void |
merge(java.util.List<Mat> mv,
Mat dst) |
static void |
min(Mat src1,
Mat src2,
Mat dst) |
static void |
min(Mat src1,
Scalar src2,
Mat dst) |
static Core.MinMaxLocResult |
minMaxLoc(Mat src) |
static Core.MinMaxLocResult |
minMaxLoc(Mat src,
Mat mask) |
static void |
mixChannels(java.util.List<Mat> src,
java.util.List<Mat> dst,
MatOfInt fromTo) |
static void |
mulSpectrums(Mat a,
Mat b,
Mat c,
int flags) |
static void |
mulSpectrums(Mat a,
Mat b,
Mat c,
int flags,
boolean conjB) |
static void |
multiply(Mat src1,
Mat src2,
Mat dst) |
static void |
multiply(Mat src1,
Mat src2,
Mat dst,
double scale) |
static void |
multiply(Mat src1,
Mat src2,
Mat dst,
double scale,
int dtype) |
static void |
multiply(Mat src1,
Scalar src2,
Mat dst) |
static void |
multiply(Mat src1,
Scalar src2,
Mat dst,
double scale) |
static void |
multiply(Mat src1,
Scalar src2,
Mat dst,
double scale,
int dtype) |
static void |
mulTransposed(Mat src,
Mat dst,
boolean aTa) |
static void |
mulTransposed(Mat src,
Mat dst,
boolean aTa,
Mat delta,
double scale) |
static void |
mulTransposed(Mat src,
Mat dst,
boolean aTa,
Mat delta,
double scale,
int dtype) |
static double |
norm(Mat src1) |
static double |
norm(Mat src1,
int normType) |
static double |
norm(Mat src1,
int normType,
Mat mask) |
static double |
norm(Mat src1,
Mat src2) |
static double |
norm(Mat src1,
Mat src2,
int normType) |
static double |
norm(Mat src1,
Mat src2,
int normType,
Mat mask) |
static void |
normalize(Mat src,
Mat dst) |
static void |
normalize(Mat src,
Mat dst,
double alpha,
double beta,
int norm_type) |
static void |
normalize(Mat src,
Mat dst,
double alpha,
double beta,
int norm_type,
int dtype) |
static void |
normalize(Mat src,
Mat dst,
double alpha,
double beta,
int norm_type,
int dtype,
Mat mask) |
static void |
patchNaNs(Mat a) |
static void |
patchNaNs(Mat a,
double val) |
static void |
PCABackProject(Mat data,
Mat mean,
Mat eigenvectors,
Mat result) |
static void |
PCACompute(Mat data,
Mat mean,
Mat eigenvectors) |
static void |
PCACompute(Mat data,
Mat mean,
Mat eigenvectors,
double retainedVariance) |
static void |
PCACompute(Mat data,
Mat mean,
Mat eigenvectors,
int maxComponents) |
static void |
PCAProject(Mat data,
Mat mean,
Mat eigenvectors,
Mat result) |
static void |
perspectiveTransform(Mat src,
Mat dst,
Mat m) |
static void |
phase(Mat x,
Mat y,
Mat angle) |
static void |
phase(Mat x,
Mat y,
Mat angle,
boolean angleInDegrees) |
static void |
polarToCart(Mat magnitude,
Mat angle,
Mat x,
Mat y) |
static void |
polarToCart(Mat magnitude,
Mat angle,
Mat x,
Mat y,
boolean angleInDegrees) |
static void |
pow(Mat src,
double power,
Mat dst) |
static double |
PSNR(Mat src1,
Mat src2) |
static void |
randn(Mat dst,
double mean,
double stddev) |
static void |
randShuffle(Mat dst) |
static void |
randShuffle(Mat dst,
double iterFactor) |
static void |
randu(Mat dst,
double low,
double high) |
static void |
reduce(Mat src,
Mat dst,
int dim,
int rtype) |
static void |
reduce(Mat src,
Mat dst,
int dim,
int rtype,
int dtype) |
static void |
repeat(Mat src,
int ny,
int nx,
Mat dst) |
static void |
scaleAdd(Mat src1,
double alpha,
Mat src2,
Mat dst) |
static void |
setErrorVerbosity(boolean verbose) |
static void |
setIdentity(Mat mtx) |
static void |
setIdentity(Mat mtx,
Scalar s) |
static void |
setNumThreads(int nthreads) |
static boolean |
solve(Mat src1,
Mat src2,
Mat dst) |
static boolean |
solve(Mat src1,
Mat src2,
Mat dst,
int flags) |
static int |
solveCubic(Mat coeffs,
Mat roots) |
static double |
solvePoly(Mat coeffs,
Mat roots) |
static double |
solvePoly(Mat coeffs,
Mat roots,
int maxIters) |
static void |
sort(Mat src,
Mat dst,
int flags) |
static void |
sortIdx(Mat src,
Mat dst,
int flags) |
static void |
split(Mat m,
java.util.List<Mat> mv) |
static void |
sqrt(Mat src,
Mat dst) |
static void |
subtract(Mat src1,
Mat src2,
Mat dst) |
static void |
subtract(Mat src1,
Mat src2,
Mat dst,
Mat mask) |
static void |
subtract(Mat src1,
Mat src2,
Mat dst,
Mat mask,
int dtype) |
static void |
subtract(Mat src1,
Scalar src2,
Mat dst) |
static void |
subtract(Mat src1,
Scalar src2,
Mat dst,
Mat mask) |
static void |
subtract(Mat src1,
Scalar src2,
Mat dst,
Mat mask,
int dtype) |
static Scalar |
sumElems(Mat src) |
static void |
SVBackSubst(Mat w,
Mat u,
Mat vt,
Mat rhs,
Mat dst) |
static void |
SVDecomp(Mat src,
Mat w,
Mat u,
Mat vt) |
static void |
SVDecomp(Mat src,
Mat w,
Mat u,
Mat vt,
int flags) |
static Scalar |
trace(Mat mtx) |
static void |
transform(Mat src,
Mat dst,
Mat m) |
static void |
transpose(Mat src,
Mat dst) |
static void |
vconcat(java.util.List<Mat> src,
Mat dst) |
public static final int BadAlign
public static final int BadAlphaChannel
public static final int BadCallBack
public static final int BadCOI
public static final int BadDataPtr
public static final int BadDepth
public static final int BadImageSize
public static final int BadModelOrChSeq
public static final int BadNumChannel1U
public static final int BadNumChannels
public static final int BadOffset
public static final int BadOrder
public static final int BadOrigin
public static final int BadROISize
public static final int BadStep
public static final int BadTileSize
public static final int BORDER_CONSTANT
public static final int BORDER_DEFAULT
public static final int BORDER_ISOLATED
public static final int BORDER_REFLECT
public static final int BORDER_REFLECT_101
public static final int BORDER_REFLECT101
public static final int BORDER_REPLICATE
public static final int BORDER_TRANSPARENT
public static final int BORDER_WRAP
public static final int CMP_EQ
public static final int CMP_GE
public static final int CMP_GT
public static final int CMP_LE
public static final int CMP_LT
public static final int CMP_NE
public static final int COVAR_COLS
public static final int COVAR_NORMAL
public static final int COVAR_ROWS
public static final int COVAR_SCALE
public static final int COVAR_SCRAMBLED
public static final int COVAR_USE_AVG
public static final int DCT_INVERSE
public static final int DCT_ROWS
public static final int DECOMP_CHOLESKY
public static final int DECOMP_EIG
public static final int DECOMP_LU
public static final int DECOMP_NORMAL
public static final int DECOMP_QR
public static final int DECOMP_SVD
public static final int DFT_COMPLEX_OUTPUT
public static final int DFT_INVERSE
public static final int DFT_REAL_OUTPUT
public static final int DFT_ROWS
public static final int DFT_SCALE
public static final int FILLED
public static final int FONT_HERSHEY_COMPLEX
public static final int FONT_HERSHEY_COMPLEX_SMALL
public static final int FONT_HERSHEY_DUPLEX
public static final int FONT_HERSHEY_PLAIN
public static final int FONT_HERSHEY_SCRIPT_COMPLEX
public static final int FONT_HERSHEY_SCRIPT_SIMPLEX
public static final int FONT_HERSHEY_SIMPLEX
public static final int FONT_HERSHEY_TRIPLEX
public static final int FONT_ITALIC
public static final int GEMM_1_T
public static final int GEMM_2_T
public static final int GEMM_3_T
public static final int GpuApiCallError
public static final int GpuNotSupported
public static final int HeaderIsNull
public static final int KMEANS_PP_CENTERS
public static final int KMEANS_RANDOM_CENTERS
public static final int KMEANS_USE_INITIAL_LABELS
public static final int LINE_4
public static final int LINE_8
public static final int LINE_AA
public static final int MaskIsTiled
public static final java.lang.String NATIVE_LIBRARY_NAME
public static final int NORM_HAMMING
public static final int NORM_HAMMING2
public static final int NORM_INF
public static final int NORM_L1
public static final int NORM_L2
public static final int NORM_L2SQR
public static final int NORM_MINMAX
public static final int NORM_RELATIVE
public static final int NORM_TYPE_MASK
public static final int OpenCLApiCallError
public static final int OpenCLDoubleNotSupported
public static final int OpenCLInitError
public static final int OpenCLNoAMDBlasFft
public static final int OpenGlApiCallError
public static final int OpenGlNotSupported
public static final int REDUCE_AVG
public static final int REDUCE_MAX
public static final int REDUCE_MIN
public static final int REDUCE_SUM
public static final int SORT_ASCENDING
public static final int SORT_DESCENDING
public static final int SORT_EVERY_COLUMN
public static final int SORT_EVERY_ROW
public static final int StsAssert
public static final int StsAutoTrace
public static final int StsBackTrace
public static final int StsBadArg
public static final int StsBadFlag
public static final int StsBadFunc
public static final int StsBadMask
public static final int StsBadMemBlock
public static final int StsBadPoint
public static final int StsBadSize
public static final int StsDivByZero
public static final int StsError
public static final int StsFilterOffsetErr
public static final int StsFilterStructContentErr
public static final int StsInplaceNotSupported
public static final int StsInternal
public static final int StsKernelStructContentErr
public static final int StsNoConv
public static final int StsNoMem
public static final int StsNotImplemented
public static final int StsNullPtr
public static final int StsObjectNotFound
public static final int StsOk
public static final int StsOutOfRange
public static final int StsParseError
public static final int StsUnmatchedFormats
public static final int StsUnmatchedSizes
public static final int StsUnsupportedFormat
public static final int StsVecLengthErr
public static final int SVD_FULL_UV
public static final int SVD_MODIFY_A
public static final int SVD_NO_UV
public static final java.lang.String VERSION
public static final int VERSION_MAJOR
public static final int VERSION_MINOR
public static final int VERSION_REVISION
public static final java.lang.String VERSION_STATUS
public static void addWeighted(Mat src1, double alpha, Mat src2, double beta, double gamma, Mat dst)
public static void addWeighted(Mat src1, double alpha, Mat src2, double beta, double gamma, Mat dst, int dtype)
public static void batchDistance(Mat src1, Mat src2, Mat dist, int dtype, Mat nidx, int normType, int K)
public static void batchDistance(Mat src1, Mat src2, Mat dist, int dtype, Mat nidx, int normType, int K, Mat mask, int update, boolean crosscheck)
public static int borderInterpolate(int p, int len, int borderType)
public static void calcCovarMatrix(Mat samples, Mat covar, Mat mean, int flags, int ctype)
public static void cartToPolar(Mat x, Mat y, Mat magnitude, Mat angle, boolean angleInDegrees)
public static boolean checkRange(Mat a)
public static boolean checkRange(Mat a, boolean quiet, double minVal, double maxVal)
public static void completeSymm(Mat mtx)
public static void completeSymm(Mat mtx, boolean lowerToUpper)
public static void copyMakeBorder(Mat src, Mat dst, int top, int bottom, int left, int right, int borderType)
public static void copyMakeBorder(Mat src, Mat dst, int top, int bottom, int left, int right, int borderType, Scalar value)
public static int countNonZero(Mat src)
public static float cubeRoot(float val)
public static double determinant(Mat mtx)
public static float fastAtan2(float y, float x)
public static void gemm(Mat src1, Mat src2, double alpha, Mat src3, double beta, Mat dst, int flags)
public static java.lang.String getBuildInformation()
public static long getCPUTickCount()
public static int getNumberOfCPUs()
public static int getNumThreads()
public static int getOptimalDFTSize(int vecsize)
public static int getThreadNum()
public static long getTickCount()
public static double getTickFrequency()
public static double kmeans(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, int flags)
public static double kmeans(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, int flags, Mat centers)
public static void meanStdDev(Mat src, MatOfDouble mean, MatOfDouble stddev)
public static void meanStdDev(Mat src, MatOfDouble mean, MatOfDouble stddev, Mat mask)
public static Core.MinMaxLocResult minMaxLoc(Mat src)
public static Core.MinMaxLocResult minMaxLoc(Mat src, Mat mask)
public static void mixChannels(java.util.List<Mat> src, java.util.List<Mat> dst, MatOfInt fromTo)
public static void mulTransposed(Mat src, Mat dst, boolean aTa, Mat delta, double scale)
public static void mulTransposed(Mat src, Mat dst, boolean aTa, Mat delta, double scale, int dtype)
public static double norm(Mat src1)
public static double norm(Mat src1, int normType)
public static void normalize(Mat src, Mat dst, double alpha, double beta, int norm_type, int dtype)
public static void normalize(Mat src, Mat dst, double alpha, double beta, int norm_type, int dtype, Mat mask)
public static void patchNaNs(Mat a)
public static void patchNaNs(Mat a, double val)
public static void PCACompute(Mat data, Mat mean, Mat eigenvectors, double retainedVariance)
public static void polarToCart(Mat magnitude, Mat angle, Mat x, Mat y, boolean angleInDegrees)
public static void randn(Mat dst, double mean, double stddev)
public static void randShuffle(Mat dst)
public static void randShuffle(Mat dst, double iterFactor)
public static void randu(Mat dst, double low, double high)
public static void setErrorVerbosity(boolean verbose)
public static void setIdentity(Mat mtx)
public static void setNumThreads(int nthreads)