Home
last modified time | relevance | path

Searched refs:m00 (Results 1 – 25 of 32) sorted by relevance

12

/external/opencv/cv/src/
Dcvcamshift.cpp75 moments.m00 = moments.m10 = moments.m01 = 0; in cvMeanShift()
104 if( fabs(moments.m00) < DBL_EPSILON ) in cvMeanShift()
139 comp->area = (float)moments.m00; in cvMeanShift()
172 double m00 = 0, m10, m01, mu20, mu11, mu02, inv_m00; in cvCamShift() local
214 m00 = moments.m00; in cvCamShift()
221 if( fabs(m00) < DBL_EPSILON ) in cvCamShift()
224 inv_m00 = 1. / m00; in cvCamShift()
280 comp.area = (float) m00; in cvCamShift()
Dcvmoments.cpp53 if( fabs(moments->m00) > DBL_EPSILON ) in icvCompleteMomentState()
55 double inv_m00 = 1. / moments->m00; in icvCompleteMomentState()
180 moments->m00 = a00 * db1_2; in icvContourMoments()
211 moments->m00 += tiles[0]; in icvAccumulateMoments()
451 icvGetSpatialMoment_64f_p( ippmomentstate, 0, 0, 0, cvPoint(0,0), &moments->m00 ); in cvMoments()
528 double m00s = mState->inv_sqrt_m00, m00 = m00s * m00s, s2 = m00 * m00, s3 = s2 * m00s; in cvGetHuMoments() local
594 moment = (&(moments->m00))[order + (order >> 1) + (order > 2) * 2 + y_order]; in cvGetSpatialMoment()
634 mu = (&(moments->m00))[4 + order * 3 + y_order]; in cvGetCentralMoment()
637 mu = moments->m00; in cvGetCentralMoment()
665 double m00s, m00; in cvGetNormalizedCentralMoment() local
[all …]
/external/opencv3/modules/video/src/
Dcamshift.cpp84 if( fabs(m.m00) < DBL_EPSILON ) in meanShift()
87 int dx = cvRound( m.m10/m.m00 - window.width*0.5 ); in meanShift()
88 int dy = cvRound( m.m01/m.m00 - window.height*0.5 ); in meanShift()
143 double m00 = m.m00, m10 = m.m10, m01 = m.m01; in CamShift() local
146 if( fabs(m00) < DBL_EPSILON ) in CamShift()
149 double inv_m00 = 1. / m00; in CamShift()
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
Dmoments_demo.cpp71 …{ mc[i] = Point2f( static_cast<float>(mu[i].m10/mu[i].m00) , static_cast<float>(mu[i].m01/mu[i].m0… in thresh_callback()
90 …- Area (M_00) = %.2f - Area OpenCV: %.2f - Length: %.2f \n", (int)i, mu[i].m00, contourArea(contou… in thresh_callback()
/external/opencv3/modules/imgproc/src/
Dmoments.cpp55 if( fabs(moments->m00) > DBL_EPSILON ) in completeMomentState()
57 inv_m00 = 1. / moments->m00; in completeMomentState()
184 m.m00 = a00 * db1_2; in contourMoments()
445 m00 = m10 = m01 = m20 = m11 = m02 = m30 = m21 = m12 = m03 = in Moments()
453 m00 = _m00; m10 = _m10; m01 = _m01; in Moments()
458 if( std::abs(m00) > DBL_EPSILON ) in Moments()
460 inv_m00 = 1./m00; in Moments()
518 m.m00 += mom[0]; in ocl_moments()
604 ippiGetSpatialMoment_64f(moment, 0, 0, 0, point, &m.m00); in moments()
693 m.m00 += mom[0]; in moments()
[all …]
/external/clang/test/Modules/Inputs/stress1/
Dmodule.modulemap1 module m00 { header "Inputs/stress1/m00.h" export * }
/external/opencv3/modules/imgproc/include/opencv2/imgproc/
Dtypes_c.h399 double m00, m10, m01, m20, m11, m02, m30, m21, m12, m03; /**< spatial moments */ member
407 m00 = m.m00; m10 = m.m10; m01 = m.m01; in CvMoments()
412 double am00 = std::abs(m.m00); in CvMoments()
417 return cv::Moments(m00, m10, m01, m20, m11, m02, m30, m21, m12, m03); in Moments()
/external/opencv3/modules/imgproc/test/
Dtest_moments.cpp240 m.m00 += s0; in prepare_to_validation()
255 if( m.m00 != 0 ) in prepare_to_validation()
257 xc = m.m10/m.m00, yc = m.m01/m.m00; in prepare_to_validation()
258 m.inv_sqrt_m00 = 1./sqrt(fabs(m.m00)); in prepare_to_validation()
299 mdata += sizeof(m)/sizeof(m.m00); in prepare_to_validation()
456 CV_Assert( m.m00 == 0 && m.m01 == 0 && m.m10 == 0 && area == 0 ); in run()
Dtest_convhull.cpp1796 double t = fabs((&moments0.m00)[i]); in validate_test_results()
1802 double v = i < n ? (&moments.m00)[i] : area; in validate_test_results()
1803 double v0 = i < n ? (&moments0.m00)[i] : moments0.m00; in validate_test_results()
/external/opencv3/modules/features2d/src/
Dblobdetector.cpp217 double area = moms.m00; in findBlobs()
224 double area = moms.m00; in findBlobs()
269 if(moms.m00 == 0.0) in findBlobs()
271 center.location = Point2d(moms.m10 / moms.m00, moms.m01 / moms.m00); in findBlobs()
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DUtils.cpp193 double m00 = rotationMatrix.at<double>(0,0); in rot2euler() local
218 z = atan2(-m20,m00); in rot2euler()
245 double m00, m01, m02, m10, m11, m12, m20, m21, m22; in euler2rot() local
247 m00 = ch * ca; in euler2rot()
257 rotationMatrix.at<double>(0,0) = m00; in euler2rot()
/external/boringssl/src/ssl/test/runner/poly1305/
Dsum_ref.go98 m00 uint32
339 m00 = uint32(m[p+0])
356 m0 += int64(m00)
489 m00 = uint32(m[p+0])
518 m0 += int64(m00)
886 m00 = uint32(m[p+0])
902 m0 += int64(m00)
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_viewport_state.c62 vp->viewport.m00 = v[MAT_SX]; in gen7_upload_sf_clip_viewport()
Dgen6_viewport_state.c91 sfv->viewport.m00 = v[MAT_SX]; in gen6_upload_sf_vp()
Dbrw_sf_state.c67 sfv->viewport.m00 = v[MAT_SX]; in upload_sf_vp()
Dbrw_structs.h747 GLfloat m00; member
765 GLfloat m00; member
775 GLfloat m00; member
Dbrw_state_dump.c307 batch_out(brw, name, offset, 0, "m00 = %f\n", vp->viewport.m00); in dump_sf_viewport_state()
344 batch_out(brw, name, offset, 0, "m00 = %f\n", vp->viewport.m00); in dump_sf_clip_viewport_state()
/external/deqp/modules/gles2/scripts/
Dgenutil.py636 def __init__(self, m00, m01, m10, m11): argument
637 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
640 def __init__(self, m00, m01, m02, m10, m11, m12, m20, m21, m22): argument
641 Mat.__init__(self, 3, 3, [m00, m10, m20,
646 def __init__(self, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33): argument
647 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,
/external/skia/src/core/
DSkMatrix.cpp130 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); in computeTypeMask() local
152 int dp0 = 0 == (m00 | m11) ; // true if both are 0 in computeTypeMask()
159 if ((m00 ^ kScalar1Int) | (m11 ^ kScalar1Int)) { in computeTypeMask()
168 m00 = m00 != 0; in computeTypeMask()
172 mask |= (m00 & m11) << kRectStaysRect_Shift; in computeTypeMask()
1779 const SkScalar m00 = fSCos; in toQuad() local
1783 const SkScalar m11 = m00; in toQuad()
1787 quad[1].set(m00 * width + m02, m10 * width + m12); in toQuad()
1788 quad[2].set(m00 * width + m01 * height + m02, m10 * width + m11 * height + m12); in toQuad()
/external/opencv3/doc/py_tutorials/py_imgproc/py_contours/py_contour_features/
Dpy_contour_features.markdown36 cx = int(M['m10']/M['m00'])
37 cy = int(M['m01']/M['m00'])
43 Contour area is given by the function **cv2.contourArea()** or from moments, **M['m00']**.
/external/dng_sdk/source/
Ddng_reference.cpp1297 real32 m00 = (real32) cameraToRGB [0] [0]; in RefBaselineABCtoRGB() local
1320 real32 r = m00 * A + m01 * B + m02 * C; in RefBaselineABCtoRGB()
1355 real32 m00 = (real32) cameraToRGB [0] [0]; in RefBaselineABCDtoRGB() local
1383 real32 r = m00 * A + m01 * B + m02 * C + m03 * D; in RefBaselineABCDtoRGB()
1638 real32 m00 = (real32) matrix [0] [0]; in RefBaselineRGBtoGray() local
1649 real32 g = m00 * R + m01 * G + m02 * B; in RefBaselineRGBtoGray()
1671 real32 m00 = (real32) matrix [0] [0]; in RefBaselineRGBtoRGB() local
1690 real32 r = m00 * R + m01 * G + m02 * B; in RefBaselineRGBtoRGB()
/external/deqp/modules/gles3/scripts/
Dgenutil.py783 def __init__(self, m00, m01, m10, m11): argument
784 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
787 def __init__(self, m00, m01, m02, m10, m11, m12, m20, m21, m22): argument
788 Mat.__init__(self, 3, 3, [m00, m10, m20,
793 def __init__(self, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33): argument
794 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,
/external/deqp/modules/gles31/scripts/
Dgenutil.py785 def __init__(self, m00, m01, m10, m11): argument
786 Mat.__init__(self, 2, 2, [m00, m10, m01, m11])
789 def __init__(self, m00, m01, m02, m10, m11, m12, m20, m21, m22): argument
790 Mat.__init__(self, 3, 3, [m00, m10, m20,
795 def __init__(self, m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23, m30, m31, m32, m33): argument
796 Mat.__init__(self, 4, 4, [m00, m10, m20, m30,
/external/opencv/cv/include/
Dcvtypes.h53 double m00, m10, m01, m20, m11, m02, m30, m21, m12, m03; /* spatial moments */ member
/external/skia/include/utils/
DSkMatrix44.h310 void set3x3(SkMScalar m00, SkMScalar m01, SkMScalar m02,

12