K 292 3rdparty/libwebp/dsp/dec.c const int K = dst[-1 + 2 * BPS]; K 299 3rdparty/libwebp/dsp/dec.c DST(0, 3) = AVG3(J, K, L); K 300 3rdparty/libwebp/dsp/dec.c DST(0, 2) = DST(1, 3) = AVG3(I, J, K); K 329 3rdparty/libwebp/dsp/dec.c const int K = dst[-1 + 2 * BPS]; K 340 3rdparty/libwebp/dsp/dec.c DST(0, 3) = AVG3(K, J, I); K 373 3rdparty/libwebp/dsp/dec.c const int K = dst[-1 + 2 * BPS]; K 376 3rdparty/libwebp/dsp/dec.c DST(2, 0) = DST(0, 1) = AVG2(J, K); K 377 3rdparty/libwebp/dsp/dec.c DST(2, 1) = DST(0, 2) = AVG2(K, L); K 378 3rdparty/libwebp/dsp/dec.c DST(1, 0) = AVG3(I, J, K); K 379 3rdparty/libwebp/dsp/dec.c DST(3, 0) = DST(1, 1) = AVG3(J, K, L); K 380 3rdparty/libwebp/dsp/dec.c DST(3, 1) = DST(1, 2) = AVG3(K, L, L); K 388 3rdparty/libwebp/dsp/dec.c const int K = dst[-1 + 2 * BPS]; K 397 3rdparty/libwebp/dsp/dec.c DST(0, 2) = DST(2, 3) = AVG2(K, J); K 398 3rdparty/libwebp/dsp/dec.c DST(0, 3) = AVG2(L, K); K 404 3rdparty/libwebp/dsp/dec.c DST(1, 2) = DST(3, 3) = AVG3(K, J, I); K 405 3rdparty/libwebp/dsp/dec.c DST(1, 3) = AVG3(L, K, J); K 365 3rdparty/libwebp/dsp/enc.c const int K = top[-4]; K 368 3rdparty/libwebp/dsp/enc.c *(uint32_t*)(dst + 1 * BPS) = 0x01010101U * AVG3(I, J, K); K 369 3rdparty/libwebp/dsp/enc.c *(uint32_t*)(dst + 2 * BPS) = 0x01010101U * AVG3(J, K, L); K 370 3rdparty/libwebp/dsp/enc.c *(uint32_t*)(dst + 3 * BPS) = 0x01010101U * AVG3(K, L, L); K 384 3rdparty/libwebp/dsp/enc.c const int K = top[-4]; K 390 3rdparty/libwebp/dsp/enc.c DST(0, 3) = AVG3(J, K, L); K 391 3rdparty/libwebp/dsp/enc.c DST(0, 2) = DST(1, 3) = AVG3(I, J, K); K 421 3rdparty/libwebp/dsp/enc.c const int K = top[-4]; K 431 3rdparty/libwebp/dsp/enc.c DST(0, 3) = AVG3(K, J, I); K 464 3rdparty/libwebp/dsp/enc.c const int K = top[-4]; K 467 3rdparty/libwebp/dsp/enc.c DST(2, 0) = DST(0, 1) = AVG2(J, K); K 468 3rdparty/libwebp/dsp/enc.c DST(2, 1) = DST(0, 2) = AVG2(K, L); K 469 3rdparty/libwebp/dsp/enc.c DST(1, 0) = AVG3(I, J, K); K 470 3rdparty/libwebp/dsp/enc.c DST(3, 0) = DST(1, 1) = AVG3(J, K, L); K 471 3rdparty/libwebp/dsp/enc.c DST(3, 1) = DST(1, 2) = AVG3(K, L, L); K 480 3rdparty/libwebp/dsp/enc.c const int K = top[-4]; K 488 3rdparty/libwebp/dsp/enc.c DST(0, 2) = DST(2, 3) = AVG2(K, J); K 489 3rdparty/libwebp/dsp/enc.c DST(0, 3) = AVG2(L, K); K 495 3rdparty/libwebp/dsp/enc.c DST(1, 2) = DST(3, 3) = AVG3(K, J, I); K 496 3rdparty/libwebp/dsp/enc.c DST(1, 3) = AVG3(L, K, J); K 1439 modules/calib3d/include/opencv2/calib3d.hpp InputArray K, K 1663 modules/calib3d/include/opencv2/calib3d.hpp InputArray K, InputArray D, double alpha = 0, OutputArray jacobian = noArray()); K 1667 modules/calib3d/include/opencv2/calib3d.hpp InputArray K, InputArray D, double alpha = 0, OutputArray jacobian = noArray()); K 1678 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W void distortPoints(InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha = 0); K 1692 modules/calib3d/include/opencv2/calib3d.hpp InputArray K, InputArray D, InputArray R = noArray(), InputArray P = noArray()); K 1708 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W void initUndistortRectifyMap(InputArray K, InputArray D, InputArray R, InputArray P, K 1740 modules/calib3d/include/opencv2/calib3d.hpp InputArray K, InputArray D, InputArray Knew = cv::noArray(), const Size& new_size = Size()); K 1755 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W void estimateNewCameraMatrixForUndistortRectify(InputArray K, InputArray D, const Size &image_size, InputArray R, K 1790 modules/calib3d/include/opencv2/calib3d.hpp InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags = 0, K 1650 modules/calib3d/src/calibration.cpp CvMat K[2], Dist[2], om_LR, T_LR; K 1694 modules/calib3d/src/calibration.cpp K[k] = cvMat(3,3,CV_64F,A[k]); K 1703 modules/calib3d/src/calibration.cpp cvConvert( cameraMatrix, &K[k] ); K 1716 modules/calib3d/src/calibration.cpp npoints, imageSize, &K[k], &Dist[k], 0, 0, flags ); K 1815 modules/calib3d/src/calibration.cpp cvFindExtrinsicCameraParams2( &objpt_i, &imgpt_i[k], &K[k], &Dist[k], &om[k], &T[k] ); K 1964 modules/calib3d/src/calibration.cpp cvProjectPoints2( &objpt_i, &om[k], &T[k], &K[k], &Dist[k], K 1968 modules/calib3d/src/calibration.cpp cvProjectPoints2( &objpt_i, &om[k], &T[k], &K[k], &Dist[k], &tmpimagePoints ); K 2052 modules/calib3d/src/calibration.cpp cvConvert( &K[0], _cameraMatrix1 ); K 2053 modules/calib3d/src/calibration.cpp cvConvert( &K[1], _cameraMatrix2 ); K 2084 modules/calib3d/src/calibration.cpp cvInvert(&K[1], &iK); K 2086 modules/calib3d/src/calibration.cpp cvInvert(&K[0], &iK); K 2552 modules/calib3d/src/calibration.cpp CvMat K = cvMat(3, 3, CV_64F, k); K 2553 modules/calib3d/src/calibration.cpp cvMatMul( &K, &T, &H2 ); K 2554 modules/calib3d/src/calibration.cpp cvMatMul( &K, &E2, &E2 ); K 63 modules/calib3d/src/fisheye.cpp InputArray K, InputArray D, double alpha, OutputArray jacobian) K 65 modules/calib3d/src/fisheye.cpp projectPoints(objectPoints, imagePoints, affine.rvec(), affine.translation(), K, D, alpha, jacobian); K 89 modules/calib3d/src/fisheye.cpp Matx33f K = _K.getMat(); K 90 modules/calib3d/src/fisheye.cpp f = Vec2f(K(0, 0), K(1, 1)); K 91 modules/calib3d/src/fisheye.cpp c = Vec2f(K(0, 2), K(1, 2)); K 95 modules/calib3d/src/fisheye.cpp Matx33d K = _K.getMat(); K 96 modules/calib3d/src/fisheye.cpp f = Vec2d(K(0, 0), K(1, 1)); K 97 modules/calib3d/src/fisheye.cpp c = Vec2d(K(0, 2), K(1, 2)); K 250 modules/calib3d/src/fisheye.cpp void cv::fisheye::distortPoints(InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha) K 257 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3,3) && (K.type() == CV_32F || K.type() == CV_64F) && D.total() == 4); K 260 modules/calib3d/src/fisheye.cpp if (K.depth() == CV_32F) K 262 modules/calib3d/src/fisheye.cpp Matx33f camMat = K.getMat(); K 268 modules/calib3d/src/fisheye.cpp Matx33d camMat = K.getMat(); K 312 modules/calib3d/src/fisheye.cpp void cv::fisheye::undistortPoints( InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray R, InputArray P) K 320 modules/calib3d/src/fisheye.cpp CV_Assert(D.total() == 4 && K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); K 323 modules/calib3d/src/fisheye.cpp if (K.depth() == CV_32F) K 325 modules/calib3d/src/fisheye.cpp Matx33f camMat = K.getMat(); K 331 modules/calib3d/src/fisheye.cpp Matx33d camMat = K.getMat(); K 401 modules/calib3d/src/fisheye.cpp void cv::fisheye::initUndistortRectifyMap( InputArray K, InputArray D, InputArray R, InputArray P, K 408 modules/calib3d/src/fisheye.cpp CV_Assert((K.depth() == CV_32F || K.depth() == CV_64F) && (D.depth() == CV_32F || D.depth() == CV_64F)); K 410 modules/calib3d/src/fisheye.cpp CV_Assert(K.size() == Size(3, 3) && (D.empty() || D.total() == 4)); K 415 modules/calib3d/src/fisheye.cpp if (K.depth() == CV_32F) K 417 modules/calib3d/src/fisheye.cpp Matx33f camMat = K.getMat(); K 423 modules/calib3d/src/fisheye.cpp Matx33d camMat = K.getMat(); K 498 modules/calib3d/src/fisheye.cpp InputArray K, InputArray D, InputArray Knew, const Size& new_size) K 503 modules/calib3d/src/fisheye.cpp fisheye::initUndistortRectifyMap(K, D, cv::Matx33d::eye(), Knew, size, CV_16SC2, map1, map2 ); K 511 modules/calib3d/src/fisheye.cpp void cv::fisheye::estimateNewCameraMatrixForUndistortRectify(InputArray K, InputArray D, const Size &image_size, InputArray R, K 514 modules/calib3d/src/fisheye.cpp CV_Assert( K.size() == Size(3, 3) && (K.depth() == CV_32F || K.depth() == CV_64F)); K 541 modules/calib3d/src/fisheye.cpp fisheye::undistortPoints(points, points, K, D, R); K 545 modules/calib3d/src/fisheye.cpp double aspect_ratio = (K.depth() == CV_32F) ? K.getMat().at<float >(0,0)/K.getMat().at<float> (1,1) K 546 modules/calib3d/src/fisheye.cpp : K.getMat().at<double>(0,0)/K.getMat().at<double>(1,1); K 601 modules/calib3d/src/fisheye.cpp 0, 0, 1)).convertTo(P, P.empty() ? K.type() : P.type()); K 691 modules/calib3d/src/fisheye.cpp InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, K 697 modules/calib3d/src/fisheye.cpp CV_Assert((!K.empty() && K.size() == Size(3,3)) || K.empty()); K 702 modules/calib3d/src/fisheye.cpp CV_Assert(((flags & CALIB_USE_INTRINSIC_GUESS) && !K.empty() && !D.empty()) || !(flags & CALIB_USE_INTRINSIC_GUESS)); K 732 modules/calib3d/src/fisheye.cpp K.getMat().convertTo(_K, CV_64FC1); K 795 modules/calib3d/src/fisheye.cpp if (K.needed()) cv::Mat(_K).convertTo(K, K.empty() ? CV_64FC1 : K.type()); K 1149 modules/calib3d/src/fisheye.cpp Matx33d K(param.f[0], param.f[0] * param.alpha, param.c[0], K 1152 modules/calib3d/src/fisheye.cpp fisheye::projectPoints(objectPoints, imagePoints, _rvec, _tvec, K, param.k, param.alpha, jacobian); K 75 modules/calib3d/src/homography_decomp.cpp virtual void decomposeHomography(const cv::Matx33d& H, const cv::Matx33d& K, K 87 modules/calib3d/src/homography_decomp.cpp cv::Matx33d normalize(const cv::Matx33d& H, const cv::Matx33d& K); K 116 modules/calib3d/src/homography_decomp.cpp Matx33d HomographyDecomp::normalize(const Matx33d& H, const Matx33d& K) K 118 modules/calib3d/src/homography_decomp.cpp return K.inv() * H * K; K 152 modules/calib3d/src/homography_decomp.cpp void HomographyDecomp::decomposeHomography(const Matx33d& H, const cv::Matx33d& K, K 156 modules/calib3d/src/homography_decomp.cpp _Hnorm = normalize(H, K); K 447 modules/calib3d/src/homography_decomp.cpp Mat K = _K.getMat().reshape(1, 3); K 448 modules/calib3d/src/homography_decomp.cpp CV_Assert(K.cols == 3 && K.rows == 3); K 453 modules/calib3d/src/homography_decomp.cpp hdecomp->decomposeHomography(H, K, motions); K 1499 modules/calib3d/src/rho.cpp double An, C, K, prevAn; K 1516 modules/calib3d/src/rho.cpp K = t_M*C/m_S + 1; K 1528 modules/calib3d/src/rho.cpp An = K; K 1533 modules/calib3d/src/rho.cpp An = K + log(An); K 101 modules/calib3d/test/test_decompose_projection.cpp cv::Matx33d K, R; K 103 modules/calib3d/test/test_decompose_projection.cpp decomposeProjectionMatrix(P, K, R, homogCameraCenter); K 114 modules/calib3d/test/test_decompose_projection.cpp if ( norm(origK, K, cv::NORM_INF) > thresh ) K 51 modules/calib3d/test/test_fisheye.cpp const static cv::Matx33d K; K 79 modules/calib3d/test/test_fisheye.cpp cv::Vec2d c(this->K(0, 2), this->K(1, 2)); K 87 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortPoints(distorted0, undist1, this->K, this->D); K 94 modules/calib3d/test/test_fisheye.cpp cv::fisheye::distortPoints(undist1, distorted1, this->K, this->D); K 95 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(undist2, distorted2, cv::Vec3d::all(0), cv::Vec3d::all(0), this->K, this->D); K 103 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K = this->K; K 106 modules/calib3d/test/test_fisheye.cpp cv::Matx33d newK = K; K 111 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortImage(distorted, undistorted, K, D, newK); K 120 modules/calib3d/test/test_fisheye.cpp cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, distorted.size(), cv::noArray(), newK, balance); K 121 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortImage(distorted, undistorted, K, D, newK); K 131 modules/calib3d/test/test_fisheye.cpp cv::fisheye::estimateNewCameraMatrixForUndistortRectify(K, D, distorted.size(), cv::noArray(), newK, balance); K 132 modules/calib3d/test/test_fisheye.cpp cv::fisheye::undistortImage(distorted, undistorted, K, D, newK); K 173 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K(f.at<double>(0), alpha * f.at<double>(0), c.at<double>(0), K 178 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x1, om, T, K, k, alpha, jacobians); K 185 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T2, K, k, alpha, cv::noArray()); K 194 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om2, T, K, k, alpha, cv::noArray()); K 202 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K2 = K + cv::Matx33d(df.at<double>(0), df.at<double>(0) * alpha, 0, 0, df.at<double>(1), 0, 0, 0, 0); K 211 modules/calib3d/test/test_fisheye.cpp K2 = K + cv::Matx33d(0, 0, dc.at<double>(0), 0, 0, dc.at<double>(1), 0, 0, 0); K 221 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T, K, k2, alpha, cv::noArray()); K 230 modules/calib3d/test/test_fisheye.cpp K2 = K + cv::Matx33d(0, f.at<double>(0) * dalpha.at<double>(0), 0, 0, 0, 0, 0, 0, 0); K 231 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(X, x2, om, T, K, k, alpha2, cv::noArray()); K 261 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K; K 264 modules/calib3d/test/test_fisheye.cpp cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, K 267 modules/calib3d/test/test_fisheye.cpp EXPECT_MAT_NEAR(K, this->K, 1e-10); K 357 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K; K 362 modules/calib3d/test/test_fisheye.cpp cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, K 369 modules/calib3d/test/test_fisheye.cpp param.Init(cv::Vec2d(K(0,0), K(1,1)), cv::Vec2d(K(0,2), K(1, 2)), D); K 398 modules/calib3d/test/test_fisheye.cpp cv::Matx33d K1 = this->K, K2 = K1; K 577 modules/calib3d/test/test_fisheye.cpp const cv::Matx33d fisheyeTest::K(558.478087865323, 0, 620.458515360843, K 1279 modules/calib3d/test/test_fundam.cpp Mat K(test_mat[INPUT][4]); K 1280 modules/calib3d/test/test_fundam.cpp double focal(K.at<double>(0, 0)); K 1281 modules/calib3d/test/test_fundam.cpp cv::Point2d pp(K.at<double>(0, 2), K.at<double>(1, 2)); K 678 modules/core/include/opencv2/core.hpp int normType = NORM_L2, int K = 0, K 2834 modules/core/include/opencv2/core.hpp CV_EXPORTS_W double kmeans( InputArray data, int K, InputOutputArray bestLabels, K 229 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp template <typename K, typename V, class Cmp> K 230 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp __device__ __forceinline__ void mergeShfl(K& key, V& val, const Cmp& cmp, unsigned int delta, int width) K 232 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp K reg = shfl_down(key, delta, width); K 240 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp template <typename K, typename V, class Cmp> K 241 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp __device__ __forceinline__ void merge(volatile K* skeys, K& key, volatile V* svals, V& val, const Cmp& cmp, unsigned int tid, unsigned int delta) K 243 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp K reg = skeys[tid + delta]; K 251 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp template <typename K, K 254 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp __device__ __forceinline__ void mergeShfl(K& key, K 259 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp K reg = shfl_down(key, delta, width); K 267 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp template <typename K, K 271 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp __device__ __forceinline__ void merge(volatile K* skeys, K& key, K 276 modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp K reg = skeys[tid + delta]; K 78 modules/core/include/opencv2/core/cuda/reduce.hpp template <unsigned int N, typename K, typename V, class Cmp> K 79 modules/core/include/opencv2/core/cuda/reduce.hpp __device__ __forceinline__ void reduceKeyVal(volatile K* skeys, K& key, volatile V* svals, V& val, unsigned int tid, const Cmp& cmp) K 81 modules/core/include/opencv2/core/cuda/reduce.hpp reduce_key_val_detail::Dispatcher<N>::reductor::template reduce<volatile K*, K&, volatile V*, V&, const Cmp&>(skeys, key, svals, val, tid, cmp); K 84 modules/core/include/opencv2/core/cuda/reduce.hpp typename K, K 88 modules/core/include/opencv2/core/cuda/reduce.hpp __device__ __forceinline__ void reduceKeyVal(volatile K* skeys, K& key, K 93 modules/core/include/opencv2/core/cuda/reduce.hpp reduce_key_val_detail::Dispatcher<N>::reductor::template reduce<volatile K*, K&, K 547 modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp extern CL_RUNTIME_EXPORT clAmdBlasStatus (*clAmdBlasCgemmEx)(clAmdBlasOrder order, clAmdBlasTranspose transA, clAmdBlasTranspose transB, size_t M, size_t N, size_t K, FloatComplex alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, FloatComplex beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue* commandQueues, cl_uint numEventsInWaitList, const cl_event* eventWaitList, cl_event* events); K 588 modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp extern CL_RUNTIME_EXPORT clAmdBlasStatus (*clAmdBlasDgemmEx)(clAmdBlasOrder order, clAmdBlasTranspose transA, clAmdBlasTranspose transB, size_t M, size_t N, size_t K, cl_double alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, cl_double beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue* commandQueues, cl_uint numEventsInWaitList, const cl_event* eventWaitList, cl_event* events); K 635 modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp extern CL_RUNTIME_EXPORT clAmdBlasStatus (*clAmdBlasSgemmEx)(clAmdBlasOrder order, clAmdBlasTranspose transA, clAmdBlasTranspose transB, size_t M, size_t N, size_t K, cl_float alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, cl_float beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue* commandQueues, cl_uint numEventsInWaitList, const cl_event* eventWaitList, cl_event* events); K 678 modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp extern CL_RUNTIME_EXPORT clAmdBlasStatus (*clAmdBlasZgemmEx)(clAmdBlasOrder order, clAmdBlasTranspose transA, clAmdBlasTranspose transB, size_t M, size_t N, size_t K, DoubleComplex alpha, const cl_mem A, size_t offA, size_t lda, const cl_mem B, size_t offB, size_t ldb, DoubleComplex beta, cl_mem C, size_t offC, size_t ldc, cl_uint numCommandQueues, cl_command_queue* commandQueues, cl_uint numEventsInWaitList, const cl_event* eventWaitList, cl_event* events); K 38 modules/core/perf/perf_math.cpp int i, N = 0, N0 = 0, K = 0, dims = 0; K 42 modules/core/perf/perf_math.cpp K = rng.uniform(1, N+1); K 55 modules/core/perf/perf_math.cpp kmeans(data, K, labels, TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 30, 0), K 59 modules/core/perf/perf_math.cpp Mat clusterPointsNumber = Mat::zeros(1, K, CV_32S); K 102 modules/core/src/kmeans.cpp int K, RNG& rng, int trials) K 107 modules/core/src/kmeans.cpp std::vector<int> _centers(K); K 121 modules/core/src/kmeans.cpp for( k = 1; k < K; k++ ) K 153 modules/core/src/kmeans.cpp for( k = 0; k < K; k++ ) K 180 modules/core/src/kmeans.cpp const int K = centers.rows; K 189 modules/core/src/kmeans.cpp for( int k = 0; k < K; k++ ) K 217 modules/core/src/kmeans.cpp double cv::kmeans( InputArray _data, int K, K 230 modules/core/src/kmeans.cpp CV_Assert( data0.dims <= 2 && type == CV_32F && K > 0 ); K 231 modules/core/src/kmeans.cpp CV_Assert( N >= K ); K 257 modules/core/src/kmeans.cpp Mat centers(K, dims, type), old_centers(K, dims, type), temp(1, dims, type); K 258 modules/core/src/kmeans.cpp std::vector<int> counters(K); K 276 modules/core/src/kmeans.cpp if( K == 1 ) K 307 modules/core/src/kmeans.cpp generateCentersPP(data, centers, K, rng, SPP_TRIALS); K 310 modules/core/src/kmeans.cpp for( k = 0; k < K; k++ ) K 319 modules/core/src/kmeans.cpp CV_Assert( (unsigned)labels[i] < (unsigned)K ); K 324 modules/core/src/kmeans.cpp for( k = 0; k < K; k++ ) K 357 modules/core/src/kmeans.cpp for( k = 0; k < K; k++ ) K 367 modules/core/src/kmeans.cpp for( int k1 = 1; k1 < K; k1++ ) K 408 modules/core/src/kmeans.cpp for( k = 0; k < K; k++ ) K 739 modules/core/src/matmul.cpp int M = sizeD.height, N = sizeD.width, K = sizeA.width; K 750 modules/core/src/matmul.cpp status = clAmdBlasSgemmEx(order, transA, transB, M, N, K, K 756 modules/core/src/matmul.cpp status = clAmdBlasDgemmEx(order, transA, transB, M, N, K, K 765 modules/core/src/matmul.cpp status = clAmdBlasCgemmEx(order, transA, transB, M, N, K, K 775 modules/core/src/matmul.cpp status = clAmdBlasZgemmEx(order, transA, transB, M, N, K, K 3592 modules/core/src/stat.cpp K = _K; K 3606 modules/core/src/stat.cpp K > 0 ? (uchar*)bufptr : dist->ptr(i), mask->data ? mask->ptr(i) : 0); K 3608 modules/core/src/stat.cpp if( K > 0 ) K 3620 modules/core/src/stat.cpp if( d < distptr[K-1] ) K 3622 modules/core/src/stat.cpp for( k = K-2; k >= 0 && distptr[k] > d; k-- ) K 3640 modules/core/src/stat.cpp int K; K 3649 modules/core/src/stat.cpp int normType, int K, InputArray _mask, K 3656 modules/core/src/stat.cpp CV_Assert( _nidx.needed() == (K > 0) ); K 3664 modules/core/src/stat.cpp K = std::min(K, src2.rows); K 3666 modules/core/src/stat.cpp _dist.create(src1.rows, (K > 0 ? K : src2.rows), dtype); K 3674 modules/core/src/stat.cpp if( update == 0 && K > 0 ) K 3682 modules/core/src/stat.cpp CV_Assert( K == 1 && update == 0 && mask.empty() ); K 3684 modules/core/src/stat.cpp batchDistance(src2, src1, tdist, dtype, tidx, normType, K, mask, 0, false); K 3755 modules/core/src/stat.cpp BatchDistInvoker(src1, src2, dist, nidx, K, mask, update, func)); K 2646 modules/core/test/test_math.cpp int i, iter = 0, N = 0, N0 = 0, K = 0, dims = 0; K 2659 modules/core/test/test_math.cpp K = rng.uniform(1, N+1); K 2672 modules/core/test/test_math.cpp kmeans(data, K, labels, TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 30, 0), K 2717 modules/core/test/test_math.cpp kmeans(data, K, labels, TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 30, 0), K 2721 modules/core/test/test_math.cpp Mat hist(K, 1, CV_32S, Scalar(0)); K 2725 modules/core/test/test_math.cpp CV_Assert(0 <= l && l < K); K 2728 modules/core/test/test_math.cpp for( i = 0; i < K; i++ ) K 2736 modules/core/test/test_math.cpp iter, N, N0, K); K 290 modules/cudafilters/src/filtering.cpp static const float K[2][9] = K 296 modules/cudafilters/src/filtering.cpp Mat kernel(3, 3, CV_32FC1, (void*)K[ksize == 3]); K 200 modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp template <typename K, typename V, class Cmp> K 201 modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp __device__ void merge(volatile K* skeys, K& key, volatile V* svals, V& val, const Cmp& cmp, uint tid, uint delta) K 203 modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp K reg = skeys[tid + delta]; K 212 modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp template <typename K, K 216 modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp __device__ void merge(volatile K* skeys, K& key, K 221 modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp K reg = skeys[tid + delta]; K 85 modules/cudev/include/opencv2/cudev/block/reduce.hpp template <int N, typename K, typename V, class Cmp> K 86 modules/cudev/include/opencv2/cudev/block/reduce.hpp __device__ __forceinline__ void blockReduceKeyVal(volatile K* skeys, K& key, volatile V* svals, V& val, uint tid, const Cmp& cmp) K 88 modules/cudev/include/opencv2/cudev/block/reduce.hpp block_reduce_key_val_detail::Dispatcher<N>::reductor::template reduce<volatile K*, K&, volatile V*, V&, const Cmp&>(skeys, key, svals, val, tid, cmp); K 92 modules/cudev/include/opencv2/cudev/block/reduce.hpp typename K, K 96 modules/cudev/include/opencv2/cudev/block/reduce.hpp __device__ __forceinline__ void blockReduceKeyVal(volatile K* skeys, K& key, K 101 modules/cudev/include/opencv2/cudev/block/reduce.hpp block_reduce_key_val_detail::Dispatcher<N>::reductor::template reduce<volatile K*, K&, K 170 modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp template <typename K, typename V, class Cmp> K 171 modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp __device__ void merge(volatile K* skeys, K& key, volatile V* svals, V& val, const Cmp& cmp, uint tid, uint delta) K 173 modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp K reg = skeys[tid + delta]; K 182 modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp template <typename K, K 186 modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp __device__ void merge(volatile K* skeys, K& key, K 191 modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp K reg = skeys[tid + delta]; K 83 modules/cudev/include/opencv2/cudev/warp/reduce.hpp template <typename K, typename V, class Cmp> K 84 modules/cudev/include/opencv2/cudev/warp/reduce.hpp __device__ __forceinline__ void warpReduceKeyVal(volatile K* skeys, K& key, volatile V* svals, V& val, uint tid, const Cmp& cmp) K 86 modules/cudev/include/opencv2/cudev/warp/reduce.hpp warp_reduce_key_val_detail::WarpReductor::template reduce<volatile K*, K&, volatile V*, V&, const Cmp&>(skeys, key, svals, val, tid, cmp); K 89 modules/cudev/include/opencv2/cudev/warp/reduce.hpp template <typename K, K 93 modules/cudev/include/opencv2/cudev/warp/reduce.hpp __device__ __forceinline__ void warpReduceKeyVal(volatile K* skeys, K& key, K 98 modules/cudev/include/opencv2/cudev/warp/reduce.hpp warp_reduce_key_val_detail::WarpReductor::template reduce<volatile K*, K&, K 59 modules/features2d/src/fast.cpp const int K = patternSize/2, N = patternSize + K + 1; K 72 modules/features2d/src/fast.cpp __m128i delta = _mm_set1_epi8(-128), t = _mm_set1_epi8((char)threshold), K16 = _mm_set1_epi8((char)K); K 191 modules/features2d/src/fast.cpp if( ++count > K ) K 213 modules/features2d/src/fast.cpp if( ++count > K ) K 84 modules/features2d/src/fast_score.cpp static void testCorner(const uchar* ptr, const int pixel[], int K, int N, int threshold) { K 98 modules/features2d/src/fast_score.cpp if( ++c0 > K ) K 104 modules/features2d/src/fast_score.cpp if( ++c1 > K ) K 113 modules/features2d/src/fast_score.cpp CV_Assert( (delta == 0 && std::max(c0, c1) > K) || K 114 modules/features2d/src/fast_score.cpp (delta == 1 && std::max(c0, c1) <= K) ); K 122 modules/features2d/src/fast_score.cpp const int K = 8, N = K*3 + 1; K 204 modules/features2d/src/fast_score.cpp testCorner(ptr, pixel, K, N, threshold); K 212 modules/features2d/src/fast_score.cpp const int K = 6, N = K*3 + 1; K 288 modules/features2d/src/fast_score.cpp testCorner(ptr, pixel, K, N, threshold); K 296 modules/features2d/src/fast_score.cpp const int K = 4, N = K*3 + 1; K 354 modules/features2d/src/fast_score.cpp testCorner(ptr, pixel, K, N, threshold); K 64 modules/features2d/test/test_nearestneighbors.cpp static const int K = 1; // * should also test 2nd nn etc.? K 94 modules/features2d/test/test_nearestneighbors.cpp Mat results( pointsCount, K, CV_32SC1 ); K 890 modules/imgproc/src/deriv.cpp float K[2][9] = K 895 modules/imgproc/src/deriv.cpp Mat kernel(3, 3, CV_32F, K[ksize == 3]); K 485 modules/imgproc/src/moments.cpp const int K = 10; K 500 modules/imgproc/src/moments.cpp UMat umbuf(1, ntiles*K, CV_32S); K 512 modules/imgproc/src/moments.cpp const int* mom = mbuf.ptr<int>() + i*K; K 274 modules/ml/src/kdtree.cpp int KDTree::findNearest(InputArray _vec, int K, int emax, K 282 modules/ml/src/kdtree.cpp K = std::min(K, points.rows); K 285 modules/ml/src/kdtree.cpp CV_Assert(K > 0 && (normType == NORM_L2 || normType == NORM_L1)); K 287 modules/ml/src/kdtree.cpp AutoBuffer<uchar> _buf((K+1)*(sizeof(float) + sizeof(int))); K 289 modules/ml/src/kdtree.cpp float* dist = (float*)(idx + K + 1); K 329 modules/ml/src/kdtree.cpp if( ncount == K && alt_d > dist[ncount-1] ) K 362 modules/ml/src/kdtree.cpp ncount += ncount < K; K 385 modules/ml/src/kdtree.cpp if( ncount == K && d > dist[ncount-1] ) K 401 modules/ml/src/kdtree.cpp K = std::min(K, ncount); K 404 modules/ml/src/kdtree.cpp _neighborsIdx.create(K, 1, CV_32S, -1, true); K 409 modules/ml/src/kdtree.cpp sqrt(Mat(K, 1, CV_32F, dist), _dist); K 412 modules/ml/src/kdtree.cpp getPoints(Mat(K, 1, CV_32S, idx), _neighbors, _labels); K 413 modules/ml/src/kdtree.cpp return K; K 68 modules/ml/src/kdtree.hpp CV_WRAP int findNearest(InputArray vec, int K, int Emax, K 105 modules/shape/src/haus_dis.cpp int K = int(propRank*(disMat.rows-1)); K 126 modules/shape/src/haus_dis.cpp return sorted.at<float>(K,0); K 79 modules/stitching/include/opencv2/stitching/detail/autocalib.hpp bool CV_EXPORTS calibrateRotatingCamera(const std::vector<Mat> &Hs, Mat &K); K 63 modules/stitching/include/opencv2/stitching/detail/camera.hpp Mat K() const; K 71 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R) = 0; K 82 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) = 0; K 94 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 107 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 116 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Rect warpRoi(Size src_size, InputArray K, InputArray R) = 0; K 126 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void setCameraParams(InputArray K = Mat::eye(3, 3, CV_32F), K 144 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R); K 146 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap); K 148 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 151 modules/stitching/include/opencv2/stitching/detail/warpers.hpp void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 154 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect warpRoi(Size src_size, InputArray K, InputArray R); K 189 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R); K 190 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R, InputArray T); K 192 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Rect buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, OutputArray xmap, OutputArray ymap); K 193 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap); K 195 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, K 197 modules/stitching/include/opencv2/stitching/detail/warpers.hpp virtual Point warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, K 200 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect warpRoi(Size src_size, InputArray K, InputArray R); K 201 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect warpRoi(Size src_size, InputArray K, InputArray R, InputArray T); K 229 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap); K 230 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst); K 254 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap); K 255 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst); K 410 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) K 412 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect result = buildMaps(src_size, K, R, d_xmap_, d_ymap_); K 418 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, OutputArray xmap, OutputArray ymap) K 420 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect result = buildMaps(src_size, K, R, T, d_xmap_, d_ymap_); K 426 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 430 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point result = warp(d_src_, K, R, interp_mode, border_mode, d_dst_); K 435 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, K 439 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point result = warp(d_src_, K, R, T, interp_mode, border_mode, d_dst_); K 444 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat & xmap, cuda::GpuMat & ymap); K 446 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, cuda::GpuMat & xmap, cuda::GpuMat & ymap); K 448 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, int interp_mode, int border_mode, K 451 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, K 464 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) K 466 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect result = buildMaps(src_size, K, R, d_xmap_, d_ymap_); K 472 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 476 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point result = warp(d_src_, K, R, interp_mode, border_mode, d_dst_); K 481 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat & xmap, cuda::GpuMat & ymap); K 483 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, int interp_mode, int border_mode, K 496 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) K 498 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect result = buildMaps(src_size, K, R, d_xmap_, d_ymap_); K 504 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 508 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point result = warp(d_src_, K, R, interp_mode, border_mode, d_dst_); K 513 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Rect buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat & xmap, cuda::GpuMat & ymap); K 515 modules/stitching/include/opencv2/stitching/detail/warpers.hpp Point warp(const cuda::GpuMat & src, InputArray K, InputArray R, int interp_mode, int border_mode, K 56 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Point2f RotationWarperBase<P>::warpPoint(const Point2f &pt, InputArray K, InputArray R) K 58 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.setCameraParams(K, R); K 66 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Rect RotationWarperBase<P>::buildMaps(Size src_size, InputArray K, InputArray R, OutputArray _xmap, OutputArray _ymap) K 68 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.setCameraParams(K, R); K 94 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Point RotationWarperBase<P>::warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 98 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Rect dst_roi = buildMaps(src.size(), K, R, xmap, ymap); K 108 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp void RotationWarperBase<P>::warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, K 111 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.setCameraParams(K, R); K 139 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp Rect RotationWarperBase<P>::warpRoi(Size src_size, InputArray K, InputArray R) K 141 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp projector_.setCameraParams(K, R); K 74 modules/stitching/perf/opencl/perf_warpers.cpp K = Mat::eye(3, 3, CV_32FC1); K 75 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(0,0) = (float)srcSize.width; K 76 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(0,2) = (float)srcSize.width/2; K 77 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(1,1) = (float)srcSize.height; K 78 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(1,2) = (float)srcSize.height/2; K 79 modules/stitching/perf/opencl/perf_warpers.cpp K.at<float>(2,2) = 1.0f; K 88 modules/stitching/perf/opencl/perf_warpers.cpp return warper->buildMaps(src_size, K, R, xmap, ymap); K 93 modules/stitching/perf/opencl/perf_warpers.cpp return warper->warp(src, K, R, interp_mode, border_mode, dst); K 98 modules/stitching/perf/opencl/perf_warpers.cpp Mat K, R; K 145 modules/stitching/src/autocalib.cpp bool calibrateRotatingCamera(const std::vector<Mat> &Hs, Mat &K) K 192 modules/stitching/src/autocalib.cpp K = W.t(); K 129 modules/stitching/src/motion_estimators.cpp Mat_<double> K; K 132 modules/stitching/src/motion_estimators.cpp if (calibrateRotatingCamera(Hs, K)) K 175 modules/stitching/src/stitcher.cpp Mat_<float> K; K 176 modules/stitching/src/stitcher.cpp cameras_[i].K().convertTo(K, CV_32F); K 177 modules/stitching/src/stitcher.cpp K(0,0) *= (float)seam_work_aspect_; K 178 modules/stitching/src/stitcher.cpp K(0,2) *= (float)seam_work_aspect_; K 179 modules/stitching/src/stitcher.cpp K(1,1) *= (float)seam_work_aspect_; K 180 modules/stitching/src/stitcher.cpp K(1,2) *= (float)seam_work_aspect_; K 182 modules/stitching/src/stitcher.cpp corners[i] = w->warp(seam_est_imgs_[i], K, cameras_[i].R, INTER_LINEAR, BORDER_CONSTANT, images_warped[i]); K 185 modules/stitching/src/stitcher.cpp w->warp(masks[i], K, cameras_[i].R, INTER_NEAREST, BORDER_CONSTANT, masks_warped[i]); K 259 modules/stitching/src/stitcher.cpp Mat K; K 260 modules/stitching/src/stitcher.cpp cameras_[i].K().convertTo(K, CV_32F); K 261 modules/stitching/src/stitcher.cpp Rect roi = w->warpRoi(sz, K, cameras_[i].R); K 281 modules/stitching/src/stitcher.cpp Mat K; K 282 modules/stitching/src/stitcher.cpp cameras_[img_idx].K().convertTo(K, CV_32F); K 288 modules/stitching/src/stitcher.cpp w->warp(img, K, cameras_[img_idx].R, INTER_LINEAR, BORDER_CONSTANT, img_warped); K 297 modules/stitching/src/stitcher.cpp w->warp(mask, K, cameras_[img_idx].R, INTER_NEAREST, BORDER_CONSTANT, mask_warped); K 51 modules/stitching/src/warpers.cpp Mat K = _K.getMat(), R = _R.getMat(), T = _T.getMat(); K 53 modules/stitching/src/warpers.cpp CV_Assert(K.size() == Size(3, 3) && K.type() == CV_32F); K 57 modules/stitching/src/warpers.cpp Mat_<float> K_(K); K 67 modules/stitching/src/warpers.cpp Mat_<float> R_Kinv = R * K.inv(); K 72 modules/stitching/src/warpers.cpp Mat_<float> K_Rinv = K * Rinv; K 82 modules/stitching/src/warpers.cpp Point2f PlaneWarper::warpPoint(const Point2f &pt, InputArray K, InputArray R, InputArray T) K 84 modules/stitching/src/warpers.cpp projector_.setCameraParams(K, R, T); K 90 modules/stitching/src/warpers.cpp Point2f PlaneWarper::warpPoint(const Point2f &pt, InputArray K, InputArray R) K 94 modules/stitching/src/warpers.cpp return warpPoint(pt, K, R, T); K 97 modules/stitching/src/warpers.cpp Rect PlaneWarper::buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) K 99 modules/stitching/src/warpers.cpp return buildMaps(src_size, K, R, Mat::zeros(3, 1, CV_32FC1), xmap, ymap); K 102 modules/stitching/src/warpers.cpp Rect PlaneWarper::buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, OutputArray _xmap, OutputArray _ymap) K 104 modules/stitching/src/warpers.cpp projector_.setCameraParams(K, R, T); K 153 modules/stitching/src/warpers.cpp Point PlaneWarper::warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, K 157 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, T, uxmap, uymap); K 165 modules/stitching/src/warpers.cpp Point PlaneWarper::warp(InputArray src, InputArray K, InputArray R, K 170 modules/stitching/src/warpers.cpp return warp(src, K, R, T, interp_mode, border_mode, dst); K 173 modules/stitching/src/warpers.cpp Rect PlaneWarper::warpRoi(Size src_size, InputArray K, InputArray R, InputArray T) K 175 modules/stitching/src/warpers.cpp projector_.setCameraParams(K, R, T); K 183 modules/stitching/src/warpers.cpp Rect PlaneWarper::warpRoi(Size src_size, InputArray K, InputArray R) K 187 modules/stitching/src/warpers.cpp return warpRoi(src_size, K, R, T); K 311 modules/stitching/src/warpers.cpp Rect SphericalWarper::buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) K 319 modules/stitching/src/warpers.cpp projector_.setCameraParams(K, R); K 343 modules/stitching/src/warpers.cpp return RotationWarperBase<SphericalProjector>::buildMaps(src_size, K, R, xmap, ymap); K 346 modules/stitching/src/warpers.cpp Point SphericalWarper::warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) K 349 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); K 359 modules/stitching/src/warpers.cpp Rect CylindricalWarper::buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) K 367 modules/stitching/src/warpers.cpp projector_.setCameraParams(K, R); K 392 modules/stitching/src/warpers.cpp return RotationWarperBase<CylindricalProjector>::buildMaps(src_size, K, R, xmap, ymap); K 395 modules/stitching/src/warpers.cpp Point CylindricalWarper::warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) K 398 modules/stitching/src/warpers.cpp Rect dst_roi = buildMaps(src.size(), K, R, uxmap, uymap); K 74 modules/stitching/src/warpers_cuda.cpp Mat K = _K.getMat(); K 78 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); K 82 modules/stitching/src/warpers_cuda.cpp Mat K_Rinv = K * R.t(); K 83 modules/stitching/src/warpers_cuda.cpp Mat R_Kinv = R * K.inv(); K 102 modules/stitching/src/warpers_cuda.cpp Mat K = _K.getMat(); K 105 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); K 108 modules/stitching/src/warpers_cuda.cpp Mat K_Rinv = K * R.t(); K 109 modules/stitching/src/warpers_cuda.cpp Mat R_Kinv = R * K.inv(); K 127 modules/stitching/src/warpers_cuda.cpp Mat K = _K.getMat(); K 130 modules/stitching/src/warpers_cuda.cpp CV_Assert( K.size() == Size(3,3) && K.type() == CV_32FC1 ); K 133 modules/stitching/src/warpers_cuda.cpp Mat K_Rinv = K * R.t(); K 134 modules/stitching/src/warpers_cuda.cpp Mat R_Kinv = R * K.inv(); K 149 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::PlaneWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, K 152 modules/stitching/src/warpers_cuda.cpp return buildMaps(src_size, K, R, Mat::zeros(3, 1, CV_32F), xmap, ymap); K 155 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::PlaneWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, K 160 modules/stitching/src/warpers_cuda.cpp (void)K; K 168 modules/stitching/src/warpers_cuda.cpp projector_.setCameraParams(K, R, T); K 174 modules/stitching/src/warpers_cuda.cpp K, R, T, projector_.scale, xmap, ymap); K 180 modules/stitching/src/warpers_cuda.cpp Point cv::detail::PlaneWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, K 184 modules/stitching/src/warpers_cuda.cpp return warp(src, K, R, Mat::zeros(3, 1, CV_32F), interp_mode, border_mode, dst); K 188 modules/stitching/src/warpers_cuda.cpp Point cv::detail::PlaneWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, InputArray T, K 194 modules/stitching/src/warpers_cuda.cpp (void)K; K 203 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, T, d_xmap_, d_ymap_); K 210 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::SphericalWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat & xmap, cuda::GpuMat & ymap) K 214 modules/stitching/src/warpers_cuda.cpp (void)K; K 221 modules/stitching/src/warpers_cuda.cpp projector_.setCameraParams(K, R); K 227 modules/stitching/src/warpers_cuda.cpp K, R, projector_.scale, xmap, ymap); K 233 modules/stitching/src/warpers_cuda.cpp Point cv::detail::SphericalWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, K 239 modules/stitching/src/warpers_cuda.cpp (void)K; K 247 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, d_xmap_, d_ymap_); K 255 modules/stitching/src/warpers_cuda.cpp Rect cv::detail::CylindricalWarperGpu::buildMaps(Size src_size, InputArray K, InputArray R, K 260 modules/stitching/src/warpers_cuda.cpp (void)K; K 267 modules/stitching/src/warpers_cuda.cpp projector_.setCameraParams(K, R); K 273 modules/stitching/src/warpers_cuda.cpp K, R, projector_.scale, xmap, ymap); K 279 modules/stitching/src/warpers_cuda.cpp Point cv::detail::CylindricalWarperGpu::warp(const cuda::GpuMat & src, InputArray K, InputArray R, K 285 modules/stitching/src/warpers_cuda.cpp (void)K; K 293 modules/stitching/src/warpers_cuda.cpp Rect dst_roi = buildMaps(src.size(), K, R, d_xmap_, d_ymap_); K 56 modules/stitching/test/ocl/test_warpers.cpp Mat K, R; K 65 modules/stitching/test/ocl/test_warpers.cpp K = Mat::eye(3, 3, CV_32FC1); K 94 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); K 95 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->buildMaps(usrc.size(), K, R, uxmap, uymap)); K 97 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->warp(src, K, R, INTER_LINEAR, BORDER_REPLICATE, dst)); K 98 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->warp(usrc, K, R, INTER_LINEAR, BORDER_REPLICATE, udst)); K 115 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); K 116 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->buildMaps(usrc.size(), K, R, uxmap, uymap)); K 118 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->warp(src, K, R, INTER_LINEAR, BORDER_REPLICATE, dst)); K 119 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->warp(usrc, K, R, INTER_LINEAR, BORDER_REPLICATE, udst)); K 136 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->buildMaps(src.size(), K, R, xmap, ymap)); K 137 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->buildMaps(usrc.size(), K, R, uxmap, uymap)); K 139 modules/stitching/test/ocl/test_warpers.cpp OCL_OFF(warper->warp(src, K, R, INTER_LINEAR, BORDER_REPLICATE, dst)); K 140 modules/stitching/test/ocl/test_warpers.cpp OCL_ON(warper->warp(usrc, K, R, INTER_LINEAR, BORDER_REPLICATE, udst)); K 167 modules/viz/include/opencv2/viz/types.hpp explicit Camera(const Matx33d &K, const Size &window_size); K 551 modules/viz/include/opencv2/viz/widgets.hpp WCameraPosition(const Matx33d &K, double scale = 1.0, const Color &color = Color::white()); K 574 modules/viz/include/opencv2/viz/widgets.hpp WCameraPosition(const Matx33d &K, InputArray image, double scale = 1.0, const Color &color = Color::white()); K 630 modules/viz/include/opencv2/viz/widgets.hpp WTrajectoryFrustums(InputArray path, const Matx33d &K, double scale = 1., const Color &color = Color::white()); K 802 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(const Matx33d &K, double scale, const Color &color) K 804 modules/viz/src/shapes.cpp double f_x = K(0,0), f_y = K(1,1), c_y = K(1,2); K 839 modules/viz/src/shapes.cpp cv::viz::WCameraPosition::WCameraPosition(const Matx33d &K, InputArray _image, double scale, const Color &color) K 845 modules/viz/src/shapes.cpp double f_y = K(1,1), c_y = K(1,2); K 965 modules/viz/src/shapes.cpp cv::viz::WTrajectoryFrustums::WTrajectoryFrustums(InputArray _path, const Matx33d &K, double scale, const Color &color) K 970 modules/viz/src/shapes.cpp vtkSmartPointer<vtkPolyData> glyph = getPolyData(WCameraPosition(K, scale)); K 111 modules/viz/src/types.cpp cv::viz::Camera::Camera(const cv::Matx33d & K, const Size &window_size) K 113 modules/viz/src/types.cpp double f_x = K(0,0); K 114 modules/viz/src/types.cpp double f_y = K(1,1); K 115 modules/viz/src/types.cpp double c_x = K(0,2); K 116 modules/viz/src/types.cpp double c_y = K(1,2); K 204 modules/viz/src/types.cpp Matx33d K(525.0, 0.0, 320.0, 0.0, 525.0, 240.0, 0.0, 0.0, 1.0); K 205 modules/viz/src/types.cpp return Camera(K, window_size); K 278 modules/viz/test/tests_simple.cpp Matx33d K(1024.0, 0.0, 320.0, 0.0, 1024.0, 240.0, 0.0, 0.0, 1.0); K 286 modules/viz/test/tests_simple.cpp viz.showWidget("sub4", WTrajectoryFrustums(sub4, K, 0.3, Color::yellow())); K 315 modules/viz/test/tests_simple.cpp Matx33d K(1024.0, 0.0, 320.0, 0.0, 1024.0, 240.0, 0.0, 0.0, 1.0); K 332 modules/viz/test/tests_simple.cpp viz.showWidget("pos4", WCameraPosition(K, gray, 3, Color::indigo()), poses[1]); K 425 samples/cpp/letter_recog.cpp build_knearest_classifier( const string& data_filename, int K ) K 441 samples/cpp/letter_recog.cpp model->setDefaultK(K); K 113 samples/cpp/points_classifier.cpp static void find_decision_boundary_KNN( int K ) K 117 samples/cpp/points_classifier.cpp knn->setDefaultK(K); K 521 samples/cpp/stitching_detailed.cpp LOGLN("Initial intrinsics #" << indices[i]+1 << ":\n" << cameras[i].K()); K 551 samples/cpp/stitching_detailed.cpp LOGLN("Camera #" << indices[i]+1 << ":\n" << cameras[i].K()); K 648 samples/cpp/stitching_detailed.cpp Mat_<float> K; K 649 samples/cpp/stitching_detailed.cpp cameras[i].K().convertTo(K, CV_32F); K 651 samples/cpp/stitching_detailed.cpp K(0,0) *= swa; K(0,2) *= swa; K 652 samples/cpp/stitching_detailed.cpp K(1,1) *= swa; K(1,2) *= swa; K 654 samples/cpp/stitching_detailed.cpp corners[i] = warper->warp(images[i], K, cameras[i].R, INTER_LINEAR, BORDER_REFLECT, images_warped[i]); K 657 samples/cpp/stitching_detailed.cpp warper->warp(masks[i], K, cameras[i].R, INTER_NEAREST, BORDER_CONSTANT, masks_warped[i]); K 758 samples/cpp/stitching_detailed.cpp Mat K; K 759 samples/cpp/stitching_detailed.cpp cameras[i].K().convertTo(K, CV_32F); K 760 samples/cpp/stitching_detailed.cpp Rect roi = warper->warpRoi(sz, K, cameras[i].R); K 772 samples/cpp/stitching_detailed.cpp Mat K; K 773 samples/cpp/stitching_detailed.cpp cameras[img_idx].K().convertTo(K, CV_32F); K 776 samples/cpp/stitching_detailed.cpp warper->warp(img, K, cameras[img_idx].R, INTER_LINEAR, BORDER_REFLECT, img_warped); K 781 samples/cpp/stitching_detailed.cpp warper->warp(mask, K, cameras[img_idx].R, INTER_NEAREST, BORDER_CONSTANT, mask_warped); K 28 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp Mat I, J, K; K 53 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp filter2D(I, K, I.depth(), kern ); K 57 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp imshow("Output", K);