angle 312 3rdparty/openexr/Imath/ImathEuler.h static float angleMod (T angle); angle 847 3rdparty/openexr/Imath/ImathEuler.h Euler<T>::angleMod (T angle) angle 849 3rdparty/openexr/Imath/ImathEuler.h angle = fmod(T (angle), T (2 * M_PI)); angle 851 3rdparty/openexr/Imath/ImathEuler.h if (angle < -M_PI) angle += 2 * M_PI; angle 852 3rdparty/openexr/Imath/ImathEuler.h if (angle > +M_PI) angle -= 2 * M_PI; angle 854 3rdparty/openexr/Imath/ImathEuler.h return angle; angle 258 3rdparty/openexr/Imath/ImathLineAlgo.h rotatePoint (const Vec3<T> p, Line3<T> l, T angle) angle 276 3rdparty/openexr/Imath/ImathLineAlgo.h T cosangle = Math<T>::cos(angle); angle 277 3rdparty/openexr/Imath/ImathLineAlgo.h T sinangle = Math<T>::sin(angle); angle 2971 3rdparty/openexr/Imath/ImathMatrix.h Matrix44<T>::setAxisAngle (const Vec3<S>& axis, S angle) angle 2974 3rdparty/openexr/Imath/ImathMatrix.h S sine = Math<T>::sin (angle); angle 2975 3rdparty/openexr/Imath/ImathMatrix.h S cosine = Math<T>::cos (angle); angle 141 3rdparty/openexr/Imath/ImathQuat.h T angle () const; angle 676 3rdparty/openexr/Imath/ImathQuat.h Quat<T>::angle () const angle 205 apps/traincascade/HOGfeatures.cpp float angle = dbuf[x+width*3]; angle 206 apps/traincascade/HOGfeatures.cpp angle = angle*angleScale - 0.5f; angle 207 apps/traincascade/HOGfeatures.cpp int bidx = cvFloor(angle); angle 208 apps/traincascade/HOGfeatures.cpp angle -= bidx; angle 199 modules/calib3d/src/circlesgrid.cpp float angle = (float)(vec1.ddot(vec2) / (norm(vec1) * norm(vec2))); angle 200 modules/calib3d/src/circlesgrid.cpp angles.push_back(angle); angle 232 modules/calib3d/src/quadsubpix.cpp double angle = acos(dir1.dot(dir2)/(norm(dir1)*norm(dir2))); angle 233 modules/calib3d/src/quadsubpix.cpp if(cvIsNaN(angle) || cvIsInf(angle) || angle < 0.5 || angle > CV_PI - 0.5) continue; angle 63 modules/calib3d/test/test_affine3.cpp double angle = 50; angle 64 modules/calib3d/test/test_affine3.cpp R.val[0] = R.val[4] = std::cos(CV_PI*angle/180.0); angle 65 modules/calib3d/test/test_affine3.cpp R.val[3] = std::sin(CV_PI*angle/180.0); angle 1422 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void polarToCart(InputArray magnitude, InputArray angle, angle 1444 modules/core/include/opencv2/core.hpp OutputArray magnitude, OutputArray angle, angle 1463 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void phase(InputArray x, InputArray y, OutputArray angle, angle 1185 modules/core/include/opencv2/core/core_c.h CvArr* magnitude, CvArr* angle CV_DEFAULT(NULL), angle 1191 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvPolarToCart( const CvArr* magnitude, const CvArr* angle, angle 468 modules/core/include/opencv2/core/types.hpp RotatedRect(const Point2f& center, const Size2f& size, float angle); angle 484 modules/core/include/opencv2/core/types.hpp float angle; //< the rotation angle. When the angle is 0, 90, 180, 270 etc., the rectangle becomes an up-right rectangle. angle 694 modules/core/include/opencv2/core/types.hpp CV_PROP_RW float angle; //!< computed orientation of the keypoint (-1 if not applicable); angle 2180 modules/core/include/opencv2/core/types.hpp : pt(0,0), size(0), angle(-1), response(0), octave(0), class_id(-1) {} angle 2184 modules/core/include/opencv2/core/types.hpp : pt(_pt), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {} angle 2188 modules/core/include/opencv2/core/types.hpp : pt(x, y), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {} angle 1065 modules/core/include/opencv2/core/types_c.h float angle; /**< Angle between the horizontal axis */ angle 1069 modules/core/include/opencv2/core/types_c.h CvBox2D(CvPoint2D32f c = CvPoint2D32f(), CvSize2D32f s = CvSize2D32f(), float a = 0) : center(c), size(s), angle(a) {} angle 1070 modules/core/include/opencv2/core/types_c.h CvBox2D(const cv::RotatedRect& rr) : center(rr.center), size(rr.size), angle(rr.angle) {} angle 1071 modules/core/include/opencv2/core/types_c.h operator cv::RotatedRect() const { return cv::RotatedRect(center, size, angle); } angle 19 modules/core/misc/java/src/java/core+KeyPoint.java public float angle; angle 40 modules/core/misc/java/src/java/core+KeyPoint.java angle = _angle; angle 78 modules/core/misc/java/src/java/core+KeyPoint.java return "KeyPoint [pt=" + pt + ", size=" + size + ", angle=" + angle angle 56 modules/core/misc/java/src/java/core+MatOfKeyPoint.java buff[_channels*i+3] = kp.angle; angle 8 modules/core/misc/java/src/java/core+RotatedRect.java public double angle; angle 13 modules/core/misc/java/src/java/core+RotatedRect.java this.angle = 0; angle 19 modules/core/misc/java/src/java/core+RotatedRect.java this.angle = a; angle 33 modules/core/misc/java/src/java/core+RotatedRect.java angle = vals.length > 4 ? (double) vals[4] : 0; angle 39 modules/core/misc/java/src/java/core+RotatedRect.java angle = 0; angle 45 modules/core/misc/java/src/java/core+RotatedRect.java double _angle = angle * Math.PI / 180.0; angle 80 modules/core/misc/java/src/java/core+RotatedRect.java return new RotatedRect(center, size, angle); angle 96 modules/core/misc/java/src/java/core+RotatedRect.java temp = Double.doubleToLongBits(angle); angle 106 modules/core/misc/java/src/java/core+RotatedRect.java return center.equals(it.center) && size.equals(it.size) && angle == it.angle; angle 111 modules/core/misc/java/src/java/core+RotatedRect.java return "{ " + center + " " + size + " * " + angle + " }"; angle 1486 modules/core/misc/java/test/CoreTest.java Mat angle = new Mat(1, 3, CvType.CV_32F) { angle 1494 modules/core/misc/java/test/CoreTest.java Core.polarToCart(magnitude, angle, xCoordinate, yCoordinate); angle 1516 modules/core/misc/java/test/CoreTest.java Mat angle = new Mat(1, 3, CvType.CV_32F) { angle 1524 modules/core/misc/java/test/CoreTest.java Core.polarToCart(magnitude, angle, xCoordinate, yCoordinate, true); angle 9 modules/core/misc/java/test/KeyPointTest.java private float angle; angle 26 modules/core/misc/java/test/KeyPointTest.java angle = 30.0f; angle 44 modules/core/misc/java/test/KeyPointTest.java assertEquals(10.0f, keyPoint.angle); angle 63 modules/core/misc/java/test/KeyPointTest.java keyPoint = new KeyPoint(x, y, size, angle, response, octave, classId); angle 11 modules/core/misc/java/test/RotatedRectTest.java private double angle; angle 21 modules/core/misc/java/test/RotatedRectTest.java angle = 40; angle 29 modules/core/misc/java/test/RotatedRectTest.java angle = 45; angle 30 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rr = new RotatedRect(center, size, angle); angle 43 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rrect = new RotatedRect(center, size, angle); angle 49 modules/core/misc/java/test/RotatedRectTest.java assertTrue(rrect.angle == clone.angle); angle 57 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rrect1 = new RotatedRect(center, size, angle); angle 67 modules/core/misc/java/test/RotatedRectTest.java clone2.angle = 10; angle 85 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rr = new RotatedRect(center, size, angle); angle 90 modules/core/misc/java/test/RotatedRectTest.java RotatedRect rrect = new RotatedRect(center, size, angle); angle 132 modules/core/misc/java/test/RotatedRectTest.java assertTrue("Angle of the vector 21 with the axes", Math.abs((p[2].x - p[1].x) / size.width - Math.cos(angle * Math.PI / 180)) < EPS); angle 141 modules/core/misc/java/test/RotatedRectTest.java assertTrue(rr.angle == 0.0); angle 153 modules/core/misc/java/test/RotatedRectTest.java assertEquals(5.1, rr.angle); angle 162 modules/core/misc/java/test/RotatedRectTest.java assertTrue(rr.angle == 40.0); angle 171 modules/core/misc/java/test/RotatedRectTest.java assertEquals(0., r1.angle); angle 180 modules/core/misc/java/test/RotatedRectTest.java assertEquals(5., r2.angle); angle 19 modules/core/perf/perf_math.cpp vector<float> angle(length); angle 21 modules/core/perf/perf_math.cpp declare.in(X, Y, WARMUP_RNG).out(angle); angle 23 modules/core/perf/perf_math.cpp TEST_CYCLE_N(200) cv::phase(X, Y, angle, true); angle 25 modules/core/perf/perf_math.cpp SANITY_CHECK(angle, 5e-5); angle 241 modules/core/src/mathfuncs.cpp float *angle = (float*)ptrs[2]; angle 242 modules/core/src/mathfuncs.cpp hal::fastAtan2( y, x, angle, len, angleInDegrees ); angle 247 modules/core/src/mathfuncs.cpp double *angle = (double*)ptrs[2]; angle 281 modules/core/src/mathfuncs.cpp _mm_storeu_pd(angle + k, _mm_cvtps_pd(v_src)); angle 282 modules/core/src/mathfuncs.cpp _mm_storeu_pd(angle + k + 2, _mm_cvtps_pd(_mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v_src), 8)))); angle 288 modules/core/src/mathfuncs.cpp angle[k] = buf[0][k]; angle 375 modules/core/src/mathfuncs.cpp float *mag = (float*)ptrs[2], *angle = (float*)ptrs[3]; angle 377 modules/core/src/mathfuncs.cpp hal::fastAtan2( y, x, angle, len, angleInDegrees ); angle 382 modules/core/src/mathfuncs.cpp double *angle = (double*)ptrs[3]; angle 418 modules/core/src/mathfuncs.cpp _mm_storeu_pd(angle + k, _mm_cvtps_pd(v_src)); angle 419 modules/core/src/mathfuncs.cpp _mm_storeu_pd(angle + k + 2, _mm_cvtps_pd(_mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v_src), 8)))); angle 425 modules/core/src/mathfuncs.cpp angle[k] = buf[0][k]; angle 440 modules/core/src/mathfuncs.cpp static void SinCos_32f( const float *angle, float *sinval, float* cosval, angle 510 modules/core/src/mathfuncs.cpp __m128 v_angle = _mm_loadu_ps(angle + i); angle 562 modules/core/src/mathfuncs.cpp double t = angle[i]*k1; angle 604 modules/core/src/mathfuncs.cpp UMat mag = _mag.getUMat(), angle = _angle.getUMat(); angle 605 modules/core/src/mathfuncs.cpp Size size = angle.size(); angle 612 modules/core/src/mathfuncs.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(mag), ocl::KernelArg::ReadOnlyNoSize(angle), angle 681 modules/core/src/mathfuncs.cpp const float *mag = (const float*)ptrs[0], *angle = (const float*)ptrs[1]; angle 684 modules/core/src/mathfuncs.cpp SinCos_32f( angle, y, x, len, angleInDegrees ); angle 717 modules/core/src/mathfuncs.cpp const double *mag = (const double*)ptrs[0], *angle = (const double*)ptrs[1]; angle 721 modules/core/src/mathfuncs.cpp buf[0][k] = (float)angle[k]; angle 5364 modules/core/src/matrix.cpp angle = _angle; angle 5369 modules/core/src/matrix.cpp double _angle = angle*CV_PI/180.; angle 5577 modules/core/src/persistence.cpp cv::write(fs, kpt.angle); angle 5592 modules/core/src/persistence.cpp it >> kpt.pt.x >> kpt.pt.y >> kpt.size >> kpt.angle >> kpt.response >> kpt.octave >> kpt.class_id; angle 56 modules/core/src/types.cpp u.f = angle; _Val = (scale * _Val) ^ u.u; angle 1075 modules/core/test/test_arithm.cpp Mat mag, angle, x, y; angle 1077 modules/core/test/test_arithm.cpp cv::cartToPolar(src[0], src[1], mag, angle, angleInDegrees); angle 1078 modules/core/test/test_arithm.cpp cv::polarToCart(mag, angle, x, y, angleInDegrees); angle 1080 modules/core/test/test_arithm.cpp Mat msrc[] = {mag, angle, x, y}; angle 1087 modules/core/test/test_arithm.cpp Mat mag, angle; angle 1088 modules/core/test/test_arithm.cpp cvtest::cartToPolar(src[0], src[1], mag, angle, angleInDegrees); angle 1089 modules/core/test/test_arithm.cpp Mat msrc[] = {mag, angle, src[0], src[1]}; angle 12 modules/core/test/test_dxt.cpp double angle = (inv ? 1 : -1)*CV_PI*2/n; angle 17 modules/core/test/test_dxt.cpp w1.re = cos(angle); angle 18 modules/core/test/test_dxt.cpp w1.im = sin(angle); angle 140 modules/core/test/test_dxt.cpp double angle = CV_PI*0.5/n; angle 149 modules/core/test/test_dxt.cpp wave.at<double>(i, k) = scale*cos( angle*i*(2*k + 1) ); angle 397 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void phase(InputArray x, InputArray y, OutputArray angle, bool angleInDegrees = false, Stream& stream = Stream::Null()); angle 410 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void cartToPolar(InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees = false, Stream& stream = Stream::Null()); angle 421 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void polarToCart(InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, bool angleInDegrees = false, Stream& stream = Stream::Null()); angle 1402 modules/cudaarithm/perf/perf_element_operations.cpp cv::cuda::GpuMat angle; angle 1404 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::cartToPolar(d_src1, d_src2, magnitude, angle, angleInDegrees); angle 1407 modules/cudaarithm/perf/perf_element_operations.cpp CUDA_SANITY_CHECK(angle, 1e-6, ERROR_RELATIVE); angle 1412 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat angle; angle 1414 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cartToPolar(src1, src2, magnitude, angle, angleInDegrees); angle 1417 modules/cudaarithm/perf/perf_element_operations.cpp CPU_SANITY_CHECK(angle); angle 1434 modules/cudaarithm/perf/perf_element_operations.cpp cv::Mat angle(size, CV_32FC1); angle 1435 modules/cudaarithm/perf/perf_element_operations.cpp declare.in(angle, WARMUP_RNG); angle 1440 modules/cudaarithm/perf/perf_element_operations.cpp const cv::cuda::GpuMat d_angle(angle); angle 1454 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::polarToCart(magnitude, angle, x, y, angleInDegrees); angle 2734 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat angle = createMat(size, CV_32FC1, useRoi); angle 2735 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::cartToPolar(loadMat(x, useRoi), loadMat(y, useRoi), mag, angle, angleInDegrees); angle 2742 modules/cudaarithm/test/test_element_operations.cpp EXPECT_MAT_NEAR(angle_gold, angle, angleInDegrees ? 1e-2 : 1e-3); angle 2775 modules/cudaarithm/test/test_element_operations.cpp cv::Mat angle = randomMat(size, CV_32FC1); angle 2779 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::polarToCart(loadMat(magnitude, useRoi), loadMat(angle, useRoi), x, y, angleInDegrees); angle 2783 modules/cudaarithm/test/test_element_operations.cpp cv::polarToCart(magnitude, angle, x_gold, y_gold, angleInDegrees); angle 64 modules/cudafeatures2d/src/orb.cpp void IC_Angle_gpu(PtrStepSzb image, const short2* loc, float* angle, int npoints, int half_k, cudaStream_t stream); angle 66 modules/cudafeatures2d/src/orb.cpp void computeOrbDescriptor_gpu(PtrStepb img, const short2* loc, const float* angle, const int npoints, angle 845 modules/cudafeatures2d/src/orb.cpp kp.angle = angle_ptr[i]; angle 86 modules/cudaimgproc/src/generalized_hough.cpp float angle, float angleEpsilon, angle 90 modules/cudaimgproc/src/generalized_hough.cpp float angle, float angleEpsilon, float scale, angle 94 modules/cudaimgproc/src/generalized_hough.cpp float angle, int angleVotes, float scale, int scaleVotes, angle 674 modules/cudaimgproc/src/generalized_hough.cpp void calcScale(double angle); angle 675 modules/cudaimgproc/src/generalized_hough.cpp void calcPosition(double angle, int angleVotes, double scale, int scaleVotes); angle 781 modules/cudaimgproc/src/generalized_hough.cpp const double angle = angles_[i].first; angle 784 modules/cudaimgproc/src/generalized_hough.cpp calcScale(angle); angle 791 modules/cudaimgproc/src/generalized_hough.cpp calcPosition(angle, angleVotes, scale, scaleVotes); angle 857 modules/cudaimgproc/src/generalized_hough.cpp const double angle = minAngle_ + n * angleStep_; angle 858 modules/cudaimgproc/src/generalized_hough.cpp angles_.push_back(std::make_pair(angle, h_buf_[n])); angle 863 modules/cudaimgproc/src/generalized_hough.cpp void GeneralizedHoughGuilImpl::calcScale(double angle) angle 872 modules/cudaimgproc/src/generalized_hough.cpp (float)angle, (float)angleEpsilon_, (float)minScale_, (float)maxScale_, angle 888 modules/cudaimgproc/src/generalized_hough.cpp void GeneralizedHoughGuilImpl::calcPosition(double angle, int angleVotes, double scale, int scaleVotes) angle 894 modules/cudaimgproc/src/generalized_hough.cpp (float)angle, (float)angleEpsilon_, (float)scale, (float)dp_, levels_, templFeatures_.maxSize); angle 897 modules/cudaimgproc/src/generalized_hough.cpp posCount_, maxBufferSize_, (float)angle, angleVotes, angle 189 modules/cudawarping/include/opencv2/cudawarping.hpp CV_EXPORTS void rotate(InputArray src, OutputArray dst, Size dsize, double angle, double xShift = 0, double yShift = 0, angle 479 modules/cudawarping/src/warp.cpp static void call(const GpuMat& src, GpuMat& dst, Size dsize, double angle, double xShift, double yShift, int interpolation, cudaStream_t stream) angle 499 modules/cudawarping/src/warp.cpp dst.ptr<npp_type>(), static_cast<int>(dst.step), dstroi, angle, xShift, yShift, npp_inter[interpolation]) ); angle 507 modules/cudawarping/src/warp.cpp void cv::cuda::rotate(InputArray _src, OutputArray _dst, Size dsize, double angle, double xShift, double yShift, int interpolation, Stream& stream) angle 509 modules/cudawarping/src/warp.cpp typedef void (*func_t)(const GpuMat& src, GpuMat& dst, Size dsize, double angle, double xShift, double yShift, int interpolation, cudaStream_t stream); angle 531 modules/cudawarping/src/warp.cpp funcs[src.depth()][src.channels() - 1](src, dst, dsize, angle, xShift, yShift, interpolation, StreamAccessor::getStream(stream)); angle 51 modules/cudawarping/test/test_warp_affine.cpp cv::Mat createTransfomMatrix(cv::Size srcSize, double angle) angle 55 modules/cudawarping/test/test_warp_affine.cpp M.at<double>(0, 0) = std::cos(angle); M.at<double>(0, 1) = -std::sin(angle); M.at<double>(0, 2) = srcSize.width / 2; angle 56 modules/cudawarping/test/test_warp_affine.cpp M.at<double>(1, 0) = std::sin(angle); M.at<double>(1, 1) = std::cos(angle); M.at<double>(1, 2) = 0.0; angle 51 modules/cudawarping/test/test_warp_perspective.cpp cv::Mat createTransfomMatrix(cv::Size srcSize, double angle) angle 55 modules/cudawarping/test/test_warp_perspective.cpp M.at<double>(0, 0) = std::cos(angle); M.at<double>(0, 1) = -std::sin(angle); M.at<double>(0, 2) = srcSize.width / 2; angle 56 modules/cudawarping/test/test_warp_perspective.cpp M.at<double>(1, 0) = std::sin(angle); M.at<double>(1, 1) = std::cos(angle); M.at<double>(1, 2) = 0.0; angle 635 modules/cudev/include/opencv2/cudev/functional/functional.hpp typename atan2_func<T>::result_type angle = f(y, x); angle 637 modules/cudev/include/opencv2/cudev/functional/functional.hpp angle += (angle < 0) * (2.0f * CV_PI_F); angle 640 modules/cudev/include/opencv2/cudev/functional/functional.hpp angle *= (180.0f / CV_PI_F); angle 642 modules/cudev/include/opencv2/cudev/functional/functional.hpp return saturate_cast<T>(angle); angle 32 modules/features2d/misc/java/src/cpp/features2d_converters.cpp mat.at< Vec<float, 7> >(i, 0) = Vec<float, 7>(kp.pt.x, kp.pt.y, kp.size, kp.angle, kp.response, (float)kp.octave, (float)kp.class_id); angle 45 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java if (p1.angle < p2.angle) angle 47 modules/features2d/misc/java/test/SURFFeatureDetectorTest.java if (p1.angle > p2.angle) angle 733 modules/features2d/src/brisk.cpp kp.angle = (float)(atan2((float) direction1, (float) direction0) / CV_PI * 180.0); angle 737 modules/features2d/src/brisk.cpp if (kp.angle < 0) angle 738 modules/features2d/src/brisk.cpp kp.angle += 360.f; angle 746 modules/features2d/src/brisk.cpp if (kp.angle==-1) angle 753 modules/features2d/src/brisk.cpp theta = (int) (n_rot_ * (kp.angle / (360.0)) + 0.5); angle 760 modules/features2d/src/brisk.cpp if (kp.angle < 0) angle 761 modules/features2d/src/brisk.cpp kp.angle += 360.f; angle 66 modules/features2d/src/draw.cpp if( p.angle != -1 ) angle 68 modules/features2d/src/draw.cpp float srcAngleRad = p.angle*(float)CV_PI/180.f; angle 444 modules/features2d/src/kaze/AKAZEFeatures.cpp kpts[i].angle = 0.0; angle 842 modules/features2d/src/kaze/AKAZEFeatures.cpp kpt.angle = getAngle(sumX, sumY); angle 984 modules/features2d/src/kaze/AKAZEFeatures.cpp float sample_x = 0.0, sample_y = 0.0, co = 0.0, si = 0.0, angle = 0.0; angle 1003 modules/features2d/src/kaze/AKAZEFeatures.cpp angle = kpt.angle; angle 1007 modules/features2d/src/kaze/AKAZEFeatures.cpp co = cos(angle); angle 1008 modules/features2d/src/kaze/AKAZEFeatures.cpp si = sin(angle); angle 1409 modules/features2d/src/kaze/AKAZEFeatures.cpp float co = cos(kpt.angle); angle 1410 modules/features2d/src/kaze/AKAZEFeatures.cpp float si = sin(kpt.angle); angle 1444 modules/features2d/src/kaze/AKAZEFeatures.cpp float angle = kpt.angle; angle 1448 modules/features2d/src/kaze/AKAZEFeatures.cpp float co = cos(angle); angle 1449 modules/features2d/src/kaze/AKAZEFeatures.cpp float si = sin(angle); angle 290 modules/features2d/src/kaze/KAZEFeatures.cpp point.angle = static_cast<float>(evolution[i].sublevel); angle 468 modules/features2d/src/kaze/KAZEFeatures.cpp dsc = kpts_[i].octave + (kpts_[i].angle + *(dst.ptr<float>(2))) / ((float)(options_.nsublevels)); angle 472 modules/features2d/src/kaze/KAZEFeatures.cpp kpts_[i].angle = 0.0; angle 514 modules/features2d/src/kaze/KAZEFeatures.cpp kpts[i].angle = 0.0; angle 517 modules/features2d/src/kaze/KAZEFeatures.cpp kpts[i].angle = 0.0; angle 641 modules/features2d/src/kaze/KAZEFeatures.cpp kpt.angle = getAngle(sumX, sumY); angle 788 modules/features2d/src/kaze/KAZEFeatures.cpp float sample_x = 0.0, sample_y = 0.0, co = 0.0, si = 0.0, angle = 0.0; angle 808 modules/features2d/src/kaze/KAZEFeatures.cpp angle = kpt.angle; angle 810 modules/features2d/src/kaze/KAZEFeatures.cpp co = cos(angle); angle 811 modules/features2d/src/kaze/KAZEFeatures.cpp si = sin(angle); angle 1069 modules/features2d/src/kaze/KAZEFeatures.cpp float sample_x = 0.0, sample_y = 0.0, co = 0.0, si = 0.0, angle = 0.0; angle 1091 modules/features2d/src/kaze/KAZEFeatures.cpp angle = kpt.angle; angle 1093 modules/features2d/src/kaze/KAZEFeatures.cpp co = cos(angle); angle 1094 modules/features2d/src/kaze/KAZEFeatures.cpp si = sin(angle); angle 178 modules/features2d/src/keypoint.cpp if( kp1.angle != kp2.angle ) angle 179 modules/features2d/src/keypoint.cpp return kp1.angle < kp2.angle; angle 206 modules/features2d/src/keypoint.cpp kp1.size != kp2.size || kp1.angle != kp2.angle ) angle 207 modules/features2d/src/orb.cpp pts[ptidx].angle = fastAtan2((float)m_01, (float)m_10); angle 226 modules/features2d/src/orb.cpp float angle = kpt.angle; angle 228 modules/features2d/src/orb.cpp angle *= (float)(CV_PI/180.f); angle 229 modules/features2d/src/orb.cpp float a = (float)cos(angle), b = (float)sin(angle); angle 755 modules/features2d/src/orb.cpp if32_t angle; angle 756 modules/features2d/src/orb.cpp angle.f = src[i].angle; angle 757 modules/features2d/src/orb.cpp buf[i] = Vec4i(cvRound(src[i].pt.x*scale), cvRound(src[i].pt.y*scale), z, angle.i); angle 920 modules/features2d/src/orb.cpp allKeypoints[i].angle = responses.at<float>(i); angle 85 modules/features2d/test/test_brisk.cpp ASSERT_NE(kp.angle, -1); angle 91 modules/features2d/test/test_brisk.cpp ASSERT_NE(kp.angle, -1); angle 121 modules/features2d/test/test_detectors_regression.cpp abs(p1.angle - p2.angle) < maxAngleDif && angle 106 modules/features2d/test/test_keypoints.cpp if((kp.angle < 0.f && kp.angle != -1.f) || kp.angle >= 360.f) angle 108 modules/features2d/test/test_keypoints.cpp ts->printf(cvtest::TS::LOG, "KeyPoint::angle is out of range [0, 360). It's %f.\n", kp.angle); angle 54 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat generateHomography(float angle) angle 57 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angleRadian = static_cast<float>(angle * CV_PI / 180); angle 67 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat rotateImage(const Mat& srcImage, float angle, Mat& dstImage, Mat& dstMask) angle 81 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat H = RDShift * generateHomography(angle) * LUShift; angle 88 modules/features2d/test/test_rotation_and_scale_invariance.cpp void rotateKeyPoints(const vector<KeyPoint>& src, const Mat& H, float angle, vector<KeyPoint>& dst) angle 100 modules/features2d/test/test_rotation_and_scale_invariance.cpp float dstAngle = src[i].angle + angle; angle 103 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst[i].angle = dstAngle; angle 111 modules/features2d/test/test_rotation_and_scale_invariance.cpp dst[i] = KeyPoint(src[i].pt.x * scale, src[i].pt.y * scale, src[i].size * scale, src[i].angle); angle 223 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(int angle = 0; angle < maxAngle; angle += angleStep) angle 225 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat H = rotateImage(image0, static_cast<float>(angle), image1, mask1); angle 246 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angle0 = keypoints0[matches[m].queryIdx].angle; angle 247 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angle1 = keypoints1[matches[m].trainIdx].angle; angle 253 modules/features2d/test/test_rotation_and_scale_invariance.cpp float rotAngle0 = angle0 + angle; angle 340 modules/features2d/test/test_rotation_and_scale_invariance.cpp for(int angle = 0; angle < maxAngle; angle += angleStep) angle 342 modules/features2d/test/test_rotation_and_scale_invariance.cpp Mat H = rotateImage(image0, static_cast<float>(angle), image1, mask1); angle 345 modules/features2d/test/test_rotation_and_scale_invariance.cpp rotateKeyPoints(keypoints0, H, static_cast<float>(angle), keypoints1); angle 65 modules/hal/src/mathfuncs.cpp void fastAtan2(const float *Y, const float *X, float *angle, int len, bool angleInDegrees ) angle 71 modules/hal/src/mathfuncs.cpp if (tegra::useTegra() && tegra::FastAtan2_32f(Y, X, angle, len, scale)) angle 108 modules/hal/src/mathfuncs.cpp _mm_storeu_ps(angle + i, a); angle 133 modules/hal/src/mathfuncs.cpp vst1q_f32(angle + i, vmulq_f32(a, scale4)); angle 158 modules/hal/src/mathfuncs.cpp angle[i] = (float)(a*scale); angle 289 modules/imgcodecs/test/test_drawing.cpp box.angle = 160; angle 2113 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W Mat getRotationMatrix2D( Point2f center, double angle, double scale ); angle 3862 modules/imgproc/include/opencv2/imgproc.hpp double angle, double startAngle, double endAngle, angle 4054 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void ellipse2Poly( Point center, Size axes, int angle, angle 231 modules/imgproc/include/opencv2/imgproc/imgproc_c.h CVAPI(CvMat*) cv2DRotationMatrix( CvPoint2D32f center, double angle, angle 1032 modules/imgproc/include/opencv2/imgproc/imgproc_c.h double angle, double start_angle, double end_angle, angle 1044 modules/imgproc/include/opencv2/imgproc/imgproc_c.h cvEllipse( img, cvPointFrom32f( box.center ), axes, box.angle, angle 1193 modules/imgproc/include/opencv2/imgproc/imgproc_c.h int angle, int arc_start, int arc_end, CvPoint * pts, int delta ); angle 1405 modules/imgproc/misc/java/test/ImgprocTest.java assertEquals(-90., rrect.angle); angle 2015 modules/imgproc/misc/java/test/ImgprocTest.java int angle = 30; angle 2021 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse2Poly(center, axes, angle, arcStart, arcEnd, delta, pts); angle 2033 modules/imgproc/misc/java/test/ImgprocTest.java double angle = 30, startAngle = 60, endAngle = 90; angle 2035 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, center, axes, angle, startAngle, endAngle, colorWhite); angle 2043 modules/imgproc/misc/java/test/ImgprocTest.java double angle = 30, startAngle = 60, endAngle = 90; angle 2045 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, center, axes, angle, startAngle, endAngle, colorWhite, Core.FILLED); angle 2055 modules/imgproc/misc/java/test/ImgprocTest.java double angle = 30, startAngle = 0, endAngle = 30; angle 2057 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, center, axes, angle, startAngle, endAngle, colorWhite, Core.FILLED, Imgproc.LINE_4, 0); angle 2061 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.ellipse(gray0, center2, axes2, angle, startAngle, endAngle, colorBlack, Core.FILLED, Imgproc.LINE_4, 1); angle 911 modules/imgproc/src/drawing.cpp sincos( int angle, float& cosval, float& sinval ) angle 913 modules/imgproc/src/drawing.cpp angle += (angle < 0 ? 360 : 0); angle 914 modules/imgproc/src/drawing.cpp sinval = SinTable[angle]; angle 915 modules/imgproc/src/drawing.cpp cosval = SinTable[450 - angle]; angle 921 modules/imgproc/src/drawing.cpp void ellipse2Poly( Point center, Size axes, int angle, angle 931 modules/imgproc/src/drawing.cpp while( angle < 0 ) angle 932 modules/imgproc/src/drawing.cpp angle += 360; angle 933 modules/imgproc/src/drawing.cpp while( angle > 360 ) angle 934 modules/imgproc/src/drawing.cpp angle -= 360; angle 957 modules/imgproc/src/drawing.cpp sincos( angle, alpha, beta ); angle 963 modules/imgproc/src/drawing.cpp angle = i; angle 964 modules/imgproc/src/drawing.cpp if( angle > arc_end ) angle 965 modules/imgproc/src/drawing.cpp angle = arc_end; angle 966 modules/imgproc/src/drawing.cpp if( angle < 0 ) angle 967 modules/imgproc/src/drawing.cpp angle += 360; angle 969 modules/imgproc/src/drawing.cpp x = size_a * SinTable[450-angle]; angle 970 modules/imgproc/src/drawing.cpp y = size_b * SinTable[angle]; angle 989 modules/imgproc/src/drawing.cpp int angle, int arc_start, int arc_end, angle 997 modules/imgproc/src/drawing.cpp ellipse2Poly( center, axes, angle, arc_start, arc_end, delta, v ); angle 1684 modules/imgproc/src/drawing.cpp const double angle = atan2( (double) pt1.y - pt2.y, (double) pt1.x - pt2.x ); angle 1686 modules/imgproc/src/drawing.cpp Point p(cvRound(pt2.x + tipSize * cos(angle + CV_PI / 4)), angle 1687 modules/imgproc/src/drawing.cpp cvRound(pt2.y + tipSize * sin(angle + CV_PI / 4))); angle 1690 modules/imgproc/src/drawing.cpp p.x = cvRound(pt2.x + tipSize * cos(angle - CV_PI / 4)); angle 1691 modules/imgproc/src/drawing.cpp p.y = cvRound(pt2.y + tipSize * sin(angle - CV_PI / 4)); angle 1765 modules/imgproc/src/drawing.cpp double angle, double start_angle, double end_angle, angle 1779 modules/imgproc/src/drawing.cpp int _angle = cvRound(angle); angle 1805 modules/imgproc/src/drawing.cpp int _angle = cvRound(box.angle); angle 2491 modules/imgproc/src/drawing.cpp cvEllipse2Poly( CvPoint center, CvSize axes, int angle, angle 2495 modules/imgproc/src/drawing.cpp cv::ellipse2Poly( center, axes, angle, arc_start, arc_end, delta, pts ); angle 2618 modules/imgproc/src/drawing.cpp double angle, double start_angle, double end_angle, angle 2622 modules/imgproc/src/drawing.cpp cv::ellipse( img, center, axes, angle, start_angle, end_angle, angle 606 modules/imgproc/src/generalized_hough.cpp void calcScale(double angle); angle 607 modules/imgproc/src/generalized_hough.cpp void calcPosition(double angle, int angleVotes, double scale, int scaleVotes); angle 666 modules/imgproc/src/generalized_hough.cpp const double angle = angles_[i].first; angle 669 modules/imgproc/src/generalized_hough.cpp calcScale(angle); angle 676 modules/imgproc/src/generalized_hough.cpp calcPosition(angle, angleVotes, scale, scaleVotes); angle 787 modules/imgproc/src/generalized_hough.cpp const double angle = clampAngle(imF.p1.theta - templF.p1.theta); angle 788 modules/imgproc/src/generalized_hough.cpp if (angle >= minAngle_ && angle <= maxAngle_) angle 790 modules/imgproc/src/generalized_hough.cpp const int n = cvRound((angle - minAngle_) * iAngleStep); angle 803 modules/imgproc/src/generalized_hough.cpp const double angle = minAngle_ + n * angleStep_; angle 804 modules/imgproc/src/generalized_hough.cpp angles_.push_back(std::make_pair(angle, OHist[n])); angle 809 modules/imgproc/src/generalized_hough.cpp void GeneralizedHoughGuilImpl::calcScale(double angle) angle 832 modules/imgproc/src/generalized_hough.cpp templF.p1.theta += angle; angle 863 modules/imgproc/src/generalized_hough.cpp void GeneralizedHoughGuilImpl::calcPosition(double angle, int angleVotes, double scale, int scaleVotes) angle 871 modules/imgproc/src/generalized_hough.cpp const double sinVal = sin(toRad(angle)); angle 872 modules/imgproc/src/generalized_hough.cpp const double cosVal = cos(toRad(angle)); angle 889 modules/imgproc/src/generalized_hough.cpp templF.p1.theta += angle; angle 933 modules/imgproc/src/generalized_hough.cpp posOutBuf_.push_back(Vec4f(static_cast<float>(x * dp_), static_cast<float>(y * dp_), static_cast<float>(scale), static_cast<float>(angle))); angle 54 modules/imgproc/src/hough.cpp float angle; angle 178 modules/imgproc/src/hough.cpp line.angle = static_cast<float>(min_theta) + n * theta; angle 179 modules/imgproc/src/hough.cpp lines.push_back(Vec2f(line.rho, line.angle)); angle 6186 modules/imgproc/src/imgwarp.cpp cv::Mat cv::getRotationMatrix2D( Point2f center, double angle, double scale ) angle 6188 modules/imgproc/src/imgwarp.cpp angle *= CV_PI/180; angle 6189 modules/imgproc/src/imgwarp.cpp double alpha = cos(angle)*scale; angle 6190 modules/imgproc/src/imgwarp.cpp double beta = sin(angle)*scale; angle 6403 modules/imgproc/src/imgwarp.cpp cv2DRotationMatrix( CvPoint2D32f center, double angle, angle 6406 modules/imgproc/src/imgwarp.cpp cv::Mat M0 = cv::cvarrToMat(matrix), M = cv::getRotationMatrix2D(center, angle, scale); angle 262 modules/imgproc/src/lsd.cpp double angle; angle 645 modules/imgproc/src/lsd.cpp reg[0].angle = reg_angle; angle 673 modules/imgproc/src/lsd.cpp const double& angle = angles_data[c_addr]; angle 674 modules/imgproc/src/lsd.cpp region_point.angle = angle; angle 678 modules/imgproc/src/lsd.cpp sumdx += cos(float(angle)); angle 679 modules/imgproc/src/lsd.cpp sumdy += sin(float(angle)); angle 794 modules/imgproc/src/lsd.cpp const double& ang_c = reg[0].angle; angle 803 modules/imgproc/src/lsd.cpp const double& angle = reg[i].angle; angle 804 modules/imgproc/src/lsd.cpp double ang_d = angle_diff_signed(angle, ang_c); angle 201 modules/imgproc/src/min_enclosing_triangle.cpp static bool isGammaAngleEqualTo(double &gammaAngle, double angle); angle 254 modules/imgproc/src/min_enclosing_triangle.cpp static double oppositeAngle(double angle); angle 1178 modules/imgproc/src/min_enclosing_triangle.cpp static bool isGammaAngleEqualTo(double &gammaAngle, double angle) { angle 1179 modules/imgproc/src/min_enclosing_triangle.cpp return (almostEqual(gammaAngle, angle)); angle 1203 modules/imgproc/src/min_enclosing_triangle.cpp double angle = (std::atan2(y, x) * 180 / CV_PI); angle 1205 modules/imgproc/src/min_enclosing_triangle.cpp return (angle < 0) ? (angle + 360) angle 1206 modules/imgproc/src/min_enclosing_triangle.cpp : angle; angle 1265 modules/imgproc/src/min_enclosing_triangle.cpp static double oppositeAngle(double angle) { angle 1266 modules/imgproc/src/min_enclosing_triangle.cpp return (angle > 180) ? (angle - 180) angle 1267 modules/imgproc/src/min_enclosing_triangle.cpp : (angle + 180); angle 368 modules/imgproc/src/rotcalipers.cpp box.angle = (float)atan2( (double)out[1].y, (double)out[1].x ); angle 378 modules/imgproc/src/rotcalipers.cpp box.angle = (float)atan2( dy, dx ); angle 386 modules/imgproc/src/rotcalipers.cpp box.angle = (float)(box.angle*180/CV_PI); angle 468 modules/imgproc/src/shapedescr.cpp box.angle = (float)(90 + rp[4]*180/CV_PI); angle 470 modules/imgproc/src/shapedescr.cpp if( box.angle < -180 ) angle 471 modules/imgproc/src/shapedescr.cpp box.angle += 360; angle 472 modules/imgproc/src/shapedescr.cpp if( box.angle > 360 ) angle 473 modules/imgproc/src/shapedescr.cpp box.angle -= 360; angle 132 modules/imgproc/test/test_approxpoly.cpp int radius, angle; angle 139 modules/imgproc/test/test_approxpoly.cpp angle = cvtest::randInt( rng ) % 360; angle 147 modules/imgproc/test/test_approxpoly.cpp pt.x = cvRound( center.x + radius*cos(angle*deg_to_rad)); angle 148 modules/imgproc/test/test_approxpoly.cpp pt.y = cvRound( center.x - radius*sin(angle*deg_to_rad)); angle 150 modules/imgproc/test/test_approxpoly.cpp angle += d_angle; angle 167 modules/imgproc/test/test_contours.cpp int angle = cvtest::randInt(rng) % 180; angle 178 modules/imgproc/test/test_contours.cpp cvEllipse( img, center, axes, angle, 0, 360, cvScalar(brightness), CV_FILLED ); angle 1169 modules/imgproc/test/test_convhull.cpp box0.angle = (float)(cvtest::randReal(rng)*180); angle 1170 modules/imgproc/test/test_convhull.cpp a = cos(box0.angle*CV_PI/180.); angle 1171 modules/imgproc/test/test_convhull.cpp b = sin(box0.angle*CV_PI/180.); angle 1202 modules/imgproc/test/test_convhull.cpp double angle = cvtest::randReal(rng)*CV_PI*2; angle 1203 modules/imgproc/test/test_convhull.cpp double x = box0.size.height*0.5*(cos(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); angle 1204 modules/imgproc/test/test_convhull.cpp double y = box0.size.width*0.5*(sin(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); angle 1251 modules/imgproc/test/test_convhull.cpp cvIsNaN(box.angle) || cvIsInf(box.angle) ) angle 1254 modules/imgproc/test/test_convhull.cpp box.center.x, box.center.y, box.size.width, box.size.height, box.angle ); angle 1259 modules/imgproc/test/test_convhull.cpp box.angle = (float)(90-box.angle); angle 1260 modules/imgproc/test/test_convhull.cpp if( box.angle < 0 ) angle 1261 modules/imgproc/test/test_convhull.cpp box.angle += 360; angle 1262 modules/imgproc/test/test_convhull.cpp if( box.angle > 360 ) angle 1263 modules/imgproc/test/test_convhull.cpp box.angle -= 360; angle 1278 modules/imgproc/test/test_convhull.cpp diff_angle = fabs(box0.angle - box.angle); angle 1285 modules/imgproc/test/test_convhull.cpp box.angle, box0.angle ); angle 1380 modules/imgproc/test/test_convhull.cpp const int angle = ( (cvtest::randInt(rng) % 5) - 2 ) * 90; angle 1391 modules/imgproc/test/test_convhull.cpp ellipse(image, center, Size(height, width), angle, angle 1398 modules/imgproc/test/test_convhull.cpp box0.angle = (float)angle; angle 1640 modules/imgproc/test/test_convhull.cpp double max_r_scale, double angle, CvArr* points, RNG& rng ) angle 1671 modules/imgproc/test/test_convhull.cpp double phi = CV_PI*angle/180.; angle 1714 modules/imgproc/test/test_convhull.cpp double max_r_scale, angle; angle 1747 modules/imgproc/test/test_convhull.cpp angle = cvtest::randReal(rng)*360; angle 1749 modules/imgproc/test/test_convhull.cpp cvTsGenerateTousledBlob( center, axes, max_r_scale, angle, pointsSet, rng ); angle 514 modules/imgproc/test/test_imgwarp.cpp double scale, angle; angle 524 modules/imgproc/test/test_imgwarp.cpp angle = cvtest::randReal(rng)*360; angle 526 modules/imgproc/test/test_imgwarp.cpp getRotationMatrix2D(center, angle, scale).convertTo(mat, mat.depth()); angle 1324 modules/imgproc/test/test_imgwarp.cpp double scale, angle; angle 1334 modules/imgproc/test/test_imgwarp.cpp angle = cvtest::randReal(rng)*360; angle 1339 modules/imgproc/test/test_imgwarp.cpp angle = angle*(CV_PI/180.); angle 1340 modules/imgproc/test/test_imgwarp.cpp a[0] = a[4] = cos(angle)*scale; angle 1341 modules/imgproc/test/test_imgwarp.cpp a[1] = sin(angle)*scale; angle 108 modules/imgproc/test/test_intersection.cpp rect1.angle = 12.0f; angle 114 modules/imgproc/test/test_intersection.cpp rect2.angle = 34.0f; angle 134 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 140 modules/imgproc/test/test_intersection.cpp rect2.angle = 0; angle 182 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 188 modules/imgproc/test/test_intersection.cpp rect2.angle = 45.0f; angle 230 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 236 modules/imgproc/test/test_intersection.cpp rect2.angle = 0; angle 279 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 285 modules/imgproc/test/test_intersection.cpp rect2.angle = 45.0f; angle 332 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 338 modules/imgproc/test/test_intersection.cpp rect2.angle = 0; angle 381 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 387 modules/imgproc/test/test_intersection.cpp rect2.angle = 0; angle 430 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 436 modules/imgproc/test/test_intersection.cpp rect2.angle = 0; angle 462 modules/imgproc/test/test_intersection.cpp rect1.angle = 0; angle 468 modules/imgproc/test/test_intersection.cpp rect2.angle = 0; angle 86 modules/imgproc/test/test_lsd.cpp float angle = rng.uniform(0.f, 360.f); angle 90 modules/imgproc/test/test_lsd.cpp RotatedRect rRect = RotatedRect(center, rect_size, angle); angle 324 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.angle - actual.angle) < eps); angle 449 modules/java/generator/src/java/utils+Converters.java buff[7 * i + 3] = kp.angle; angle 354 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java assertTrue(msg, Math.abs(expected.angle - actual.angle) < eps); angle 455 modules/objdetect/src/hog.cpp float mag = dbuf[x+width*2], angle = dbuf[x+width*3]*angleScale - 0.5f; angle 456 modules/objdetect/src/hog.cpp int hidx = cvFloor(angle); angle 457 modules/objdetect/src/hog.cpp angle -= hidx; angle 458 modules/objdetect/src/hog.cpp gradPtr[x*2] = mag*(1.f - angle); angle 459 modules/objdetect/src/hog.cpp gradPtr[x*2+1] = mag*angle; angle 1295 modules/objdetect/test/test_cascadeandhog.cpp float mag = dbuf[x+width*2], angle = dbuf[x+width*3]*angleScale - 0.5f; angle 1296 modules/objdetect/test/test_cascadeandhog.cpp int hidx = cvFloor(angle); angle 1297 modules/objdetect/test/test_cascadeandhog.cpp angle -= hidx; angle 1298 modules/objdetect/test/test_cascadeandhog.cpp gradPtr[x*2] = mag*(1.f - angle); angle 1299 modules/objdetect/test/test_cascadeandhog.cpp gradPtr[x*2+1] = mag*angle; angle 995 modules/python/src2/cv2.cpp return PyArg_ParseTuple(obj, "(ff)(ff)f", &dst.center.x, &dst.center.y, &dst.size.width, &dst.size.height, &dst.angle) > 0; angle 1001 modules/python/src2/cv2.cpp return Py_BuildValue("((ff)(ff)f)", src.center.x, src.center.y, src.size.width, src.size.height, src.angle); angle 66 modules/stitching/test/ocl/test_warpers.cpp float angle = (float)(30.0 * CV_PI / 180.0); angle 68 modules/stitching/test/ocl/test_warpers.cpp (float)cos(angle), (float)sin(angle), 0, angle 69 modules/stitching/test/ocl/test_warpers.cpp (float)-sin(angle), (float)cos(angle), 0, angle 448 modules/ts/src/cuda_test.cpp abs(p1.angle - p2.angle) < maxAngleDif && angle 491 modules/ts/src/cuda_test.cpp << "angle : " << p1.angle << " vs " << p2.angle << "\n" angle 148 modules/ts/src/ts_perf.cpp cv::Mat angle (len, 1, CV_32FC1, len ? (void*)&array[0].angle : 0, sizeof(cv::KeyPoint)); angle 155 modules/ts/src/ts_perf.cpp (name + "-angle", angle, eps, ERROR_ABSOLUTE) angle 28 modules/video/perf/perf_ecc.cpp double angle; angle 38 modules/video/perf/perf_ecc.cpp angle = CV_PI/30; angle 40 modules/video/perf/perf_ecc.cpp warpGround = (Mat_<float>(2,3) << (float)cos(angle), (float)-sin(angle), 12.123f, angle 41 modules/video/perf/perf_ecc.cpp (float)sin(angle), (float)cos(angle), 14.789f); angle 202 modules/video/src/camshift.cpp box.angle = (float)((CV_PI*0.5+theta)*180./CV_PI); angle 203 modules/video/src/camshift.cpp while(box.angle < 0) angle 204 modules/video/src/camshift.cpp box.angle += 360; angle 205 modules/video/src/camshift.cpp while(box.angle >= 360) angle 206 modules/video/src/camshift.cpp box.angle -= 360; angle 207 modules/video/src/camshift.cpp if(box.angle >= 180) angle 208 modules/video/src/camshift.cpp box.angle -= 180; angle 122 modules/video/test/test_camshift.cpp double angle = box0.angle*CV_PI/180.; angle 123 modules/video/test/test_camshift.cpp double a = sin(angle), b = -cos(angle); angle 163 modules/video/test/test_camshift.cpp box0.angle = (float)(cvtest::randReal(rng)*180.); angle 280 modules/video/test/test_camshift.cpp cvIsNaN(box.angle) || cvIsInf(box.angle) || box.angle < -180 || box.angle > 180 || angle 288 modules/video/test/test_camshift.cpp box.angle = (float)(180 - box.angle); angle 308 modules/video/test/test_camshift.cpp if( box.angle < 0 ) angle 309 modules/video/test/test_camshift.cpp box.angle += 180; angle 311 modules/video/test/test_camshift.cpp diff_angle = fabs(box0.angle - box.angle); angle 312 modules/video/test/test_camshift.cpp diff_angle = MIN( diff_angle, fabs(box0.angle - box.angle + 180)); angle 317 modules/video/test/test_camshift.cpp box.angle, box0.angle ); angle 208 modules/video/test/test_ecc.cpp double angle = CV_PI/30 + CV_PI*rng.uniform((double)-2.f, (double)2.f)/180; angle 210 modules/video/test/test_ecc.cpp Mat euclideanGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)), angle 211 modules/video/test/test_ecc.cpp sin(angle), cos(angle), (rng.uniform(10.f, 20.f))); angle 170 modules/viz/src/vtk/vtkVizInteractorStyle.cpp double angle = cam->GetViewAngle () / 180.0 * CV_PI; angle 174 modules/viz/src/vtk/vtkVizInteractorStyle.cpp angle, win_size[0], win_size[1], win_pos[0], win_pos[1]); angle 189 modules/viz/test/tests_simple.cpp double angle = CV_PI/2 * i/64.0; angle 190 modules/viz/test/tests_simple.cpp points.push_back(Vec3d(0.00, cos(angle), sin(angle))*0.75); angle 191 modules/viz/test/tests_simple.cpp points.push_back(Vec3d(1.57, cos(angle), sin(angle))*0.75); angle 56 samples/cpp/contours2.cpp double angle = (j+5)*CV_PI/21; angle 57 samples/cpp/contours2.cpp line(img, Point(cvRound(dx+100+j*10-80*cos(angle)), angle 58 samples/cpp/contours2.cpp cvRound(dy+100-90*sin(angle))), angle 59 samples/cpp/contours2.cpp Point(cvRound(dx+100+j*10-30*cos(angle)), angle 60 samples/cpp/contours2.cpp cvRound(dy+100-30*sin(angle))), white, 1, 8, 0); angle 73 samples/cpp/drawing.cpp double angle = rng.uniform(0, 180); angle 75 samples/cpp/drawing.cpp ellipse( image, center, axes, angle, angle - 100, angle + 200, angle 87 samples/cpp/fitellipse.cpp ellipse(cimage, box.center, box.size*0.5f, box.angle, 0, 360, Scalar(0,255,255), 1, LINE_AA); angle 236 samples/cpp/image_alignment.cpp double angle; angle 245 samples/cpp/image_alignment.cpp angle = CV_PI/30 + CV_PI*rng.uniform((double)-2.f, (double)2.f)/180; angle 247 samples/cpp/image_alignment.cpp warpGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)), angle 248 samples/cpp/image_alignment.cpp sin(angle), cos(angle), (rng.uniform(10.f, 20.f))); angle 8 samples/cpp/kalman.cpp static inline Point calcPoint(Point2f center, double R, double angle) angle 10 samples/cpp/kalman.cpp return center + Point2f((float)cos(angle), (float)-sin(angle))*(float)R; angle 113 samples/cpp/squares.cpp double cosine = fabs(angle(approx[j%4], approx[j-2], approx[j-1])); angle 58 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp double angle = -50.0; angle 62 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp rot_mat = getRotationMatrix2D( center, angle, scale ); angle 117 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp double angle = atan2((double)p.y-q.y, (double)p.x-q.x); angle 119 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp p.x = (int) ( q.x + arrowMagnitude * cos(angle + PI/4)); angle 120 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp p.y = (int) ( q.y + arrowMagnitude * sin(angle + PI/4)); angle 124 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp p.x = (int) ( q.x + arrowMagnitude * cos(angle - PI/4)); angle 125 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp p.y = (int) ( q.y + arrowMagnitude * sin(angle - PI/4)); angle 15 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp void MyEllipse( Mat img, double angle ); angle 82 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp void MyEllipse( Mat img, double angle ) angle 90 samples/cpp/tutorial_code/core/Matrix/Drawing_1.cpp angle, angle 171 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp double angle = rng.uniform(0, 180); angle 173 samples/cpp/tutorial_code/core/Matrix/Drawing_2.cpp ellipse( image, center, axes, angle, angle - 100, angle + 200, angle 23 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp double angle; angle 25 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp angle = atan2( (double) p.y - q.y, (double) p.x - q.x ); // angle in radians angle 31 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp q.x = (int) (p.x - scale * hypotenuse * cos(angle)); angle 32 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp q.y = (int) (p.y - scale * hypotenuse * sin(angle)); angle 36 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp p.x = (int) (q.x + 9 * cos(angle + CV_PI / 4)); angle 37 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp p.y = (int) (q.y + 9 * sin(angle + CV_PI / 4)); angle 40 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp p.x = (int) (q.x + 9 * cos(angle - CV_PI / 4)); angle 41 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp p.y = (int) (q.y + 9 * sin(angle - CV_PI / 4)); angle 88 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp double angle = atan2(eigen_vecs[0].y, eigen_vecs[0].x); // orientation in radians angle 91 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp return angle; angle 164 samples/gpu/generalized_hough.cpp float angle = position[i][3]; angle 169 samples/gpu/generalized_hough.cpp rect.angle = angle; angle 41 samples/gpu/pyrlk_optical_flow.cpp double angle = atan2((double) p.y - q.y, (double) p.x - q.x); angle 49 samples/gpu/pyrlk_optical_flow.cpp q.x = (int) (p.x - 3 * hypotenuse * cos(angle)); angle 50 samples/gpu/pyrlk_optical_flow.cpp q.y = (int) (p.y - 3 * hypotenuse * sin(angle)); angle 58 samples/gpu/pyrlk_optical_flow.cpp p.x = (int) (q.x + 9 * cos(angle + CV_PI / 4)); angle 59 samples/gpu/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle + CV_PI / 4)); angle 62 samples/gpu/pyrlk_optical_flow.cpp p.x = (int) (q.x + 9 * cos(angle - CV_PI / 4)); angle 63 samples/gpu/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle - CV_PI / 4)); angle 46 samples/tapi/pyrlk_optical_flow.cpp double angle = atan2((double) p.y - q.y, (double) p.x - q.x); angle 54 samples/tapi/pyrlk_optical_flow.cpp q.x = (int) (p.x - 3 * hypotenuse * cos(angle)); angle 55 samples/tapi/pyrlk_optical_flow.cpp q.y = (int) (p.y - 3 * hypotenuse * sin(angle)); angle 63 samples/tapi/pyrlk_optical_flow.cpp p.x = (int) (q.x + 9 * cos(angle + CV_PI / 4)); angle 64 samples/tapi/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle + CV_PI / 4)); angle 67 samples/tapi/pyrlk_optical_flow.cpp p.x = (int) (q.x + 9 * cos(angle - CV_PI / 4)); angle 68 samples/tapi/pyrlk_optical_flow.cpp p.y = (int) (q.y + 9 * sin(angle - CV_PI / 4)); angle 100 samples/tapi/squares.cpp double cosine = fabs(angle(approx[j%4], approx[j-2], approx[j-1]));