Home
last modified time | relevance | path

Searched refs:centers (Results 1 – 16 of 16) sorted by relevance

/external/ceres-solver/internal/ceres/
Dcanonical_views_clustering.cc60 vector<int>* centers,
66 const vector<int>& centers) const;
68 void ComputeClusterMembership(const vector<int>& centers,
84 vector<int>* centers, in ComputeCanonicalViewsClustering() argument
88 cv.ComputeClustering(graph, options, centers, membership); in ComputeCanonicalViewsClustering()
97 vector<int>* centers, in ComputeClustering() argument
100 CHECK_NOTNULL(centers)->clear(); in ComputeClustering()
116 ComputeClusteringQualityDifference(*view, *centers); in ComputeClustering()
128 (centers->size() >= options_.min_views)) { in ComputeClustering()
132 centers->push_back(best_view); in ComputeClustering()
[all …]
Dcanonical_views_clustering.h103 vector<int>* centers,
Dvisibility_based_preconditioner.cc216 vector<int> centers; in ClusterCameras() local
220 &centers, in ClusterCameras()
222 num_clusters_ = centers.size(); in ClusterCameras()
/external/webp/src/enc/
Danalysis.c78 const int centers[NUM_MB_SEGMENTS], in SetSegmentAlphas()
81 int min = centers[0], max = centers[0]; in SetSegmentAlphas()
86 if (min > centers[n]) min = centers[n]; in SetSegmentAlphas()
87 if (max < centers[n]) max = centers[n]; in SetSegmentAlphas()
93 const int alpha = 255 * (centers[n] - mid) / (max - min); in SetSegmentAlphas()
94 const int beta = 255 * (centers[n] - min) / (max - min); in SetSegmentAlphas()
146 int centers[NUM_MB_SEGMENTS]; in AssignSegments() local
163 centers[k++] = min_a + (n * range_a) / (2 * nb); in AssignSegments()
178 while (n < nb - 1 && abs(a - centers[n + 1]) < abs(a - centers[n])) { in AssignSegments()
195 displaced += abs(centers[n] - new_center); in AssignSegments()
[all …]
/external/opencv/ml/src/
Dmlem.cpp576 CvMat* centers = 0; in kmeans() local
595 CV_CALL( centers = cvCreateMat( nclusters, dims, CV_64FC1 )); in kmeans()
602 CV_CALL( cvConvert( centers0, centers )); in kmeans()
625 const double* c = (double*)(centers->data.ptr + k*centers->step); in kmeans()
658 CV_SWAP( centers, old_centers, temp ); in kmeans()
659 cvZero( centers ); in kmeans()
667 double* c = (double*)(centers->data.ptr + k*centers->step); in kmeans()
693 double* c = (double*)(centers->data.ptr + k*centers->step); in kmeans()
754 cvReleaseMat( &centers ); in kmeans()
Dml_inner_functions.cpp267 CvMat* centers = _centers; in icvGenerateRandomClusterCenters() local
286 CV_CALL(centers = cvCreateMat (num_of_clusters, dim, CV_32FC1)); in icvGenerateRandomClusterCenters()
295 CV_CALL(centers = cvCreateMat (num_of_clusters, dim, CV_64FC1)); in icvGenerateRandomClusterCenters()
308 CV_CALL(cvGetCol (centers, &centers_comp, i)); in icvGenerateRandomClusterCenters()
314 if( (cvGetErrStatus () < 0) || (centers != _centers) ) in icvGenerateRandomClusterCenters()
315 cvReleaseMat (&centers); in icvGenerateRandomClusterCenters()
317 return _centers ? _centers : centers; in icvGenerateRandomClusterCenters()
1414 const CvMat* centers, CvMat* dst_centers, in cvWritebackLabels() argument
1469 if( dst_centers && (!centers || centers->data.ptr != dst_centers->data.ptr) ) in cvWritebackLabels()
1473 if( !centers ) in cvWritebackLabels()
[all …]
D_ml.h259 CvMat* centers CV_DEFAULT(0));
321 const CvMat* centers, CvMat* dst_centers,
/external/opencv/cxcore/src/
Dcxutils.cpp48 CvMat* centers = 0; in cvKMeans2() local
94 CV_CALL( centers = cvCreateMat( cluster_count, dims, CV_64FC1 )); in cvKMeans2()
108 cvZero( centers ); in cvKMeans2()
115 double* c = (double*)(centers->data.ptr + k*centers->step); in cvKMeans2()
140 double* c = (double*)(centers->data.ptr + k*centers->step); in cvKMeans2()
178 double* c = (double*)(centers->data.ptr + k*centers->step); in cvKMeans2()
211 CV_SWAP( centers, old_centers, temp ); in cvKMeans2()
236 cvReleaseMat( &centers ); in cvKMeans2()
/external/opencv/cv/src/
Dcvhough.cpp872 CvSeq *nz, *centers; in icvHoughCirclesGradient() local
892 CV_CALL( centers = cvCreateSeq( CV_32SC1, sizeof(CvSeq), sizeof(int), storage )); in icvHoughCirclesGradient()
970 cvSeqPush(centers, &base); in icvHoughCirclesGradient()
974 center_count = centers->total; in icvHoughCirclesGradient()
979 cvCvtSeqToArray( centers, sort_buf ); in icvHoughCirclesGradient()
982 cvClearSeq( centers ); in icvHoughCirclesGradient()
983 cvSeqPushMulti( centers, sort_buf, center_count ); in icvHoughCirclesGradient()
992 for( i = 0; i < centers->total; i++ ) in icvHoughCirclesGradient()
994 int ofs = *(int*)cvGetSeqElem( centers, i ); in icvHoughCirclesGradient()
Dcvcalibinit.cpp1022 CvPoint2D32f *centers = 0; in icvCleanFoundConnectedQuads() local
1039 CV_CALL( centers = (CvPoint2D32f *)cvAlloc( sizeof(centers[0])*quad_count )); in icvCleanFoundConnectedQuads()
1057 centers[i] = ci; in icvCleanFoundConnectedQuads()
1081 CvPoint2D32f temp = centers[skip]; // temporarily make index 'skip' the same as in icvCleanFoundConnectedQuads()
1082centers[skip] = center; // pattern center (so it is not counted for convex hull) in icvCleanFoundConnectedQuads()
1083 CvMat pointMat = cvMat(1, quad_count, CV_32FC2, centers); in icvCleanFoundConnectedQuads()
1085 centers[skip] = temp; in icvCleanFoundConnectedQuads()
1124 centers[min_box_area_index] = centers[quad_count]; in icvCleanFoundConnectedQuads()
1130 cvFree( &centers ); in icvCleanFoundConnectedQuads()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dpage_action_decoration.mm208 // except that code centers the image, which can differ in size
209 // between actions. This centers the maximum image size, so the
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window.mm533 // Title is higher: Move favicon down to align the centers.
536 // Favicon is higher: Move title down to align the centers.
/external/quake/quake/src/WinQuake/data/
DMANUAL.TXT662 Goons with probes inserted into their pleasure centers; wired up so
/external/webkit/PerformanceTests/Parser/resources/
Dfinal-url-en2490 http://buddhism.religion.designerz.com/buddhism-centers-and-groups-by-region-australia.php
7313 http://health.discovery.com/centers/articles/articles.html?chrome=c14&article=LC_121&center=p10
7314 http://health.discovery.com/centers/loverelationships/articles/dating_rules.html
7315 http://health.discovery.com/centers/loverelationships/articles/divorce.html
7327 http://health.yahoo.com/centers/women/19985.html
7344 http://health.yahoo.com/health/centers/diabetes/22
7345 http://health.yahoo.com/health/centers/pregnancy/438
7346 http://health.yahoo.com/health/centers/pregnancy/438.html
7347 http://health.yahoo.com/health/centers/relationships/1652.html
7348 http://health.yahoo.com/health/centers/sleep_disorders/103
[all …]
/external/srec/config/en.us/dictionary/
Dlarge.ok4834 centers sentPz
/external/webkit/Source/WebCore/
DChangeLog-2010-05-2413602 centers the Caps Lock indicator.
16128 centers the Caps Lock indicator.