idx 1133 3rdparty/libwebp/dsp/lossless.c static WEBP_INLINE uint32_t GetARGBIndex(uint32_t idx) { idx 1134 3rdparty/libwebp/dsp/lossless.c return (idx >> 8) & 0xff; idx 1137 3rdparty/libwebp/dsp/lossless.c static WEBP_INLINE uint8_t GetAlphaIndex(uint8_t idx) { idx 1138 3rdparty/libwebp/dsp/lossless.c return idx; idx 455 3rdparty/libwebp/enc/backward_references.c static WEBP_INLINE double GetCacheCost(const CostModel* const m, uint32_t idx) { idx 456 3rdparty/libwebp/enc/backward_references.c const int literal_idx = VALUES_IN_BYTE + NUM_LENGTH_CODES + idx; idx 675 3rdparty/libwebp/enc/backward_references.c const int idx = VP8LColorCacheGetIndex(&hashers, argb[i]); idx 676 3rdparty/libwebp/enc/backward_references.c refs->refs[size] = PixOrCopyCreateCacheIdx(idx); idx 126 3rdparty/libwebp/enc/backward_references.h static WEBP_INLINE PixOrCopy PixOrCopyCreateCacheIdx(int idx) { idx 128 3rdparty/libwebp/enc/backward_references.h assert(idx >= 0); idx 129 3rdparty/libwebp/enc/backward_references.h assert(idx < (1 << MAX_COLOR_CACHE_BITS)); idx 131 3rdparty/libwebp/enc/backward_references.h retval.argb_or_distance = idx; idx 70 3rdparty/libwebp/mux/muxedit.c if (idx == (INDEX)) { \ idx 78 3rdparty/libwebp/mux/muxedit.c static WebPMuxError MuxSet(WebPMux* const mux, CHUNK_INDEX idx, uint32_t nth, idx 83 3rdparty/libwebp/mux/muxedit.c assert(!IsWPI(kChunks[idx].id)); idx 91 3rdparty/libwebp/mux/muxedit.c if (idx == IDX_UNKNOWN && data->size > TAG_SIZE) { idx 106 3rdparty/libwebp/mux/muxedit.c const CHUNK_INDEX idx = ChunkGetIndexFromTag(tag); idx 110 3rdparty/libwebp/mux/muxedit.c assert(idx != IDX_NIL); idx 111 3rdparty/libwebp/mux/muxedit.c return MuxSet(mux, idx, nth, &chunk_data, copy_data); idx 212 3rdparty/libwebp/mux/muxedit.c CHUNK_INDEX idx; idx 219 3rdparty/libwebp/mux/muxedit.c idx = ChunkGetIndexFromFourCC(fourcc); idx 227 3rdparty/libwebp/mux/muxedit.c return MuxSet(mux, idx, 1, chunk_data, copy_data); idx 92 3rdparty/libwebp/mux/muxinternal.c const CHUNK_INDEX idx = ChunkGetIndexFromTag(tag); idx 93 3rdparty/libwebp/mux/muxinternal.c return (idx == IDX_NIL) ? IDX_UNKNOWN : idx; idx 475 3rdparty/libwebp/mux/muxinternal.c static WebPMuxError ValidateChunk(const WebPMux* const mux, CHUNK_INDEX idx, idx 480 3rdparty/libwebp/mux/muxinternal.c WebPMuxNumChunks(mux, kChunks[idx].id, num); idx 28 3rdparty/libwebp/mux/muxread.c if (idx == (INDEX)) { \ idx 39 3rdparty/libwebp/mux/muxread.c static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx, idx 42 3rdparty/libwebp/mux/muxread.c assert(!IsWPI(kChunks[idx].id)); idx 351 3rdparty/libwebp/mux/muxread.c CHUNK_INDEX idx; idx 355 3rdparty/libwebp/mux/muxread.c idx = ChunkGetIndexFromFourCC(fourcc); idx 356 3rdparty/libwebp/mux/muxread.c if (IsWPI(kChunks[idx].id)) { // An image chunk. idx 358 3rdparty/libwebp/mux/muxread.c } else if (idx != IDX_UNKNOWN) { // A known chunk type. idx 359 3rdparty/libwebp/mux/muxread.c return MuxGet(mux, idx, 1, chunk_data); idx 383 3rdparty/libwebp/mux/muxread.c const CHUNK_INDEX idx = is_frame ? IDX_ANMF : IDX_FRGM; idx 391 3rdparty/libwebp/mux/muxread.c if (frame_frgm_data->size < kChunks[idx].size) return WEBP_MUX_BAD_DATA; idx 476 3rdparty/libwebp/mux/muxread.c const CHUNK_INDEX idx = ChunkGetIndexFromId(id); idx 477 3rdparty/libwebp/mux/muxread.c *num_elements = CountChunks(*chunk_list, kChunks[idx].tag); idx 245 3rdparty/libwebp/utils/bit_reader.h const bit_t idx = br->range_ >> (BITS); idx 246 3rdparty/libwebp/utils/bit_reader.h const int shift = kVP8Log2Range[idx]; idx 247 3rdparty/libwebp/utils/bit_reader.h br->range_ = kVP8NewRange[idx]; idx 214 3rdparty/libwebp/utils/huffman_encode.c int idx = 0; idx 220 3rdparty/libwebp/utils/huffman_encode.c tree[idx].total_count_ = count; idx 221 3rdparty/libwebp/utils/huffman_encode.c tree[idx].value_ = j; idx 222 3rdparty/libwebp/utils/huffman_encode.c tree[idx].pool_index_left_ = -1; idx 223 3rdparty/libwebp/utils/huffman_encode.c tree[idx].pool_index_right_ = -1; idx 224 3rdparty/libwebp/utils/huffman_encode.c ++idx; idx 29 apps/traincascade/HOGfeatures.cpp void CvHOGEvaluator::setImage(const Mat &img, uchar clsLabel, int idx) idx 32 apps/traincascade/HOGfeatures.cpp CvFeatureEvaluator::setImage( img, clsLabel, idx ); idx 36 apps/traincascade/HOGfeatures.cpp integralHist.push_back( Mat(winSize.height + 1, winSize.width + 1, hist[bin].type(), hist[bin].ptr<float>((int)idx)) ); idx 38 apps/traincascade/HOGfeatures.cpp Mat integralNorm(winSize.height + 1, winSize.width + 1, normSum.type(), normSum.ptr<float>((int)idx)); idx 24 apps/traincascade/HOGfeatures.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); idx 118 apps/traincascade/boost.cpp CvMat* idx = 0; idx 182 apps/traincascade/boost.cpp CV_CALL( idx = cvCreateMat( 1, idx_selected, CV_32SC1 )); idx 183 apps/traincascade/boost.cpp dsti = idx->data.i; idx 213 apps/traincascade/boost.cpp cvReleaseMat( &idx ); idx 215 apps/traincascade/boost.cpp return idx; idx 433 apps/traincascade/boost.cpp int j = 0, idx, count_i; idx 443 apps/traincascade/boost.cpp idx = src_idx[i]; idx 444 apps/traincascade/boost.cpp count_i = co[idx*2]; idx 446 apps/traincascade/boost.cpp for( cur_ofs = co[idx*2+1]; count_i > 0; count_i--, j++, cur_ofs++ ) idx 456 apps/traincascade/boost.cpp idx = src_idx[i]; idx 457 apps/traincascade/boost.cpp count_i = co[idx*2]; idx 459 apps/traincascade/boost.cpp for( cur_ofs = co[idx*2+1]; count_i > 0; count_i--, j++, cur_ofs++ ) idx 765 apps/traincascade/boost.cpp int idx = (*sortedIndices)[i]; idx 766 apps/traincascade/boost.cpp idx = sampleIndices[idx]; idx 767 apps/traincascade/boost.cpp ordValuesBuf[i] = valCache.at<float>( vi, idx); idx 774 apps/traincascade/boost.cpp int idx = (*sortedIndices)[i]; idx 775 apps/traincascade/boost.cpp idx = sampleIndices[idx]; idx 776 apps/traincascade/boost.cpp ordValuesBuf[i] = (*featureEvaluator)( vi, idx); idx 1176 apps/traincascade/boost.cpp int idx = tempBuf[i]; idx 1177 apps/traincascade/boost.cpp int d = dir[idx]; idx 1178 apps/traincascade/boost.cpp idx = newIdx[idx]; idx 1181 apps/traincascade/boost.cpp *rdst = (ushort)idx; idx 1186 apps/traincascade/boost.cpp *ldst = (ushort)idx; idx 1203 apps/traincascade/boost.cpp int idx = tempBuf[i]; idx 1204 apps/traincascade/boost.cpp int d = dir[idx]; idx 1205 apps/traincascade/boost.cpp idx = newIdx[idx]; idx 1208 apps/traincascade/boost.cpp *rdst = idx; idx 1213 apps/traincascade/boost.cpp *ldst = idx; idx 1237 apps/traincascade/boost.cpp int idx = tempBuf[i]; idx 1240 apps/traincascade/boost.cpp *rdst = (unsigned short)idx; idx 1245 apps/traincascade/boost.cpp *ldst = (unsigned short)idx; idx 1260 apps/traincascade/boost.cpp int idx = tempBuf[i]; idx 1263 apps/traincascade/boost.cpp *rdst = idx; idx 1268 apps/traincascade/boost.cpp *ldst = idx; idx 1289 apps/traincascade/boost.cpp unsigned short idx = (unsigned short)tempBuf[i]; idx 1292 apps/traincascade/boost.cpp *rdst = idx; idx 1297 apps/traincascade/boost.cpp *ldst = idx; idx 1310 apps/traincascade/boost.cpp int idx = tempBuf[i]; idx 1313 apps/traincascade/boost.cpp *rdst = idx; idx 1318 apps/traincascade/boost.cpp *ldst = idx; idx 559 apps/traincascade/cascadeclassifier.cpp for( int fi = 0, idx = 0; fi < varCount; fi++ ) idx 561 apps/traincascade/cascadeclassifier.cpp featureMap.ptr<int>(0)[fi] = idx++; idx 79 apps/traincascade/features.cpp void CvFeatureEvaluator::setImage(const Mat &img, uchar clsLabel, int idx) idx 83 apps/traincascade/features.cpp CV_Assert(idx < cls.rows); idx 84 apps/traincascade/features.cpp cls.ptr<float>(idx)[0] = clsLabel; idx 98 apps/traincascade/haarfeatures.cpp void CvHaarEvaluator::setImage(const Mat& img, uchar clsLabel, int idx) idx 101 apps/traincascade/haarfeatures.cpp CvFeatureEvaluator::setImage( img, clsLabel, idx); idx 102 apps/traincascade/haarfeatures.cpp Mat innSum(winSize.height + 1, winSize.width + 1, sum.type(), sum.ptr<int>((int)idx)); idx 103 apps/traincascade/haarfeatures.cpp Mat innTilted(winSize.height + 1, winSize.width + 1, tilted.type(), tilted.ptr<int>((int)idx)); idx 106 apps/traincascade/haarfeatures.cpp normfactor.ptr<float>(0)[idx] = calcNormFactor( innSum, innSqSum ); idx 36 apps/traincascade/haarfeatures.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); idx 22 apps/traincascade/lbpfeatures.cpp void CvLBPEvaluator::setImage(const Mat &img, uchar clsLabel, int idx) idx 25 apps/traincascade/lbpfeatures.cpp CvFeatureEvaluator::setImage( img, clsLabel, idx ); idx 26 apps/traincascade/lbpfeatures.cpp Mat innSum(winSize.height + 1, winSize.width + 1, sum.type(), sum.ptr<int>((int)idx)); idx 19 apps/traincascade/lbpfeatures.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); idx 574 apps/traincascade/old_ml.hpp #define CV_DTREE_CAT_DIR(idx,subset) \ idx 575 apps/traincascade/old_ml.hpp (2*((subset[(idx)>>5]&(1 << ((idx) & 31)))==0)-1) idx 1965 apps/traincascade/old_ml.hpp void set_response_idx( int idx ); // old response become predictors, new response_idx = idx idx 200 apps/traincascade/old_ml_boost.cpp int idx = ((cat_labels[i] == 65535) && data->is_buf_16u) ? -1 : cat_labels[i]; idx 202 apps/traincascade/old_ml_boost.cpp int d = idx >= 0 ? CV_DTREE_CAT_DIR(idx,subset) : 0; idx 227 apps/traincascade/old_ml_boost.cpp int idx = sorted_indices[i]; idx 228 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 229 apps/traincascade/old_ml_boost.cpp dir[idx] = (char)-1; idx 235 apps/traincascade/old_ml_boost.cpp int idx = sorted_indices[i]; idx 236 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 237 apps/traincascade/old_ml_boost.cpp dir[idx] = (char)1; idx 282 apps/traincascade/old_ml_boost.cpp int idx = sorted_indices[i]; idx 283 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 284 apps/traincascade/old_ml_boost.cpp rcw[responses[idx]] -= w; idx 297 apps/traincascade/old_ml_boost.cpp int idx = sorted_indices[i]; idx 298 apps/traincascade/old_ml_boost.cpp double w = weights[idx], w2 = w*w; idx 300 apps/traincascade/old_ml_boost.cpp idx = responses[idx]; idx 302 apps/traincascade/old_ml_boost.cpp lv = lcw[idx]; rv = rcw[idx]; idx 305 apps/traincascade/old_ml_boost.cpp lcw[idx] = lv + w; rcw[idx] = rv - w; idx 322 apps/traincascade/old_ml_boost.cpp int idx = sorted_indices[i]; idx 323 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 324 apps/traincascade/old_ml_boost.cpp idx = responses[idx]; idx 325 apps/traincascade/old_ml_boost.cpp lcw[idx] += w; idx 326 apps/traincascade/old_ml_boost.cpp rcw[idx] -= w; idx 384 apps/traincascade/old_ml_boost.cpp int i, j, k, idx; idx 422 apps/traincascade/old_ml_boost.cpp idx = (int)(dbl_ptr[subset_i] - cjk)/2; idx 423 apps/traincascade/old_ml_boost.cpp const double* crow = cjk + idx*2; idx 474 apps/traincascade/old_ml_boost.cpp idx = (int)(dbl_ptr[i] - cjk) >> 1; idx 475 apps/traincascade/old_ml_boost.cpp split->subset[idx >> 5] |= 1 << (idx & 31); idx 511 apps/traincascade/old_ml_boost.cpp int idx = indices[i]; idx 512 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 513 apps/traincascade/old_ml_boost.cpp rsum -= responses[idx]*w; idx 520 apps/traincascade/old_ml_boost.cpp int idx = indices[i]; idx 521 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 522 apps/traincascade/old_ml_boost.cpp double t = responses[idx]*w; idx 583 apps/traincascade/old_ml_boost.cpp int idx = ((cat_labels[i] == 65535) && data->is_buf_16u) ? -1 : cat_labels[i]; idx 585 apps/traincascade/old_ml_boost.cpp double s = sum[idx] + responses[i]*w; idx 586 apps/traincascade/old_ml_boost.cpp double nc = counts[idx] + w; idx 587 apps/traincascade/old_ml_boost.cpp sum[idx] = s; idx 588 apps/traincascade/old_ml_boost.cpp counts[idx] = nc; idx 609 apps/traincascade/old_ml_boost.cpp int idx = (int)(sum_ptr[subset_i] - sum); idx 610 apps/traincascade/old_ml_boost.cpp double ni = counts[idx]; idx 614 apps/traincascade/old_ml_boost.cpp double s = sum[idx]; idx 639 apps/traincascade/old_ml_boost.cpp int idx = (int)(sum_ptr[i] - sum); idx 640 apps/traincascade/old_ml_boost.cpp split->subset[idx >> 5] |= 1 << (idx & 31); idx 679 apps/traincascade/old_ml_boost.cpp int idx = indices[i]; idx 680 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 681 apps/traincascade/old_ml_boost.cpp int d = dir[idx]; idx 694 apps/traincascade/old_ml_boost.cpp int idx = indices[i]; idx 695 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 696 apps/traincascade/old_ml_boost.cpp int d = dir[idx]; idx 756 apps/traincascade/old_ml_boost.cpp int idx = ((cat_labels[i] == 65535) && data->is_buf_16u) ? -1 : cat_labels[i]; idx 759 apps/traincascade/old_ml_boost.cpp double sum = lc[idx] + d*w; idx 760 apps/traincascade/old_ml_boost.cpp double sum_abs = rc[idx] + (d & 1)*w; idx 761 apps/traincascade/old_ml_boost.cpp lc[idx] = sum; rc[idx] = sum_abs; idx 817 apps/traincascade/old_ml_boost.cpp int idx = labels[i]; idx 818 apps/traincascade/old_ml_boost.cpp double w = weights[idx]; idx 855 apps/traincascade/old_ml_boost.cpp int idx = labels[i]; idx 856 apps/traincascade/old_ml_boost.cpp double w = weights[idx]/*priors[values[i] > 0]*/; idx 1692 apps/traincascade/old_ml_boost.cpp int idx = vidx[i], idx_abs = vidx_abs[i]; idx 1694 apps/traincascade/old_ml_boost.cpp int ci = vtype[idx]; idx 122 apps/traincascade/old_ml_data.cpp void CvMLData::set_header_lines_number( int idx ) idx 124 apps/traincascade/old_ml_data.cpp header_lines_number = std::max(0, idx); idx 315 apps/traincascade/old_ml_data.cpp int idx = class_map[token]; idx 316 apps/traincascade/old_ml_data.cpp if ( idx == 0) idx 319 apps/traincascade/old_ml_data.cpp idx = total_class_count; idx 320 apps/traincascade/old_ml_data.cpp class_map[token] = idx; idx 322 apps/traincascade/old_ml_data.cpp flt_elem = (float)idx; idx 364 apps/traincascade/old_ml_data.cpp void CvMLData::set_response_idx( int idx ) idx 372 apps/traincascade/old_ml_data.cpp if ( idx >= values->cols) idx 377 apps/traincascade/old_ml_data.cpp if ( idx >= 0 ) idx 378 apps/traincascade/old_ml_data.cpp chahge_var_idx( idx, false ); idx 379 apps/traincascade/old_ml_data.cpp response_idx = idx; idx 387 apps/traincascade/old_ml_inner_functions.cpp return ((CvSparseVecElem32f*)a)->idx - ((CvSparseVecElem32f*)b)->idx; idx 394 apps/traincascade/old_ml_inner_functions.cpp CvMat* idx = 0; idx 458 apps/traincascade/old_ml_inner_functions.cpp CV_CALL( idx = cvCreateMat( 1, idx_selected, CV_32SC1 )); idx 459 apps/traincascade/old_ml_inner_functions.cpp dsti = idx->data.i; idx 489 apps/traincascade/old_ml_inner_functions.cpp cvReleaseMat( &idx ); idx 491 apps/traincascade/old_ml_inner_functions.cpp return idx; idx 614 apps/traincascade/old_ml_inner_functions.cpp int idx = map ? map[i] : i; idx 615 apps/traincascade/old_ml_inner_functions.cpp assert( (unsigned)idx < (unsigned)sample_all ); idx 616 apps/traincascade/old_ml_inner_functions.cpp dst[i] = src[idx*r_step]; idx 624 apps/traincascade/old_ml_inner_functions.cpp int idx = map ? map[i] : i; idx 625 apps/traincascade/old_ml_inner_functions.cpp assert( (unsigned)idx < (unsigned)sample_all ); idx 626 apps/traincascade/old_ml_inner_functions.cpp dst[i] = (float)src[idx*r_step]; idx 703 apps/traincascade/old_ml_inner_functions.cpp int idx = map ? map[i] : i; idx 704 apps/traincascade/old_ml_inner_functions.cpp assert( (unsigned)idx < (unsigned)sample_all ); idx 706 apps/traincascade/old_ml_inner_functions.cpp dst[i] = srci[idx*r_step]; idx 709 apps/traincascade/old_ml_inner_functions.cpp float rf = srcfl[idx*r_step]; idx 714 apps/traincascade/old_ml_inner_functions.cpp sprintf( buf, "response #%d is not integral", idx ); idx 1174 apps/traincascade/old_ml_inner_functions.cpp dst[dims_selected].idx = -1; idx 1177 apps/traincascade/old_ml_inner_functions.cpp dst[i].idx = i; idx 1206 apps/traincascade/old_ml_inner_functions.cpp int idx = *CV_NODE_IDX( sparse, node ); idx 1209 apps/traincascade/old_ml_inner_functions.cpp idx = inverse_comp_idx[idx]; idx 1210 apps/traincascade/old_ml_inner_functions.cpp if( idx < 0 ) idx 1213 apps/traincascade/old_ml_inner_functions.cpp row_sample[idx] = *(float*)CV_NODE_VAL( sparse, node ); idx 1222 apps/traincascade/old_ml_inner_functions.cpp int idx = *CV_NODE_IDX( sparse, node ); idx 1225 apps/traincascade/old_ml_inner_functions.cpp idx = inverse_comp_idx[idx]; idx 1226 apps/traincascade/old_ml_inner_functions.cpp if( idx < 0 ) idx 1229 apps/traincascade/old_ml_inner_functions.cpp ptr->idx = idx; idx 1236 apps/traincascade/old_ml_inner_functions.cpp ptr->idx = -1; idx 1258 apps/traincascade/old_ml_inner_functions.cpp CvSize size, int* idx ) idx 1279 apps/traincascade/old_ml_inner_functions.cpp if( !idx && CV_ELEM_SIZE(src_type)*size.width == src_step && idx 1292 apps/traincascade/old_ml_inner_functions.cpp *(int*)(dst + dst_step*(idx ? idx[i] : i)) = *(int*)src; idx 1295 apps/traincascade/old_ml_inner_functions.cpp memcpy( dst + dst_step*(idx ? idx[i] : i), src, full_width ); idx 1300 apps/traincascade/old_ml_inner_functions.cpp uchar* _dst = dst + dst_step*(idx ? idx[i] : i); idx 1311 apps/traincascade/old_ml_inner_functions.cpp uchar* _dst = dst + dst_step*(idx ? idx[i] : i); idx 1323 apps/traincascade/old_ml_inner_functions.cpp uchar* _dst = dst + dst_step*(idx ? idx[i] : i); idx 1589 apps/traincascade/old_ml_inner_functions.cpp int* idx = CV_NODE_IDX( sparse, node ); idx 1590 apps/traincascade/old_ml_inner_functions.cpp int idx0 = idx[tflag ^ 1]; idx 1591 apps/traincascade/old_ml_inner_functions.cpp int idx1 = idx[tflag]; idx 1603 apps/traincascade/old_ml_inner_functions.cpp int idx = i; idx 1610 apps/traincascade/old_ml_inner_functions.cpp idx = sample_idx->data.i[i*sample_idx_step]; idx 1611 apps/traincascade/old_ml_inner_functions.cpp if( (unsigned)idx >= (unsigned)samples_all ) idx 1622 apps/traincascade/old_ml_inner_functions.cpp cvGetRow( predict_input, &predict_input_part, idx ); idx 1625 apps/traincascade/old_ml_inner_functions.cpp cvGetCol( predict_input, &predict_input_part, idx ); idx 1629 apps/traincascade/old_ml_inner_functions.cpp sample = sparse_rows[idx]; idx 1632 apps/traincascade/old_ml_inner_functions.cpp cvGetRow( probs, probs1, idx ); idx 1637 apps/traincascade/old_ml_inner_functions.cpp predict_output->data.fl[idx*predict_output_step] = response; idx 1641 apps/traincascade/old_ml_inner_functions.cpp predict_output->data.i[idx*predict_output_step] = cvRound(response); idx 267 apps/traincascade/old_ml_precomp.hpp int idx; idx 819 apps/traincascade/old_ml_tree.cpp int j = 0, idx, count_i; idx 828 apps/traincascade/old_ml_tree.cpp idx = src_idx[i]; idx 829 apps/traincascade/old_ml_tree.cpp count_i = co[idx*2]; idx 831 apps/traincascade/old_ml_tree.cpp for( cur_ofs = co[idx*2+1]; count_i > 0; count_i--, j++, cur_ofs++ ) idx 839 apps/traincascade/old_ml_tree.cpp idx = src_idx[i]; idx 840 apps/traincascade/old_ml_tree.cpp count_i = co[idx*2]; idx 842 apps/traincascade/old_ml_tree.cpp for( cur_ofs = co[idx*2+1]; count_i > 0; count_i--, j++, cur_ofs++ ) idx 852 apps/traincascade/old_ml_tree.cpp idx = src_idx[i]; idx 853 apps/traincascade/old_ml_tree.cpp count_i = co[idx*2]; idx 855 apps/traincascade/old_ml_tree.cpp for( cur_ofs = co[idx*2+1]; count_i > 0; count_i--, j++, cur_ofs++ ) idx 863 apps/traincascade/old_ml_tree.cpp idx = src_idx[i]; idx 864 apps/traincascade/old_ml_tree.cpp count_i = co[idx*2]; idx 866 apps/traincascade/old_ml_tree.cpp for( cur_ofs = co[idx*2+1]; count_i > 0; count_i--, j++, cur_ofs++ ) idx 950 apps/traincascade/old_ml_tree.cpp int idx = sidx ? sidx[i] : i; idx 951 apps/traincascade/old_ml_tree.cpp int val = src[idx]; idx 974 apps/traincascade/old_ml_tree.cpp int idx = src_idx[i]; idx 978 apps/traincascade/old_ml_tree.cpp count_i = co[idx*2]; idx 979 apps/traincascade/old_ml_tree.cpp cur_ofs = co[idx*2+1]; idx 982 apps/traincascade/old_ml_tree.cpp cur_ofs = idx*var_count; idx 1005 apps/traincascade/old_ml_tree.cpp int idx = sidx ? sidx[i] : i; idx 1006 apps/traincascade/old_ml_tree.cpp int val = get_class_idx ? src[idx] : idx 1007 apps/traincascade/old_ml_tree.cpp cat_map->data.i[cat_ofs->data.i[cat_var_count]+src[idx]]; idx 1018 apps/traincascade/old_ml_tree.cpp int idx = sidx ? sidx[i] : i; idx 1019 apps/traincascade/old_ml_tree.cpp _responses[i] = _values[idx]; idx 1209 apps/traincascade/old_ml_tree.cpp int idx = (*sorted_indices)[i]; idx 1210 apps/traincascade/old_ml_tree.cpp idx = sample_indices[idx]; idx 1211 apps/traincascade/old_ml_tree.cpp ord_values_buf[i] = *(train_data->data.fl + idx * td_step + vidx); idx 1218 apps/traincascade/old_ml_tree.cpp int idx = (*sorted_indices)[i]; idx 1219 apps/traincascade/old_ml_tree.cpp idx = sample_indices[idx]; idx 1220 apps/traincascade/old_ml_tree.cpp ord_values_buf[i] = *(train_data->data.fl + vidx* td_step + idx); idx 1248 apps/traincascade/old_ml_tree.cpp int idx = indices[i]; idx 1249 apps/traincascade/old_ml_tree.cpp values_buf[i] = *(responses->data.fl + idx * r_step); idx 1283 apps/traincascade/old_ml_tree.cpp int idx = n->buf_idx + 1; idx 1284 apps/traincascade/old_ml_tree.cpp if( idx >= buf_count ) idx 1285 apps/traincascade/old_ml_tree.cpp idx = shared ? 1 : 0; idx 1286 apps/traincascade/old_ml_tree.cpp return idx; idx 1792 apps/traincascade/old_ml_tree.cpp int idx = labels[i]; idx 1793 apps/traincascade/old_ml_tree.cpp int d = ( ((idx >= 0)&&(!data->is_buf_16u)) || ((idx != 65535)&&(data->is_buf_16u)) ) ? idx 1794 apps/traincascade/old_ml_tree.cpp CV_DTREE_CAT_DIR(idx,subset) : 0; idx 1811 apps/traincascade/old_ml_tree.cpp int idx = labels[i]; idx 1813 apps/traincascade/old_ml_tree.cpp int d = idx >= 0 ? CV_DTREE_CAT_DIR(idx,subset) : 0; idx 1857 apps/traincascade/old_ml_tree.cpp int idx = sorted[i]; idx 1858 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; idx 1859 apps/traincascade/old_ml_tree.cpp dir[idx] = (char)-1; idx 1865 apps/traincascade/old_ml_tree.cpp int idx = sorted[i]; idx 1866 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; idx 1867 apps/traincascade/old_ml_tree.cpp dir[idx] = (char)1; idx 2026 apps/traincascade/old_ml_tree.cpp int idx = responses[sorted_indices[i]]; idx 2029 apps/traincascade/old_ml_tree.cpp lv = lc[idx]; rv = rc[idx]; idx 2032 apps/traincascade/old_ml_tree.cpp lc[idx] = lv + 1; rc[idx] = rv - 1; idx 2057 apps/traincascade/old_ml_tree.cpp int idx = responses[sorted_indices[i]]; idx 2059 apps/traincascade/old_ml_tree.cpp double p = priors[idx], p2 = p*p; idx 2061 apps/traincascade/old_ml_tree.cpp lv = lc[idx]; rv = rc[idx]; idx 2064 apps/traincascade/old_ml_tree.cpp lc[idx] = lv + 1; rc[idx] = rv - 1; idx 2097 apps/traincascade/old_ml_tree.cpp int i, j, idx; idx 2164 apps/traincascade/old_ml_tree.cpp for( idx = 0; idx < k; idx++ ) idx 2166 apps/traincascade/old_ml_tree.cpp const int* s = csums + idx*m; idx 2167 apps/traincascade/old_ml_tree.cpp double dist2 = 0., beta = c_weights[idx]; idx 2176 apps/traincascade/old_ml_tree.cpp min_idx = idx; idx 2219 apps/traincascade/old_ml_tree.cpp int i, j, k, idx; idx 2286 apps/traincascade/old_ml_tree.cpp idx = (int)(int_ptr[subset_i] - cjk)/2; idx 2294 apps/traincascade/old_ml_tree.cpp idx = diff >= (1 << 16) ? 16 : 0; idx 2296 apps/traincascade/old_ml_tree.cpp idx += (u.i >> 23) - 127; idx 2301 apps/traincascade/old_ml_tree.cpp crow = cjk + idx*m; idx 2302 apps/traincascade/old_ml_tree.cpp weight = c_weights[idx]; idx 2359 apps/traincascade/old_ml_tree.cpp idx = (int)(int_ptr[i] - cjk) >> 1; idx 2360 apps/traincascade/old_ml_tree.cpp split->subset[idx >> 5] |= 1 << (idx & 31); idx 2367 apps/traincascade/old_ml_tree.cpp idx = cluster_labels ? cluster_labels[i] : i; idx 2368 apps/traincascade/old_ml_tree.cpp if( best_subset & (1 << idx) ) idx 2467 apps/traincascade/old_ml_tree.cpp int idx = ( (labels[i] == 65535) && data->is_buf_16u ) ? -1 : labels[i]; idx 2468 apps/traincascade/old_ml_tree.cpp double s = sum[idx] + responses[i]; idx 2469 apps/traincascade/old_ml_tree.cpp int nc = counts[idx] + 1; idx 2470 apps/traincascade/old_ml_tree.cpp sum[idx] = s; idx 2471 apps/traincascade/old_ml_tree.cpp counts[idx] = nc; idx 2492 apps/traincascade/old_ml_tree.cpp int idx = (int)(sum_ptr[subset_i] - sum); idx 2493 apps/traincascade/old_ml_tree.cpp int ni = counts[idx]; idx 2497 apps/traincascade/old_ml_tree.cpp double s = sum[idx]; idx 2522 apps/traincascade/old_ml_tree.cpp int idx = (int)(sum_ptr[i] - sum); idx 2523 apps/traincascade/old_ml_tree.cpp split->subset[idx >> 5] |= 1 << (idx & 31); idx 2607 apps/traincascade/old_ml_tree.cpp int idx = sorted_indices[i]; idx 2608 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; idx 2609 apps/traincascade/old_ml_tree.cpp int d = dir[idx]; idx 2622 apps/traincascade/old_ml_tree.cpp int idx = sorted_indices[i]; idx 2623 apps/traincascade/old_ml_tree.cpp double w = priors[responses[idx]]; idx 2624 apps/traincascade/old_ml_tree.cpp int d = dir[idx]; idx 2690 apps/traincascade/old_ml_tree.cpp int idx = ( (labels[i] == 65535) && (data->is_buf_16u) ) ? -1 : labels[i]; idx 2692 apps/traincascade/old_ml_tree.cpp int sum = _lc[idx] + d; idx 2693 apps/traincascade/old_ml_tree.cpp int sum_abs = _rc[idx] + (d & 1); idx 2694 apps/traincascade/old_ml_tree.cpp _lc[idx] = sum; _rc[idx] = sum_abs; idx 2713 apps/traincascade/old_ml_tree.cpp int idx = ( (labels[i] == 65535) && (data->is_buf_16u) ) ? -1 : labels[i]; idx 2716 apps/traincascade/old_ml_tree.cpp double sum = lc[idx] + d*w; idx 2717 apps/traincascade/old_ml_tree.cpp double sum_abs = rc[idx] + (d & 1)*w; idx 2718 apps/traincascade/old_ml_tree.cpp lc[idx] = sum; rc[idx] = sum_abs; idx 2970 apps/traincascade/old_ml_tree.cpp int idx = labels[i]; idx 2971 apps/traincascade/old_ml_tree.cpp if( !dir[i] && ( ((idx >= 0)&&(!data->is_buf_16u)) || ((idx != 65535)&&(data->is_buf_16u)) )) idx 2974 apps/traincascade/old_ml_tree.cpp int d = CV_DTREE_CAT_DIR(idx,subset); idx 2996 apps/traincascade/old_ml_tree.cpp int idx = sorted_indices[i]; idx 2997 apps/traincascade/old_ml_tree.cpp if( !dir[idx] ) idx 3000 apps/traincascade/old_ml_tree.cpp dir[idx] = (char)((d ^ inversed_mask) - inversed_mask); idx 3096 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3097 apps/traincascade/old_ml_tree.cpp int d = dir[idx]; idx 3098 apps/traincascade/old_ml_tree.cpp idx = new_idx[idx]; idx 3101 apps/traincascade/old_ml_tree.cpp *rdst = (unsigned short)idx; idx 3106 apps/traincascade/old_ml_tree.cpp *ldst = (unsigned short)idx; idx 3117 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3118 apps/traincascade/old_ml_tree.cpp int d = dir[idx]; idx 3119 apps/traincascade/old_ml_tree.cpp idx = new_idx[idx]; idx 3122 apps/traincascade/old_ml_tree.cpp *rdst = (unsigned short)idx; idx 3127 apps/traincascade/old_ml_tree.cpp *ldst = (unsigned short)idx; idx 3143 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3144 apps/traincascade/old_ml_tree.cpp int d = dir[idx]; idx 3145 apps/traincascade/old_ml_tree.cpp idx = new_idx[idx]; idx 3148 apps/traincascade/old_ml_tree.cpp *rdst = idx; idx 3153 apps/traincascade/old_ml_tree.cpp *ldst = idx; idx 3164 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3165 apps/traincascade/old_ml_tree.cpp int d = dir[idx]; idx 3166 apps/traincascade/old_ml_tree.cpp idx = new_idx[idx]; idx 3169 apps/traincascade/old_ml_tree.cpp *rdst = idx; idx 3174 apps/traincascade/old_ml_tree.cpp *ldst = idx; idx 3206 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3209 apps/traincascade/old_ml_tree.cpp *rdst = (unsigned short)idx; idx 3211 apps/traincascade/old_ml_tree.cpp nr1 += (idx != 65535 )&d; idx 3215 apps/traincascade/old_ml_tree.cpp *ldst = (unsigned short)idx; idx 3236 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3239 apps/traincascade/old_ml_tree.cpp *rdst = idx; idx 3241 apps/traincascade/old_ml_tree.cpp nr1 += (idx >= 0)&d; idx 3245 apps/traincascade/old_ml_tree.cpp *ldst = idx; idx 3277 apps/traincascade/old_ml_tree.cpp unsigned short idx = (unsigned short)temp_buf[i]; idx 3280 apps/traincascade/old_ml_tree.cpp *rdst = idx; idx 3285 apps/traincascade/old_ml_tree.cpp *ldst = idx; idx 3299 apps/traincascade/old_ml_tree.cpp int idx = temp_buf[i]; idx 3302 apps/traincascade/old_ml_tree.cpp *rdst = idx; idx 3307 apps/traincascade/old_ml_tree.cpp *ldst = idx; idx 81 apps/traincascade/traincascade_features.h virtual void setImage(const cv::Mat& img, uchar clsLabel, int idx); idx 1510 modules/calib3d/src/calibinit.cpp int idx, i, k, j; idx 1514 modules/calib3d/src/calibinit.cpp for( idx = 0; idx < quad_count; idx++ ) idx 1516 modules/calib3d/src/calibinit.cpp CvCBQuad* cur_quad = &quads[idx]; idx 1540 modules/calib3d/src/calibinit.cpp if( k == idx ) idx 1610 modules/calib3d/src/calibinit.cpp if( k == idx || q == closest_quad ) idx 1667 modules/calib3d/src/calibinit.cpp int i, idx, min_size; idx 1761 modules/calib3d/src/calibinit.cpp for( idx = 0; idx < root->total; idx++ ) idx 1764 modules/calib3d/src/calibinit.cpp src_contour = *(CvSeq**)cvGetSeqElem( root, idx ); idx 2171 modules/calib3d/src/calibration.cpp int idx = fabs(_t[0]) > fabs(_t[1]) ? 0 : 1; idx 2172 modules/calib3d/src/calibration.cpp double c = _t[idx], nt = cvNorm(&t, 0, CV_L2); idx 2173 modules/calib3d/src/calibration.cpp _uu[idx] = c > 0 ? 1 : -1; idx 2198 modules/calib3d/src/calibration.cpp double fc = cvmGet(A,idx^1,idx^1); idx 2247 modules/calib3d/src/calibration.cpp else if( idx == 0 ) // horizontal stereo idx 2261 modules/calib3d/src/calibration.cpp _pp[idx][3] = _t[idx]*fc_new; // baseline * focal length idx 2315 modules/calib3d/src/calibration.cpp cvmSet(_P2, idx, 3, s*cvmGet(_P2, idx, 3)); idx 2341 modules/calib3d/src/calibration.cpp 0, 0, -1./_t[idx], idx 2342 modules/calib3d/src/calibration.cpp (idx == 0 ? cc_new[0].x - cc_new[1].x : cc_new[0].y - cc_new[1].y)/_t[idx] idx 3589 modules/calib3d/src/calibration.cpp int idx = fabs(t12(0,0)) > fabs(t12(1,0)) ? 0 : 1; idx 3590 modules/calib3d/src/calibration.cpp double c = t12(idx,0), nt = norm(t12, CV_L2); idx 3592 modules/calib3d/src/calibration.cpp uu(idx, 0) = c > 0 ? 1 : -1; idx 3614 modules/calib3d/src/calibration.cpp return (float)((P3.at<double>(idx,3)/P3.at<double>(idx,idx))/ idx 3615 modules/calib3d/src/calibration.cpp (P2.at<double>(idx,3)/P2.at<double>(idx,idx))); idx 371 modules/calib3d/src/circlesgrid.cpp for(size_t idx=0; idx<trueIndices.size(); idx++) idx 373 modules/calib3d/src/circlesgrid.cpp int i = trueIndices[idx].y; idx 374 modules/calib3d/src/circlesgrid.cpp int j = trueIndices[idx].x; idx 1127 modules/calib3d/src/circlesgrid.cpp int idx = -1; idx 1129 modules/calib3d/src/circlesgrid.cpp idx = 0; idx 1131 modules/calib3d/src/circlesgrid.cpp idx = 1; idx 1132 modules/calib3d/src/circlesgrid.cpp if (idx >= 0) idx 1134 modules/calib3d/src/circlesgrid.cpp clusters[idx].push_back(basis[idx] + parameters.convexHullFactor * (samples[k] - basis[idx])); idx 110 modules/calib3d/src/ptsetreg.cpp int* idx = _idx; idx 135 modules/calib3d/src/ptsetreg.cpp idx_i = idx[i] = rng.uniform(0, count); idx 137 modules/calib3d/src/ptsetreg.cpp if( idx_i == idx[j] ) idx 933 modules/calib3d/src/stereobm.cpp int idx = 0; idx 934 modules/calib3d/src/stereobm.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(left)); idx 935 modules/calib3d/src/stereobm.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(right)); idx 936 modules/calib3d/src/stereobm.cpp idx = k.set(idx, ocl::KernelArg::WriteOnlyNoSize(disp)); idx 937 modules/calib3d/src/stereobm.cpp idx = k.set(idx, rows); idx 938 modules/calib3d/src/stereobm.cpp idx = k.set(idx, cols); idx 939 modules/calib3d/src/stereobm.cpp idx = k.set(idx, state->textureThreshold); idx 940 modules/calib3d/src/stereobm.cpp idx = k.set(idx, state->uniquenessRatio); idx 743 modules/calib3d/src/stereosgbm.cpp int idx = _mm_movemask_epi8(_mm_packs_epi16(qS, qS)) & 255; idx 745 modules/calib3d/src/stereosgbm.cpp bestDisp = bestDispBuf[LSBTab[idx]]; idx 215 modules/calib3d/test/test_chesscorners.cpp for(int idx = 0; idx < max_idx; ++idx ) idx 217 modules/calib3d/test/test_chesscorners.cpp ts->update_context( this, idx, true ); idx 220 modules/calib3d/test/test_chesscorners.cpp String img_file = board_list[idx * 2]; idx 230 modules/calib3d/test/test_chesscorners.cpp String _filename = folder + (String)board_list[idx * 2 + 1]; idx 309 modules/calib3d/test/test_chesscorners.cpp progress = update_progress( progress, idx, max_idx, 0 ); idx 75 modules/calib3d/test/test_chesscorners_timing.cpp int idx, max_idx; idx 93 modules/calib3d/test/test_chesscorners_timing.cpp for( idx = start_from; idx < max_idx; idx++ ) idx 100 modules/calib3d/test/test_chesscorners_timing.cpp const char* imgname = cvReadString((CvFileNode*)cvGetSeqElem(board_list->data.seq,idx*4), "dummy.txt"); idx 101 modules/calib3d/test/test_chesscorners_timing.cpp int is_chessboard = cvReadInt((CvFileNode*)cvGetSeqElem(board_list->data.seq,idx*4+1), 0); idx 102 modules/calib3d/test/test_chesscorners_timing.cpp pattern_size.width = cvReadInt((CvFileNode*)cvGetSeqElem(board_list->data.seq,idx*4 + 2), -1); idx 103 modules/calib3d/test/test_chesscorners_timing.cpp pattern_size.height = cvReadInt((CvFileNode*)cvGetSeqElem(board_list->data.seq,idx*4 + 3), -1); idx 105 modules/calib3d/test/test_chesscorners_timing.cpp ts->update_context( this, idx-1, true ); idx 172 modules/calib3d/test/test_chesscorners_timing.cpp progress = update_progress( progress, idx-1, max_idx, 0 ); idx 73 modules/calib3d/test/test_undistort_points.cpp for (int idx = 0; idx < 3; idx++) idx 75 modules/calib3d/test/test_undistort_points.cpp generateDistCoeffs(distCoeffs, modelMembersCount[idx]); idx 576 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void findNonZero( InputArray src, OutputArray idx ); idx 548 modules/core/include/opencv2/core/core_c.h int idx; idx 549 modules/core/include/opencv2/core/core_c.h for( idx = ++mat_iterator->curidx; idx < mat_iterator->mat->hashsize; idx++ ) idx 551 modules/core/include/opencv2/core/core_c.h CvSparseNode* node = (CvSparseNode*)mat_iterator->mat->hashtable[idx]; idx 554 modules/core/include/opencv2/core/core_c.h mat_iterator->curidx = idx; idx 665 modules/core/include/opencv2/core/core_c.h CVAPI(uchar*) cvPtrND( const CvArr* arr, const int* idx, int* type CV_DEFAULT(NULL), idx 685 modules/core/include/opencv2/core/core_c.h CVAPI(CvScalar) cvGetND( const CvArr* arr, const int* idx ); idx 707 modules/core/include/opencv2/core/core_c.h CVAPI(double) cvGetRealND( const CvArr* arr, const int* idx ); idx 727 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvSetND( CvArr* arr, const int* idx, CvScalar value ); idx 751 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvSetRealND( CvArr* arr, const int* idx, double value ); idx 755 modules/core/include/opencv2/core/core_c.h CVAPI(void) cvClearND( CvArr* arr, const int* idx ); idx 1767 modules/core/include/opencv2/core/core_c.h CV_INLINE CvSetElem* cvGetSetElem( const CvSet* set_header, int idx ) idx 1769 modules/core/include/opencv2/core/core_c.h CvSetElem* elem = (CvSetElem*)(void *)cvGetSeqElem( (CvSeq*)set_header, idx ); idx 1828 modules/core/include/opencv2/core/core_c.h #define cvGetGraphVtx( graph, idx ) (CvGraphVtx*)cvGetSetElem((CvSet*)(graph), (idx)) idx 2820 modules/core/include/opencv2/core/core_c.h _Tp& operator [](int idx); idx 2822 modules/core/include/opencv2/core/core_c.h const _Tp& operator[](int idx) const; idx 2848 modules/core/include/opencv2/core/core_c.h void insert(int idx, const _Tp& elem); idx 2850 modules/core/include/opencv2/core/core_c.h void insert(int idx, const _Tp* elems, size_t count); idx 2852 modules/core/include/opencv2/core/core_c.h void remove(int idx); idx 2952 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline _Tp& Seq<_Tp>::operator [](int idx) idx 2953 modules/core/include/opencv2/core/core_c.h { return *(_Tp*)getSeqElem(seq, idx); } idx 2955 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline const _Tp& Seq<_Tp>::operator [](int idx) const idx 2956 modules/core/include/opencv2/core/core_c.h { return *(_Tp*)getSeqElem(seq, idx); } idx 3024 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline void Seq<_Tp>::insert(int idx, const _Tp& elem) idx 3025 modules/core/include/opencv2/core/core_c.h { seqInsert(seq, idx, &elem); } idx 3027 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline void Seq<_Tp>::insert(int idx, const _Tp* elems, size_t count) idx 3030 modules/core/include/opencv2/core/core_c.h seqInsertSlice(seq, idx, &m); idx 3033 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline void Seq<_Tp>::remove(int idx) idx 3034 modules/core/include/opencv2/core/core_c.h { seqRemove(seq, idx); } idx 66 modules/core/include/opencv2/core/cuda/scan.hpp __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) idx 68 modules/core/include/opencv2/core/cuda/scan.hpp const unsigned int lane = idx & 31; idx 71 modules/core/include/opencv2/core/cuda/scan.hpp if ( lane >= 1) ptr [idx ] = op(ptr [idx - 1], ptr [idx]); idx 72 modules/core/include/opencv2/core/cuda/scan.hpp if ( lane >= 2) ptr [idx ] = op(ptr [idx - 2], ptr [idx]); idx 73 modules/core/include/opencv2/core/cuda/scan.hpp if ( lane >= 4) ptr [idx ] = op(ptr [idx - 4], ptr [idx]); idx 74 modules/core/include/opencv2/core/cuda/scan.hpp if ( lane >= 8) ptr [idx ] = op(ptr [idx - 8], ptr [idx]); idx 75 modules/core/include/opencv2/core/cuda/scan.hpp if ( lane >= 16) ptr [idx ] = op(ptr [idx - 16], ptr [idx]); idx 78 modules/core/include/opencv2/core/cuda/scan.hpp return ptr [idx]; idx 80 modules/core/include/opencv2/core/cuda/scan.hpp return (lane > 0) ? ptr [idx - 1] : 0; idx 100 modules/core/include/opencv2/core/cuda/scan.hpp __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) idx 105 modules/core/include/opencv2/core/cuda/scan.hpp ptr [idx ] = op(ptr [idx - 1], ptr [idx]); idx 106 modules/core/include/opencv2/core/cuda/scan.hpp ptr [idx ] = op(ptr [idx - 2], ptr [idx]); idx 107 modules/core/include/opencv2/core/cuda/scan.hpp ptr [idx ] = op(ptr [idx - 4], ptr [idx]); idx 108 modules/core/include/opencv2/core/cuda/scan.hpp ptr [idx ] = op(ptr [idx - 8], ptr [idx]); idx 109 modules/core/include/opencv2/core/cuda/scan.hpp ptr [idx ] = op(ptr [idx - 16], ptr [idx]); idx 112 modules/core/include/opencv2/core/cuda/scan.hpp return ptr [idx]; idx 114 modules/core/include/opencv2/core/cuda/scan.hpp return (lane > 0) ? ptr [idx - 1] : 0; idx 148 modules/core/include/opencv2/core/cuda/scan.hpp const unsigned int idx = scan.index(tid); idx 150 modules/core/include/opencv2/core/cuda/scan.hpp T val = scan(ptr, idx); idx 158 modules/core/include/opencv2/core/cuda/scan.hpp ptr [scan.warp_offset + warp ] = (Kind == INCLUSIVE) ? val : ptr [idx]; idx 162 modules/core/include/opencv2/core/cuda/scan.hpp merge_scan(ptr, idx); idx 169 modules/core/include/opencv2/core/cuda/scan.hpp ptr[idx] = val; idx 512 modules/core/include/opencv2/core/cvstd.hpp char operator[](size_t idx) const; idx 513 modules/core/include/opencv2/core/cvstd.hpp char operator[](int idx) const; idx 727 modules/core/include/opencv2/core/cvstd.hpp char String::operator[](size_t idx) const idx 729 modules/core/include/opencv2/core/cvstd.hpp return cstr_[idx]; idx 733 modules/core/include/opencv2/core/cvstd.hpp char String::operator[](int idx) const idx 735 modules/core/include/opencv2/core/cvstd.hpp return cstr_[idx]; idx 190 modules/core/include/opencv2/core/mat.hpp Mat getMat(int idx=-1) const; idx 191 modules/core/include/opencv2/core/mat.hpp Mat getMat_(int idx=-1) const; idx 192 modules/core/include/opencv2/core/mat.hpp UMat getUMat(int idx=-1) const; idx 1648 modules/core/include/opencv2/core/mat.hpp uchar* ptr(const int* idx); idx 1650 modules/core/include/opencv2/core/mat.hpp const uchar* ptr(const int* idx) const; idx 1652 modules/core/include/opencv2/core/mat.hpp template<int n> uchar* ptr(const Vec<int, n>& idx); idx 1654 modules/core/include/opencv2/core/mat.hpp template<int n> const uchar* ptr(const Vec<int, n>& idx) const; idx 1669 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp* ptr(const int* idx); idx 1671 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> const _Tp* ptr(const int* idx) const; idx 1673 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int n> _Tp* ptr(const Vec<int, n>& idx); idx 1675 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int n> const _Tp* ptr(const Vec<int, n>& idx) const; idx 1728 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp& at(const int* idx); idx 1732 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> const _Tp& at(const int* idx) const; idx 1735 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int n> _Tp& at(const Vec<int, n>& idx); idx 1737 modules/core/include/opencv2/core/mat.hpp template<typename _Tp, int n> const _Tp& at(const Vec<int, n>& idx) const; idx 2055 modules/core/include/opencv2/core/mat.hpp _Tp& operator ()(const int* idx); idx 2057 modules/core/include/opencv2/core/mat.hpp const _Tp& operator ()(const int* idx) const; idx 2060 modules/core/include/opencv2/core/mat.hpp template<int n> _Tp& operator ()(const Vec<int, n>& idx); idx 2062 modules/core/include/opencv2/core/mat.hpp template<int n> const _Tp& operator ()(const Vec<int, n>& idx) const; idx 2427 modules/core/include/opencv2/core/mat.hpp int idx[MAX_DIM]; idx 2529 modules/core/include/opencv2/core/mat.hpp size_t hash(const int* idx) const; idx 2549 modules/core/include/opencv2/core/mat.hpp uchar* ptr(const int* idx, bool createMissing, size_t* hashval=0); idx 2567 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp& ref(const int* idx, size_t* hashval=0); idx 2588 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _Tp value(const int* idx, size_t* hashval=0) const; idx 2606 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> const _Tp* find(const int* idx, size_t* hashval=0) const; idx 2614 modules/core/include/opencv2/core/mat.hpp void erase(const int* idx, size_t* hashval=0); idx 2650 modules/core/include/opencv2/core/mat.hpp uchar* newNode(const int* idx, size_t hashval); idx 2719 modules/core/include/opencv2/core/mat.hpp _Tp& ref(const int* idx, size_t* hashval=0); idx 2728 modules/core/include/opencv2/core/mat.hpp _Tp operator()(const int* idx, size_t* hashval=0) const; idx 2978 modules/core/include/opencv2/core/mat.hpp SparseMatIterator(SparseMat* _m, const int* idx); idx 3154 modules/core/include/opencv2/core/mat.hpp size_t idx; idx 862 modules/core/include/opencv2/core/mat.inl.hpp uchar* Mat::ptr(const int* idx) idx 869 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( (unsigned)idx[i] < (unsigned)size.p[i] ); idx 870 modules/core/include/opencv2/core/mat.inl.hpp p += idx[i] * step.p[i]; idx 876 modules/core/include/opencv2/core/mat.inl.hpp const uchar* Mat::ptr(const int* idx) const idx 883 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( (unsigned)idx[i] < (unsigned)size.p[i] ); idx 884 modules/core/include/opencv2/core/mat.inl.hpp p += idx[i] * step.p[i]; idx 968 modules/core/include/opencv2/core/mat.inl.hpp _Tp& Mat::at(const int* idx) idx 971 modules/core/include/opencv2/core/mat.inl.hpp return *(_Tp*)ptr(idx); idx 975 modules/core/include/opencv2/core/mat.inl.hpp const _Tp& Mat::at(const int* idx) const idx 978 modules/core/include/opencv2/core/mat.inl.hpp return *(const _Tp*)ptr(idx); idx 982 modules/core/include/opencv2/core/mat.inl.hpp _Tp& Mat::at(const Vec<int, n>& idx) idx 985 modules/core/include/opencv2/core/mat.inl.hpp return *(_Tp*)ptr(idx.val); idx 989 modules/core/include/opencv2/core/mat.inl.hpp const _Tp& Mat::at(const Vec<int, n>& idx) const idx 992 modules/core/include/opencv2/core/mat.inl.hpp return *(const _Tp*)ptr(idx.val); idx 1530 modules/core/include/opencv2/core/mat.inl.hpp _Tp& Mat_<_Tp>::operator ()(const int* idx) idx 1532 modules/core/include/opencv2/core/mat.inl.hpp return Mat::at<_Tp>(idx); idx 1536 modules/core/include/opencv2/core/mat.inl.hpp const _Tp& Mat_<_Tp>::operator ()(const int* idx) const idx 1538 modules/core/include/opencv2/core/mat.inl.hpp return Mat::at<_Tp>(idx); idx 1542 modules/core/include/opencv2/core/mat.inl.hpp _Tp& Mat_<_Tp>::operator ()(const Vec<int, n>& idx) idx 1544 modules/core/include/opencv2/core/mat.inl.hpp return Mat::at<_Tp>(idx); idx 1548 modules/core/include/opencv2/core/mat.inl.hpp const _Tp& Mat_<_Tp>::operator ()(const Vec<int, n>& idx) const idx 1550 modules/core/include/opencv2/core/mat.inl.hpp return Mat::at<_Tp>(idx); idx 1792 modules/core/include/opencv2/core/mat.inl.hpp size_t SparseMat::hash(const int* idx) const idx 1794 modules/core/include/opencv2/core/mat.inl.hpp size_t h = (unsigned)idx[0]; idx 1799 modules/core/include/opencv2/core/mat.inl.hpp h = h * HASH_SCALE + (unsigned)idx[i]; idx 1822 modules/core/include/opencv2/core/mat.inl.hpp _Tp& SparseMat::ref(const int* idx, size_t* hashval) idx 1824 modules/core/include/opencv2/core/mat.inl.hpp return *(_Tp*)((SparseMat*)this)->ptr(idx, true, hashval); idx 1849 modules/core/include/opencv2/core/mat.inl.hpp _Tp SparseMat::value(const int* idx, size_t* hashval) const idx 1851 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* p = (const _Tp*)((SparseMat*)this)->ptr(idx, false, hashval); idx 1874 modules/core/include/opencv2/core/mat.inl.hpp const _Tp* SparseMat::find(const int* idx, size_t* hashval) const idx 1876 modules/core/include/opencv2/core/mat.inl.hpp return (const _Tp*)((SparseMat*)this)->ptr(idx, false, hashval); idx 2096 modules/core/include/opencv2/core/mat.inl.hpp _Tp& SparseMat_<_Tp>::ref(const int* idx, size_t* hashval) idx 2098 modules/core/include/opencv2/core/mat.inl.hpp return SparseMat::ref<_Tp>(idx, hashval); idx 2102 modules/core/include/opencv2/core/mat.inl.hpp _Tp SparseMat_<_Tp>::operator()(const int* idx, size_t* hashval) const idx 2104 modules/core/include/opencv2/core/mat.inl.hpp return SparseMat::value<_Tp>(idx, hashval); idx 2166 modules/core/include/opencv2/core/mat.inl.hpp int idx[] = {_row, _col}; idx 2167 modules/core/include/opencv2/core/mat.inl.hpp seek(idx); idx 2180 modules/core/include/opencv2/core/mat.inl.hpp int idx[] = {_pt.y, _pt.x}; idx 2181 modules/core/include/opencv2/core/mat.inl.hpp seek(idx); idx 257 modules/core/include/opencv2/core/matx.hpp int idx; idx 865 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( idx < m*n ); idx 866 modules/core/include/opencv2/core/matx.hpp dst->val[idx++] = saturate_cast<_Tp>(value); idx 873 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( idx == n*m ); idx 1070 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( this->idx < cn ); idx 1071 modules/core/include/opencv2/core/matx.hpp this->dst->val[this->idx++] = saturate_cast<_Tp>(value); idx 1078 modules/core/include/opencv2/core/matx.hpp CV_DbgAssert( this->idx == cn ); idx 246 modules/core/include/opencv2/core/ocl.hpp const Device& device(size_t idx) const; idx 419 modules/core/include/opencv2/core/utility.hpp std::vector<int> idx(COLS); /// idx is modified in this->rowCall idx 420 modules/core/include/opencv2/core/utility.hpp idx[DIMS - 2] = range.start - 1; idx 423 modules/core/include/opencv2/core/utility.hpp idx[DIMS - 2]++; idx 425 modules/core/include/opencv2/core/utility.hpp if (idx[i] >= mat->size[i]) { idx 426 modules/core/include/opencv2/core/utility.hpp idx[i - 1] += idx[i] / mat->size[i]; idx 427 modules/core/include/opencv2/core/utility.hpp idx[i] %= mat->size[i]; idx 434 modules/core/include/opencv2/core/utility.hpp this->rowCall(&idx[0], COLS, DIMS); idx 442 modules/core/include/opencv2/core/utility.hpp inline void rowCall(int* const idx, const int COLS, const int DIMS) const { idx 443 modules/core/include/opencv2/core/utility.hpp int &col = idx[DIMS - 1]; idx 445 modules/core/include/opencv2/core/utility.hpp _Tp* pixel = &(mat->template at<_Tp>(idx)); idx 448 modules/core/include/opencv2/core/utility.hpp op(*pixel, const_cast<const int*>(idx)); idx 463 modules/core/include/opencv2/core/utility.hpp } idx = {{row, 0}}; idx 468 modules/core/include/opencv2/core/utility.hpp _Tp* pixel = &(mat->template at<_Tp>(idx)); idx 471 modules/core/include/opencv2/core/utility.hpp op(*pixel++, static_cast<const int*>(idx)); idx 472 modules/core/include/opencv2/core/utility.hpp idx[1]++; idx 458 modules/core/src/alloc.cpp static void checkList(ThreadData* tls, int idx) idx 460 modules/core/src/alloc.cpp Block* block = tls->bins[idx][START]; idx 463 modules/core/src/alloc.cpp CV_DbgAssert( tls->bins[idx][FREE] == 0 && tls->bins[idx][GC] == 0 ); idx 471 modules/core/src/alloc.cpp if( tls->bins[idx][FREE] == block ) idx 473 modules/core/src/alloc.cpp if( tls->bins[idx][GC] == block ) idx 477 modules/core/src/alloc.cpp while( block != tls->bins[idx][START] ); idx 482 modules/core/src/alloc.cpp #define checkList(tls, idx) idx 499 modules/core/src/alloc.cpp int idx = mallocTables.bin(size); idx 500 modules/core/src/alloc.cpp Block*& startPtr = tls->bins[idx][START]; idx 501 modules/core/src/alloc.cpp Block*& gcPtr = tls->bins[idx][GC]; idx 502 modules/core/src/alloc.cpp Block*& freePtr = tls->bins[idx][FREE], *block = freePtr; idx 503 modules/core/src/alloc.cpp checkList(tls, idx); idx 504 modules/core/src/alloc.cpp size = binSizeTab[idx]; idx 632 modules/core/src/alloc.cpp int idx = block->binIdx; idx 633 modules/core/src/alloc.cpp Block*& startPtr = tls->bins[idx][START]; idx 634 modules/core/src/alloc.cpp Block*& freePtr = tls->bins[idx][FREE]; idx 635 modules/core/src/alloc.cpp Block*& gcPtr = tls->bins[idx][GC]; idx 654 modules/core/src/alloc.cpp checkList(tls, idx); idx 676 modules/core/src/alloc.cpp int idx = block->binIdx; idx 678 modules/core/src/alloc.cpp Block*& startPtr = tls->bins[idx][START]; idx 687 modules/core/src/alloc.cpp startPtr = tls->bins[idx][FREE] = tls->bins[idx][GC] = block; idx 5776 modules/core/src/arithm.cpp int idx = !lbScalar ? 3 : 2; idx 5777 modules/core/src/arithm.cpp uptr = ptrs[idx]; idx 5778 modules/core/src/arithm.cpp ptrs[idx] += delta; idx 625 modules/core/src/array.cpp int idx; idx 636 modules/core/src/array.cpp for( idx = 0; idx < mat->hashsize; idx++ ) idx 637 modules/core/src/array.cpp if( mat->hashtable[idx] ) idx 639 modules/core/src/array.cpp node = iterator->node = (CvSparseNode*)mat->hashtable[idx]; idx 643 modules/core/src/array.cpp iterator->curidx = idx; idx 650 modules/core/src/array.cpp icvGetNodePtr( CvSparseMat* mat, const int* idx, int* _type, idx 663 modules/core/src/array.cpp int t = idx[i]; idx 686 modules/core/src/array.cpp if( idx[i] != nodeidx[i] ) idx 732 modules/core/src/array.cpp memcpy(CV_NODE_IDX(mat,node), idx, mat->dims*sizeof(idx[0])); idx 746 modules/core/src/array.cpp icvDeleteNode( CvSparseMat* mat, const int* idx, unsigned* precalc_hashval ) idx 757 modules/core/src/array.cpp int t = idx[i]; idx 778 modules/core/src/array.cpp if( idx[i] != nodeidx[i] ) idx 1647 modules/core/src/array.cpp cvPtr1D( const CvArr* arr, int idx, int* _type ) idx 1662 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && idx 1663 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) idx 1668 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)idx*pix_size; idx 1674 modules/core/src/array.cpp row = idx, col = 0; idx 1676 modules/core/src/array.cpp row = idx/mat->cols, col = idx - row*mat->cols; idx 1684 modules/core/src/array.cpp int y = idx/width, x = idx - y*width; idx 1700 modules/core/src/array.cpp if((unsigned)idx >= (unsigned)size ) idx 1706 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)idx*pix_size; idx 1716 modules/core/src/array.cpp int t = idx/sz; idx 1717 modules/core/src/array.cpp ptr += (idx - t*sz)*mat->dim[j].step; idx 1718 modules/core/src/array.cpp idx = t; idx 1727 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, &idx, _type, 1, 0 ); idx 1736 modules/core/src/array.cpp int t = idx / m->size[i]; idx 1737 modules/core/src/array.cpp _idx[i] = idx - t*m->size[i]; idx 1738 modules/core/src/array.cpp idx = t; idx 1835 modules/core/src/array.cpp int idx[] = { y, x }; idx 1836 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, _type, 1, 0 ); idx 1870 modules/core/src/array.cpp int idx[] = { z, y, x }; idx 1871 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, _type, 1, 0 ); idx 1884 modules/core/src/array.cpp cvPtrND( const CvArr* arr, const int* idx, int* _type, idx 1888 modules/core/src/array.cpp if( !idx ) idx 1892 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, idx 1902 modules/core/src/array.cpp if( (unsigned)idx[i] >= (unsigned)(mat->dim[i].size) ) idx 1904 modules/core/src/array.cpp ptr += (size_t)idx[i]*mat->dim[i].step; idx 1911 modules/core/src/array.cpp ptr = cvPtr2D( arr, idx[0], idx[1], _type ); idx 1921 modules/core/src/array.cpp cvGet1D( const CvArr* arr, int idx ) idx 1936 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && idx 1937 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) idx 1940 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)idx*pix_size; idx 1943 modules/core/src/array.cpp ptr = cvPtr1D( arr, idx, &type ); idx 1945 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, &idx, &type, 0, 0 ); idx 1977 modules/core/src/array.cpp int idx[] = { y, x }; idx 1978 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, 0, 0 ); idx 2000 modules/core/src/array.cpp int idx[] = { z, y, x }; idx 2001 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, 0, 0 ); idx 2012 modules/core/src/array.cpp cvGetND( const CvArr* arr, const int* idx ) idx 2019 modules/core/src/array.cpp ptr = cvPtrND( arr, idx, &type ); idx 2021 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, 0, 0 ); idx 2032 modules/core/src/array.cpp cvGetReal1D( const CvArr* arr, int idx ) idx 2047 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && idx 2048 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) idx 2051 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)idx*pix_size; idx 2054 modules/core/src/array.cpp ptr = cvPtr1D( arr, idx, &type ); idx 2056 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, &idx, &type, 0, 0 ); idx 2092 modules/core/src/array.cpp int idx[] = { y, x }; idx 2093 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, 0, 0 ); idx 2120 modules/core/src/array.cpp int idx[] = { z, y, x }; idx 2121 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, 0, 0 ); idx 2138 modules/core/src/array.cpp cvGetRealND( const CvArr* arr, const int* idx ) idx 2145 modules/core/src/array.cpp ptr = cvPtrND( arr, idx, &type ); idx 2147 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, 0, 0 ); idx 2163 modules/core/src/array.cpp cvSet1D( CvArr* arr, int idx, CvScalar scalar ) idx 2177 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && idx 2178 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) idx 2181 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)idx*pix_size; idx 2184 modules/core/src/array.cpp ptr = cvPtr1D( arr, idx, &type ); idx 2186 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, &idx, &type, -1, 0 ); idx 2214 modules/core/src/array.cpp int idx[] = { y, x }; idx 2215 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, -1, 0 ); idx 2232 modules/core/src/array.cpp int idx[] = { z, y, x }; idx 2233 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, -1, 0 ); idx 2241 modules/core/src/array.cpp cvSetND( CvArr* arr, const int* idx, CvScalar scalar ) idx 2247 modules/core/src/array.cpp ptr = cvPtrND( arr, idx, &type ); idx 2249 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, -1, 0 ); idx 2255 modules/core/src/array.cpp cvSetReal1D( CvArr* arr, int idx, double value ) idx 2269 modules/core/src/array.cpp if( (unsigned)idx >= (unsigned)(mat->rows + mat->cols - 1) && idx 2270 modules/core/src/array.cpp (unsigned)idx >= (unsigned)(mat->rows*mat->cols)) idx 2273 modules/core/src/array.cpp ptr = mat->data.ptr + (size_t)idx*pix_size; idx 2276 modules/core/src/array.cpp ptr = cvPtr1D( arr, idx, &type ); idx 2278 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, &idx, &type, -1, 0 ); idx 2311 modules/core/src/array.cpp int idx[] = { y, x }; idx 2312 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, -1, 0 ); idx 2332 modules/core/src/array.cpp int idx[] = { z, y, x }; idx 2333 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, -1, 0 ); idx 2344 modules/core/src/array.cpp cvSetRealND( CvArr* arr, const int* idx, double value ) idx 2350 modules/core/src/array.cpp ptr = cvPtrND( arr, idx, &type ); idx 2352 modules/core/src/array.cpp ptr = icvGetNodePtr( (CvSparseMat*)arr, idx, &type, -1, 0 ); idx 2363 modules/core/src/array.cpp cvClearND( CvArr* arr, const int* idx ) idx 2369 modules/core/src/array.cpp ptr = cvPtrND( arr, idx, &type ); idx 2374 modules/core/src/array.cpp icvDeleteNode( (CvSparseMat*)arr, idx, 0 ); idx 1254 modules/core/src/convert.cpp static void getUMatIndex(const std::vector<UMat> & um, int cn, int & idx, int & cnidx) idx 1264 modules/core/src/convert.cpp idx = (int)(i + 1); idx 1270 modules/core/src/convert.cpp idx = (int)i; idx 1276 modules/core/src/convert.cpp idx = cnidx = -1; idx 1243 modules/core/src/cuda_info.cpp size_t idx = std::find_if(errors, errors + n, ErrorEntryComparer(code)) - errors; idx 1245 modules/core/src/cuda_info.cpp const char* msg = (idx != n) ? errors[idx].str : "Unknown error code"; idx 2187 modules/core/src/datastructs.cpp int idx = -1; idx 2191 modules/core/src/datastructs.cpp *_idx = idx; idx 2248 modules/core/src/datastructs.cpp idx = i; idx 2267 modules/core/src/datastructs.cpp idx = k; idx 2269 modules/core/src/datastructs.cpp *_idx = idx; idx 2277 modules/core/src/datastructs.cpp idx = j; idx 2281 modules/core/src/datastructs.cpp *_idx = idx; idx 2448 modules/core/src/datastructs.cpp int idx = -1; idx 2456 modules/core/src/datastructs.cpp idx = ~node->rank; idx 2460 modules/core/src/datastructs.cpp CV_WRITE_SEQ_ELEM( idx, writer ); idx 194 modules/core/src/lapack.cpp int idx = j == 0 ? k : l; idx 195 modules/core/src/lapack.cpp if( idx < n - 1 ) idx 197 modules/core/src/lapack.cpp for( m = idx+1, mv = std::abs(A[astep*idx + m]), i = idx+2; i < n; i++ ) idx 199 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*idx+i]); idx 203 modules/core/src/lapack.cpp indR[idx] = m; idx 205 modules/core/src/lapack.cpp if( idx > 0 ) idx 207 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[idx]), i = 1; i < idx; i++ ) idx 209 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i+idx]); idx 213 modules/core/src/lapack.cpp indC[idx] = m; idx 96 modules/core/src/lda.cpp for(size_t idx = 0; idx < indices.size(); idx++) { idx 97 modules/core/src/lda.cpp Mat originalCol = src.col(indices[idx]); idx 98 modules/core/src/lda.cpp Mat sortedCol = dst.col((int)idx); idx 4204 modules/core/src/matrix.cpp cv::Mat idx0 = cv::cvarrToMat(_idx), idx = idx0; idx 4205 modules/core/src/matrix.cpp CV_Assert( src.size() == idx.size() && idx.type() == CV_32S && src.data != idx.data ); idx 4206 modules/core/src/matrix.cpp cv::sortIdx( src, idx, flags ); idx 4207 modules/core/src/matrix.cpp CV_Assert( idx0.data == idx.data ); idx 4364 modules/core/src/matrix.cpp idx = 0; idx 4387 modules/core/src/matrix.cpp if( idx >= nplanes-1 ) idx 4389 modules/core/src/matrix.cpp ++idx; idx 4399 modules/core/src/matrix.cpp ptrs[i] = arrays[i]->data + arrays[i]->step[0]*idx; idx 4408 modules/core/src/matrix.cpp planes[i].data = arrays[i]->data + arrays[i]->step[0]*idx; idx 4419 modules/core/src/matrix.cpp int _idx = (int)idx; idx 4745 modules/core/src/matrix.cpp int i, idx[CV_MAX_DIM] = {0}, d = m.dims, lastSize = m.size[d - 1]; idx 4755 modules/core/src/matrix.cpp idx[d-1] = i; idx 4756 modules/core/src/matrix.cpp uchar* to = newNode(idx, hash(idx)); idx 4763 modules/core/src/matrix.cpp if( ++idx[i] < m.size[i] ) idx 4765 modules/core/src/matrix.cpp idx[i] = 0; idx 4811 modules/core/src/matrix.cpp uchar* to = m.newNode(n->idx, n->hashval); idx 4829 modules/core/src/matrix.cpp copyElem( from.ptr, (ndims > 1 ? m.ptr(n->idx) : m.ptr(n->idx[0])), esz); idx 4861 modules/core/src/matrix.cpp uchar* to = hdr == m.hdr ? from.ptr : m.newNode(n->idx, n->hashval); idx 4871 modules/core/src/matrix.cpp uchar* to = hdr == m.hdr ? from.ptr : m.newNode(n->idx, n->hashval); idx 4898 modules/core/src/matrix.cpp uchar* to = m.ptr(n->idx); idx 4908 modules/core/src/matrix.cpp uchar* to = m.ptr(n->idx); idx 4929 modules/core/src/matrix.cpp if( elem->hashval == h && elem->idx[0] == i0 ) idx 4936 modules/core/src/matrix.cpp int idx[] = { i0 }; idx 4937 modules/core/src/matrix.cpp return newNode( idx, h ); idx 4951 modules/core/src/matrix.cpp if( elem->hashval == h && elem->idx[0] == i0 && elem->idx[1] == i1 ) idx 4958 modules/core/src/matrix.cpp int idx[] = { i0, i1 }; idx 4959 modules/core/src/matrix.cpp return newNode( idx, h ); idx 4973 modules/core/src/matrix.cpp if( elem->hashval == h && elem->idx[0] == i0 && idx 4974 modules/core/src/matrix.cpp elem->idx[1] == i1 && elem->idx[2] == i2 ) idx 4981 modules/core/src/matrix.cpp int idx[] = { i0, i1, i2 }; idx 4982 modules/core/src/matrix.cpp return newNode( idx, h ); idx 4987 modules/core/src/matrix.cpp uchar* SparseMat::ptr(const int* idx, bool createMissing, size_t* hashval) idx 4991 modules/core/src/matrix.cpp size_t h = hashval ? *hashval : hash(idx); idx 5000 modules/core/src/matrix.cpp if( elem->idx[i] != idx[i] ) idx 5008 modules/core/src/matrix.cpp return createMissing ? newNode(idx, h) : 0; idx 5020 modules/core/src/matrix.cpp if( elem->hashval == h && elem->idx[0] == i0 && elem->idx[1] == i1 ) idx 5039 modules/core/src/matrix.cpp if( elem->hashval == h && elem->idx[0] == i0 && idx 5040 modules/core/src/matrix.cpp elem->idx[1] == i1 && elem->idx[2] == i2 ) idx 5050 modules/core/src/matrix.cpp void SparseMat::erase(const int* idx, size_t* hashval) idx 5054 modules/core/src/matrix.cpp size_t h = hashval ? *hashval : hash(idx); idx 5063 modules/core/src/matrix.cpp if( elem->idx[i] != idx[i] ) idx 5104 modules/core/src/matrix.cpp uchar* SparseMat::newNode(const int* idx, size_t hashval) idx 5137 modules/core/src/matrix.cpp elem->idx[i] = idx[i]; idx 5280 modules/core/src/matrix.cpp minidx = it.node()->idx; idx 5285 modules/core/src/matrix.cpp maxidx = it.node()->idx; idx 5302 modules/core/src/matrix.cpp minidx = it.node()->idx; idx 5307 modules/core/src/matrix.cpp maxidx = it.node()->idx; idx 5429 modules/core/src/matrix.cpp uchar* to = cvPtrND(m, n->idx, 0, -2, 0); idx 5445 modules/core/src/matrix.cpp const int* idx = CV_NODE_IDX(this, n); idx 5446 modules/core/src/matrix.cpp uchar* to = m.newNode(idx, m.hash(idx)); idx 1431 modules/core/src/ocl.cpp for( size_t idx = 0; idx < size; idx++ ) idx 1432 modules/core/src/ocl.cpp crc = table[(uchar)crc ^ data[idx]] ^ (crc >> 8); idx 2172 modules/core/src/ocl.cpp int idx = getCoreTlsData().get()->device; idx 2173 modules/core/src/ocl.cpp const Device& device = ctx.device(idx); idx 2831 modules/core/src/ocl.cpp const Device& Context::device(size_t idx) const idx 2834 modules/core/src/ocl.cpp return !p || idx >= p->devices.size() ? dummy : p->devices[idx]; idx 2363 modules/core/src/persistence.cpp int idx = 0; idx 2372 modules/core/src/persistence.cpp attr[idx++] = "type_id"; idx 2373 modules/core/src/persistence.cpp attr[idx++] = type_name; idx 2375 modules/core/src/persistence.cpp attr[idx++] = 0; idx 3738 modules/core/src/persistence.cpp int* idx = CV_NODE_IDX( mat, node ); idx 3739 modules/core/src/persistence.cpp cvSeqPush( elements, &idx ); idx 3748 modules/core/src/persistence.cpp int* idx; idx 3752 modules/core/src/persistence.cpp CV_READ_SEQ_ELEM( idx, reader ); idx 3755 modules/core/src/persistence.cpp for( ; idx[k] == prev_idx[k]; k++ ) idx 3761 modules/core/src/persistence.cpp fs->write_int( fs, 0, idx[k] ); idx 3762 modules/core/src/persistence.cpp prev_idx = idx; idx 3764 modules/core/src/persistence.cpp node = (CvSparseNode*)((uchar*)idx - mat->idxoffset ); idx 3811 modules/core/src/persistence.cpp int idx[CV_MAX_DIM_HEAP]; idx 3824 modules/core/src/persistence.cpp idx[dims-1] = k; idx 3830 modules/core/src/persistence.cpp idx[0] = k, k = 1; idx 3838 modules/core/src/persistence.cpp idx[k] = elem->data.i; idx 3843 modules/core/src/persistence.cpp val = cvPtrND( mat, idx, 0, 1, 0 ); idx 1932 modules/core/src/stat.cpp static void ofs2idx(const Mat& a, size_t ofs, int* idx) idx 1941 modules/core/src/stat.cpp idx[i] = (int)(ofs % sz); idx 1948 modules/core/src/stat.cpp idx[i] = -1; idx 3696 modules/core/src/stat.cpp int idx = tidx.at<int>(i); idx 3697 modules/core/src/stat.cpp int d = tdist.at<int>(i), d0 = dist.at<int>(idx); idx 3700 modules/core/src/stat.cpp dist.at<int>(idx) = d; idx 3701 modules/core/src/stat.cpp nidx.at<int>(idx) = i + update; idx 3709 modules/core/src/stat.cpp int idx = tidx.at<int>(i); idx 3710 modules/core/src/stat.cpp float d = tdist.at<float>(i), d0 = dist.at<float>(idx); idx 3713 modules/core/src/stat.cpp dist.at<float>(idx) = d; idx 3714 modules/core/src/stat.cpp nidx.at<int>(idx) = i + update; idx 3772 modules/core/src/stat.cpp Mat idx = _idx.getMat(); idx 3773 modules/core/src/stat.cpp CV_Assert(idx.isContinuous()); idx 3774 modules/core/src/stat.cpp Point* idx_ptr = idx.ptr<Point>(); idx 77 modules/core/src/types.cpp int idx = keypointIndexes[i]; idx 78 modules/core/src/types.cpp if( idx >= 0 ) idx 79 modules/core/src/types.cpp points2f[i] = keypoints[idx].pt; idx 128 modules/core/test/test_ds.cpp int idx = index * set_header->elem_size; idx 130 modules/core/test/test_ds.cpp return set_header->array[idx] ? set_header->array + idx + 1 : 0; idx 136 modules/core/test/test_ds.cpp int idx, idx2; idx 139 modules/core/test/test_ds.cpp idx = set_header->free_stack[--set_header->free_count]; idx 140 modules/core/test/test_ds.cpp idx2 = idx * set_header->elem_size; idx 145 modules/core/test/test_ds.cpp set_header->count = MAX( set_header->count, idx + 1 ); idx 147 modules/core/test/test_ds.cpp return idx; idx 613 modules/core/test/test_ds.cpp int idx = cvtest::randInt(rng) % (sseq->count*3) - sseq->count*3/2; idx 614 modules/core/test/test_ds.cpp int idx0 = (unsigned)idx < (unsigned)(sseq->count) ? idx : idx < 0 ? idx 615 modules/core/test/test_ds.cpp idx + sseq->count : idx - sseq->count; idx 618 modules/core/test/test_ds.cpp elem = cvGetSeqElem( seq, idx ); idx 632 modules/core/test/test_ds.cpp idx = cvSeqElemIdx(seq, elem ); idx 633 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( idx >= 0 && idx == idx0, idx 1135 modules/core/test/test_ds.cpp int idx0 = cvtest::randInt(rng) % sseq->count, idx = 0; idx 1138 modules/core/test/test_ds.cpp elem2 = cvSeqSearch( seq, elem0, k % 2 ? icvCmpSeqElems : 0, 0, &idx, seq ); idx 1145 modules/core/test/test_ds.cpp elem2 == cvGetSeqElem( seq, idx ), idx 1176 modules/core/test/test_ds.cpp int idx0 = cvtest::randInt(rng) % sseq->count, idx = 0; idx 1179 modules/core/test/test_ds.cpp elem2 = cvSeqSearch( seq, elem0, icvCmpSeqElems, 1, &idx, seq ); idx 1186 modules/core/test/test_ds.cpp elem2 == cvGetSeqElem( seq, idx ), idx 1235 modules/core/test/test_ds.cpp int idx, idx0; idx 1290 modules/core/test/test_ds.cpp idx = cvSetAdd( cvset, pass_data ? elem : 0, &elem2 ); idx 1291 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( elem2 != 0 && elem2->flags == idx, idx 1300 modules/core/test/test_ds.cpp idx = elem2->flags; idx 1302 modules/core/test/test_ds.cpp elem3 = cvGetSetElem( cvset, idx ); idx 1305 modules/core/test/test_ds.cpp idx == idx0 && elem3 == elem2 && (!pass_data || idx 1316 modules/core/test/test_ds.cpp idx = cvtest::randInt(rng) % sset->max_count; idx 1318 modules/core/test/test_ds.cpp if( sset->free_count == sset->max_count || idx >= sset->count ) idx 1321 modules/core/test/test_ds.cpp elem_data = cvTsSimpleSetFind(sset, idx); idx 1325 modules/core/test/test_ds.cpp elem = cvGetSetElem( cvset, idx ); idx 1326 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( CV_IS_SET_ELEM(elem) && elem->flags == idx && idx 1336 modules/core/test/test_ds.cpp cvSetRemove( cvset, idx ); idx 1339 modules/core/test/test_ds.cpp cvTsSimpleSetRemove( sset, idx ); idx 1341 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( !CV_IS_SET_ELEM(elem) && !cvGetSetElem(cvset, idx) && idx 1342 modules/core/test/test_ds.cpp (elem->flags & CV_SET_ELEM_IDX_MASK) == idx, idx 1447 modules/core/test/test_ds.cpp int idx, idx0; idx 1516 modules/core/test/test_ds.cpp idx = cvGraphAddVtx( graph, pass_data ? vtx : 0, &vtx2 ); idx 1521 modules/core/test/test_ds.cpp vtx3 = cvGetGraphVtx( graph, idx ); idx 1523 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( (CV_IS_SET_ELEM(vtx3) && vtx3->flags == idx && idx 1524 modules/core/test/test_ds.cpp vtx3->first == 0) || (idx == idx0 && vtx3 == vtx2 && idx 1536 modules/core/test/test_ds.cpp idx = cvtest::randInt(rng) % sgraph->vtx->max_count; idx 1537 modules/core/test/test_ds.cpp if( sgraph->vtx->free_count == sgraph->vtx->max_count || idx >= sgraph->vtx->count ) idx 1540 modules/core/test/test_ds.cpp vtx_data = cvTsSimpleGraphFindVertex(sgraph, idx); idx 1544 modules/core/test/test_ds.cpp vtx_degree0 = cvTsSimpleGraphVertexDegree( sgraph, idx ); idx 1547 modules/core/test/test_ds.cpp vtx = cvGetGraphVtx( graph, idx ); idx 1548 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( CV_IS_SET_ELEM(vtx) && vtx->flags == idx && idx 1559 modules/core/test/test_ds.cpp vtx_degree = cvGraphVtxDegree( graph, idx ); idx 1560 modules/core/test/test_ds.cpp cvGraphRemoveVtx( graph, idx ); idx 1563 modules/core/test/test_ds.cpp cvTsSimpleGraphRemoveVertex( sgraph, idx ); idx 1568 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( !CV_IS_SET_ELEM(vtx) && !cvGetGraphVtx(graph, idx) && idx 1569 modules/core/test/test_ds.cpp (vtx->flags & CV_SET_ELEM_IDX_MASK) == idx, idx 1730 modules/core/test/test_ds.cpp idx = edge->flags; idx 14 modules/core/test/test_io.cpp int idx[CV_MAX_DIM]; idx 16 modules/core/test/test_io.cpp idx[j] = cvtest::randInt(rng) % sz[j]; idx 18 modules/core/test/test_io.cpp uchar* ptr = m.ptr(idx, true, 0); idx 98 modules/core/test/test_io.cpp for( int idx = 0; idx < test_case_count; idx++ ) idx 100 modules/core/test/test_io.cpp ts->update_context( this, idx, false ); idx 101 modules/core/test/test_io.cpp progress = update_progress( progress, idx, test_case_count, 0 ); idx 105 modules/core/test/test_io.cpp bool mem = (idx % 4) >= 2; idx 106 modules/core/test/test_io.cpp string filename = tempfile(idx % 2 ? ".yml" : ".xml"); idx 557 modules/core/test/test_mat.cpp static string idx2string(const int* idx, int dims) idx 563 modules/core/test/test_mat.cpp sprintf(ptr, "%4d ", idx[k]); idx 570 modules/core/test/test_mat.cpp static const int* string2idx(const string& s, int* idx, int dims) idx 576 modules/core/test/test_mat.cpp sscanf(ptr, "%d%n", idx + k, &n); idx 579 modules/core/test/test_mat.cpp return idx; idx 582 modules/core/test/test_mat.cpp static double getValue(SparseMat& M, const int* idx, RNG& rng) idx 588 modules/core/test/test_mat.cpp hv = d == 2 ? M.hash(idx[0], idx[1]) : idx 589 modules/core/test/test_mat.cpp d == 3 ? M.hash(idx[0], idx[1], idx[2]) : M.hash(idx); idx 593 modules/core/test/test_mat.cpp const uchar* ptr = d == 2 ? M.ptr(idx[0], idx[1], false, phv) : idx 594 modules/core/test/test_mat.cpp d == 3 ? M.ptr(idx[0], idx[1], idx[2], false, phv) : idx 595 modules/core/test/test_mat.cpp M.ptr(idx, false, phv); idx 599 modules/core/test/test_mat.cpp static double getValue(const CvSparseMat* M, const int* idx) idx 602 modules/core/test/test_mat.cpp const uchar* ptr = cvPtrND(M, idx, &type, 0); idx 606 modules/core/test/test_mat.cpp static void eraseValue(SparseMat& M, const int* idx, RNG& rng) idx 612 modules/core/test/test_mat.cpp hv = d == 2 ? M.hash(idx[0], idx[1]) : idx 613 modules/core/test/test_mat.cpp d == 3 ? M.hash(idx[0], idx[1], idx[2]) : M.hash(idx); idx 618 modules/core/test/test_mat.cpp M.erase(idx[0], idx[1], phv); idx 620 modules/core/test/test_mat.cpp M.erase(idx[0], idx[1], idx[2], phv); idx 622 modules/core/test/test_mat.cpp M.erase(idx, phv); idx 625 modules/core/test/test_mat.cpp static void eraseValue(CvSparseMat* M, const int* idx) idx 627 modules/core/test/test_mat.cpp cvClearND(M, idx); idx 630 modules/core/test/test_mat.cpp static void setValue(SparseMat& M, const int* idx, double value, RNG& rng) idx 636 modules/core/test/test_mat.cpp hv = d == 2 ? M.hash(idx[0], idx[1]) : idx 637 modules/core/test/test_mat.cpp d == 3 ? M.hash(idx[0], idx[1], idx[2]) : M.hash(idx); idx 641 modules/core/test/test_mat.cpp uchar* ptr = d == 2 ? M.ptr(idx[0], idx[1], true, phv) : idx 642 modules/core/test/test_mat.cpp d == 3 ? M.ptr(idx[0], idx[1], idx[2], true, phv) : idx 643 modules/core/test/test_mat.cpp M.ptr(idx, true, phv); idx 655 modules/core/test/test_mat.cpp void operator()(Pixel & pixel, const int * idx) const { idx 656 modules/core/test/test_mat.cpp pixel.x = idx[0]; idx 657 modules/core/test/test_mat.cpp pixel.y = idx[1]; idx 658 modules/core/test/test_mat.cpp pixel.z = idx[2]; idx 746 modules/core/test/test_mat.cpp int i, k, size[MAX_DIM]={0}, idx[MAX_DIM]={0}; idx 792 modules/core/test/test_mat.cpp idx[k] = (unsigned)rng % size[k]; idx 793 modules/core/test/test_mat.cpp sidx = idx2string(idx, dims); idx 803 modules/core/test/test_mat.cpp setValue(M, idx, all_vals[i], rng); idx 804 modules/core/test/test_mat.cpp double v = getValue(M, idx, rng); idx 852 modules/core/test/test_mat.cpp string2idx(sidx, idx, dims); idx 858 modules/core/test/test_mat.cpp idx[k] = (unsigned)rng % size[k]; idx 859 modules/core/test/test_mat.cpp sidx = idx2string(idx, dims); idx 862 modules/core/test/test_mat.cpp val1 = getValue(M, idx, rng); idx 863 modules/core/test/test_mat.cpp val2 = getValue(M2, idx); idx 864 modules/core/test/test_mat.cpp val3 = getValue(M3, idx, rng); idx 880 modules/core/test/test_mat.cpp string2idx(sidx, idx, dims); idx 885 modules/core/test/test_mat.cpp idx[k] = (unsigned)rng % size[k]; idx 886 modules/core/test/test_mat.cpp sidx = idx2string(idx, dims); idx 888 modules/core/test/test_mat.cpp eraseValue(M, idx, rng); idx 889 modules/core/test/test_mat.cpp eraseValue(M2, idx); idx 890 modules/core/test/test_mat.cpp val1 = getValue(M, idx, rng); idx 891 modules/core/test/test_mat.cpp val2 = getValue(M2, idx); idx 2232 modules/core/test/test_math.cpp for (int idx = 0, max_idx = 1000, progress = 0; idx < max_idx; ++idx) idx 2234 modules/core/test/test_math.cpp progress = update_progress(progress, idx-1, max_idx, 0); idx 2271 modules/core/test/test_math.cpp int cubic_case = idx & 1; idx 1167 modules/core/test/test_operations.cpp int sizes[MAX_DIM], idx[MAX_DIM]; idx 1195 modules/core/test/test_operations.cpp idx[k] = rng.uniform(0, sizes[k]); idx 1198 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx[0]) == v(idx[0]) ); idx 1202 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx[0], idx[1]) == v(idx[0], idx[1]) ); idx 1206 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx[0], idx[1], idx[2]) == v(idx[0], idx[1], idx[2]) ); idx 1208 modules/core/test/test_operations.cpp CV_Assert( v.ref(idx) == v(idx) ); idx 1209 modules/core/test/test_operations.cpp v.ref(idx) += val; idx 1210 modules/core/test/test_operations.cpp if( v(idx) == val ) idx 101 modules/core/test/test_rand.cpp for( int idx = 0; idx < test_case_count; idx++ ) idx 103 modules/core/test/test_rand.cpp progress = update_progress( progress, idx, test_case_count, 0 ); idx 104 modules/core/test/test_rand.cpp ts->update_context( this, idx, false ); idx 80 modules/cudaarithm/src/arithm.cpp size_t idx = std::find_if(errors, errors + n, ErrorEntryComparer(code)) - errors; idx 82 modules/cudaarithm/src/arithm.cpp const char* msg = (idx != n) ? errors[idx].str : "Unknown error code"; idx 447 modules/cudafeatures2d/src/orb.cpp int idx = rng.uniform(0, poolSize); idx 448 modules/cudafeatures2d/src/orb.cpp Point pt = pattern0[idx]; idx 123 modules/cudalegacy/src/NCV.cpp size_t idx = std::find_if(ncv_errors, ncv_errors + ncv_error_num, ErrorEntryComparer(code)) - ncv_errors; idx 125 modules/cudalegacy/src/NCV.cpp const char* msg = (idx != ncv_error_num) ? ncv_errors[idx].str : "Unknown error code"; idx 247 modules/cudaoptflow/src/pyrlk.cpp int idx = 0; idx 251 modules/cudaoptflow/src/pyrlk.cpp int idx2 = (idx + 1) & 1; idx 254 modules/cudaoptflow/src/pyrlk.cpp uPyr[idx], vPyr[idx], uPyr[idx2], vPyr[idx2], idx 259 modules/cudaoptflow/src/pyrlk.cpp idx = idx2; idx 262 modules/cudaoptflow/src/pyrlk.cpp uPyr[idx].copyTo(u, stream); idx 263 modules/cudaoptflow/src/pyrlk.cpp vPyr[idx].copyTo(v, stream); idx 124 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp const int idx = ::min(threadIdx.x, count - 1); idx 126 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp T myMin = minMal[idx]; idx 127 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp T myMax = maxVal[idx]; idx 128 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp int myMinLoc = minLoc[idx]; idx 129 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp int myMaxLoc = maxLoc[idx]; idx 784 modules/features2d/src/kaze/AKAZEFeatures.cpp int ix = 0, iy = 0, idx = 0, s = 0, level = 0; idx 808 modules/features2d/src/kaze/AKAZEFeatures.cpp resX[idx] = gweight*(*(evolution_[level].Lx.ptr<float>(iy)+ix)); idx 809 modules/features2d/src/kaze/AKAZEFeatures.cpp resY[idx] = gweight*(*(evolution_[level].Ly.ptr<float>(iy)+ix)); idx 811 modules/features2d/src/kaze/AKAZEFeatures.cpp ++idx; idx 579 modules/features2d/src/kaze/KAZEFeatures.cpp int ix = 0, iy = 0, idx = 0, s = 0, level = 0; idx 601 modules/features2d/src/kaze/KAZEFeatures.cpp resX[idx] = gweight*(*(evolution_[level].Lx.ptr<float>(iy)+ix)); idx 602 modules/features2d/src/kaze/KAZEFeatures.cpp resY[idx] = gweight*(*(evolution_[level].Ly.ptr<float>(iy)+ix)); idx 605 modules/features2d/src/kaze/KAZEFeatures.cpp resX[idx] = 0.0; idx 606 modules/features2d/src/kaze/KAZEFeatures.cpp resY[idx] = 0.0; idx 609 modules/features2d/src/kaze/KAZEFeatures.cpp Ang[idx] = getAngle(resX[idx], resY[idx]); idx 610 modules/features2d/src/kaze/KAZEFeatures.cpp ++idx; idx 103 modules/features2d/src/matchers.cpp int idx = 0; idx 104 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(uquery)); idx 105 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(utrain)); idx 106 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx)); idx 107 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); idx 108 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.rows); idx 109 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.cols); idx 110 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.rows); idx 111 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.cols); idx 112 modules/features2d/src/matchers.cpp idx = k.set(idx, (int)(uquery.step / sizeof(float))); idx 203 modules/features2d/src/matchers.cpp int idx = 0; idx 204 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(uquery)); idx 205 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(utrain)); idx 206 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx)); idx 207 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); idx 208 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.rows); idx 209 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.cols); idx 210 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.rows); idx 211 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.cols); idx 212 modules/features2d/src/matchers.cpp idx = k.set(idx, (int)(uquery.step / sizeof(float))); idx 312 modules/features2d/src/matchers.cpp int idx = 0; idx 313 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(uquery)); idx 314 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(utrain)); idx 315 modules/features2d/src/matchers.cpp idx = k.set(idx, maxDistance); idx 316 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx)); idx 317 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); idx 318 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(nMatches)); idx 319 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.rows); idx 320 modules/features2d/src/matchers.cpp idx = k.set(idx, uquery.cols); idx 321 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.rows); idx 322 modules/features2d/src/matchers.cpp idx = k.set(idx, utrain.cols); idx 323 modules/features2d/src/matchers.cpp idx = k.set(idx, trainIdx.cols); idx 324 modules/features2d/src/matchers.cpp idx = k.set(idx, (int)(uquery.step / sizeof(float))); idx 325 modules/features2d/src/matchers.cpp idx = k.set(idx, (int)(trainIdx.step / sizeof(int))); idx 1278 modules/features2d/src/matchers.cpp int idx = indices.at<int>(i, j); idx 1279 modules/features2d/src/matchers.cpp if( idx >= 0 ) idx 1282 modules/features2d/src/matchers.cpp collection.getLocalIdx( idx, imgIdx, trainIdx ); idx 239 modules/features2d/src/orb.cpp #define GET_VALUE(idx) \ idx 240 modules/features2d/src/orb.cpp (x = pattern[idx].x*a - pattern[idx].y*b, \ idx 241 modules/features2d/src/orb.cpp y = pattern[idx].x*b + pattern[idx].y*a, \ idx 246 modules/features2d/src/orb.cpp #define GET_VALUE(idx) \ idx 247 modules/features2d/src/orb.cpp (x = pattern[idx].x*a - pattern[idx].y*b, \ idx 248 modules/features2d/src/orb.cpp y = pattern[idx].x*b + pattern[idx].y*a, \ idx 359 modules/features2d/src/orb.cpp int idx = rng.uniform(0, poolSize); idx 360 modules/features2d/src/orb.cpp Point pt = pattern0[idx]; idx 286 modules/flann/include/opencv2/flann/kdtree_index.h int idx; idx 289 modules/flann/include/opencv2/flann/kdtree_index.h meanSplit(ind, count, idx, cutfeat, cutval); idx 293 modules/flann/include/opencv2/flann/kdtree_index.h node->child1 = divideTree(ind, idx); idx 294 modules/flann/include/opencv2/flann/kdtree_index.h node->child2 = divideTree(ind+idx, count-idx); idx 362 modules/flann/include/opencv2/flann/kdtree_single_index.h int idx; idx 365 modules/flann/include/opencv2/flann/kdtree_single_index.h middleSplit_(&vind_[0]+left, right-left, idx, cutfeat, cutval, bbox); idx 371 modules/flann/include/opencv2/flann/kdtree_single_index.h node->child1 = divideTree(left, left+idx, left_bbox); idx 375 modules/flann/include/opencv2/flann/kdtree_single_index.h node->child2 = divideTree(left+idx, right, right_bbox); idx 559 modules/flann/include/opencv2/flann/kdtree_single_index.h int idx = node->divfeat; idx 560 modules/flann/include/opencv2/flann/kdtree_single_index.h ElementType val = vec[idx]; idx 570 modules/flann/include/opencv2/flann/kdtree_single_index.h cut_dist = distance_.accum_dist(val, node->divhigh, idx); idx 575 modules/flann/include/opencv2/flann/kdtree_single_index.h cut_dist = distance_.accum_dist( val, node->divlow, idx); idx 581 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType dst = dists[idx]; idx 583 modules/flann/include/opencv2/flann/kdtree_single_index.h dists[idx] = cut_dist; idx 587 modules/flann/include/opencv2/flann/kdtree_single_index.h dists[idx] = dst; idx 361 modules/flann/include/opencv2/flann/lsh_table.h size_t idx = index / divisor; //pick the right size_t index idx 362 modules/flann/include/opencv2/flann/lsh_table.h mask_[idx] |= size_t(1) << (index % divisor); //use modulo to find the bit offset idx 1111 modules/hal/src/mathfuncs.cpp int CV_DECL_ALIGNED(16) idx[4]; idx 1123 modules/hal/src/mathfuncs.cpp _mm_store_si128((__m128i*)idx, h0); idx 1127 modules/hal/src/mathfuncs.cpp t0 = _mm_load_pd(icvLogTab + idx[0]); idx 1128 modules/hal/src/mathfuncs.cpp t2 = _mm_load_pd(icvLogTab + idx[1]); idx 1131 modules/hal/src/mathfuncs.cpp t2 = _mm_load_pd(icvLogTab + idx[2]); idx 1132 modules/hal/src/mathfuncs.cpp t4 = _mm_load_pd(icvLogTab + idx[3]); idx 1270 modules/hal/src/mathfuncs.cpp int CV_DECL_ALIGNED(16) idx[4]; idx 1288 modules/hal/src/mathfuncs.cpp _mm_store_si128((__m128i*)idx, h0); idx 1292 modules/hal/src/mathfuncs.cpp t0 = _mm_load_pd(icvLogTab + idx[0]); idx 1293 modules/hal/src/mathfuncs.cpp t2 = _mm_load_pd(icvLogTab + idx[1]); idx 1296 modules/hal/src/mathfuncs.cpp t2 = _mm_load_pd(icvLogTab + idx[2]); idx 1297 modules/hal/src/mathfuncs.cpp t4 = _mm_load_pd(icvLogTab + idx[3]); idx 1728 modules/highgui/src/window_gtk.cpp for (size_t idx = 0; idx < sizeof(file_filters)/sizeof(file_filters[0]); ++idx) idx 1729 modules/highgui/src/window_gtk.cpp gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), file_filters[idx]); idx 495 modules/imgcodecs/src/utils.cpp int idx = *indices++; idx 496 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data-6)) = palette[idx >> 4]; idx 497 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data-3)) = palette[idx & 15]; idx 500 modules/imgcodecs/src/utils.cpp int idx = indices[0]; idx 501 modules/imgcodecs/src/utils.cpp PaletteEntry clr = palette[idx >> 4]; idx 506 modules/imgcodecs/src/utils.cpp clr = palette[idx & 15]; idx 518 modules/imgcodecs/src/utils.cpp int idx = *indices++; idx 519 modules/imgcodecs/src/utils.cpp data[-2] = palette[idx >> 4]; idx 520 modules/imgcodecs/src/utils.cpp data[-1] = palette[idx & 15]; idx 523 modules/imgcodecs/src/utils.cpp int idx = indices[0]; idx 524 modules/imgcodecs/src/utils.cpp uchar clr = palette[idx >> 4]; idx 529 modules/imgcodecs/src/utils.cpp clr = palette[idx & 15]; idx 542 modules/imgcodecs/src/utils.cpp int idx = *indices++; idx 543 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 24)) = palette[(idx & 128) != 0]; idx 544 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 21)) = palette[(idx & 64) != 0]; idx 545 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 18)) = palette[(idx & 32) != 0]; idx 546 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 15)) = palette[(idx & 16) != 0]; idx 547 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 12)) = palette[(idx & 8) != 0]; idx 548 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 9)) = palette[(idx & 4) != 0]; idx 549 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 6)) = palette[(idx & 2) != 0]; idx 550 modules/imgcodecs/src/utils.cpp *((PaletteEntry*)(data - 3)) = palette[(idx & 1) != 0]; idx 553 modules/imgcodecs/src/utils.cpp int idx = indices[0] << 24; idx 554 modules/imgcodecs/src/utils.cpp for( data -= 24; data < end; data += 3, idx += idx ) idx 556 modules/imgcodecs/src/utils.cpp PaletteEntry clr = palette[idx < 0]; idx 570 modules/imgcodecs/src/utils.cpp int idx = *indices++; idx 571 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 8)) = palette[(idx & 128) != 0]; idx 572 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 7)) = palette[(idx & 64) != 0]; idx 573 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 6)) = palette[(idx & 32) != 0]; idx 574 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 5)) = palette[(idx & 16) != 0]; idx 575 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 4)) = palette[(idx & 8) != 0]; idx 576 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 3)) = palette[(idx & 4) != 0]; idx 577 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 2)) = palette[(idx & 2) != 0]; idx 578 modules/imgcodecs/src/utils.cpp *((uchar*)(data - 1)) = palette[(idx & 1) != 0]; idx 581 modules/imgcodecs/src/utils.cpp int idx = indices[0] << 24; idx 582 modules/imgcodecs/src/utils.cpp for( data -= 8; data < end; data++, idx += idx ) idx 584 modules/imgcodecs/src/utils.cpp data[0] = palette[idx < 0]; idx 906 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP void getVoronoiFacetList(const std::vector<int>& idx, CV_OUT std::vector<std::vector<Point2f> >& facetList, idx 81 modules/imgproc/src/clahe.cpp int idx = 0; idx 82 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); idx 83 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::WriteOnlyNoSize(dst)); idx 84 modules/imgproc/src/clahe.cpp idx = k.set(idx, tile_size); idx 85 modules/imgproc/src/clahe.cpp idx = k.set(idx, tilesX); idx 86 modules/imgproc/src/clahe.cpp idx = k.set(idx, clipLimit); idx 87 modules/imgproc/src/clahe.cpp k.set(idx, lutScale); idx 112 modules/imgproc/src/clahe.cpp int idx = 0; idx 113 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); idx 114 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::WriteOnlyNoSize(dst)); idx 115 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(lut)); idx 116 modules/imgproc/src/clahe.cpp idx = k.set(idx, src.cols); idx 117 modules/imgproc/src/clahe.cpp idx = k.set(idx, src.rows); idx 118 modules/imgproc/src/clahe.cpp idx = k.set(idx, tile_size); idx 119 modules/imgproc/src/clahe.cpp idx = k.set(idx, tilesX); idx 120 modules/imgproc/src/clahe.cpp k.set(idx, tilesY); idx 48 modules/imgproc/src/colormap.cpp for(size_t idx = 0; idx < indices.size(); idx++) { idx 49 modules/imgproc/src/colormap.cpp Mat originalRow = src.row(indices[idx]); idx 50 modules/imgproc/src/colormap.cpp Mat sortedRow = dst.row((int)idx); idx 481 modules/imgproc/src/convhull.cpp const int* idx = h0.ptr<int>(); idx 485 modules/imgproc/src/convhull.cpp void* ptr = cvGetSeqElem(ptseq, idx[i]); idx 1040 modules/imgproc/src/drawing.cpp int idx, di; idx 1112 modules/imgproc/src/drawing.cpp edge[0].idx = edge[1].idx = imin; idx 1128 modules/imgproc/src/drawing.cpp int idx = edge[i].idx, di = edge[i].di; idx 1133 modules/imgproc/src/drawing.cpp ty = (v[idx].y + delta) >> shift; idx 1136 modules/imgproc/src/drawing.cpp xs = v[idx].x; idx 1137 modules/imgproc/src/drawing.cpp idx += di; idx 1138 modules/imgproc/src/drawing.cpp idx -= ((idx < npts) - 1) & npts; /* idx -= idx >= npts ? npts : 0 */ idx 1144 modules/imgproc/src/drawing.cpp xe = v[idx].x << (XY_SHIFT - shift); idx 1153 modules/imgproc/src/drawing.cpp edge[i].idx = idx; idx 398 modules/imgproc/src/floodfill.cpp int idx; idx 403 modules/imgproc/src/floodfill.cpp (unsigned)(idx = i-L-1) <= length) && idx 405 modules/imgproc/src/floodfill.cpp ((unsigned)(++idx) <= length && idx 407 modules/imgproc/src/floodfill.cpp ((unsigned)(++idx) <= length && idx 418 modules/imgproc/src/floodfill.cpp (((unsigned)(idx = i-L-1) <= length && idx 420 modules/imgproc/src/floodfill.cpp ((unsigned)(++idx) <= length && idx 422 modules/imgproc/src/floodfill.cpp ((unsigned)(++idx) <= length && idx 73 modules/imgproc/src/histogram.cpp int idx = cvFloor(j*a + b); idx 75 modules/imgproc/src/histogram.cpp if( (unsigned)idx < (unsigned)sz ) idx 76 modules/imgproc/src/histogram.cpp written_idx = idx*step; idx 89 modules/imgproc/src/histogram.cpp int idx = -1, sz = !issparse ? hist.size[i] : shist.size(i); idx 98 modules/imgproc/src/histogram.cpp if( (unsigned)(++idx) < (unsigned)sz ) idx 100 modules/imgproc/src/histogram.cpp limit = std::min(cvCeil(ranges[i][idx+1]), high); idx 101 modules/imgproc/src/histogram.cpp written_idx = idx*step; idx 245 modules/imgproc/src/histogram.cpp int idx = cvFloor(*p0*a_[0] + b_[0]); idx 246 modules/imgproc/src/histogram.cpp if( (unsigned)idx < (unsigned)size_[0] ) idx 248 modules/imgproc/src/histogram.cpp globalHistogram_[idx].fetch_and_add(1); idx 258 modules/imgproc/src/histogram.cpp int idx = cvFloor(*p0*a_[0] + b_[0]); idx 259 modules/imgproc/src/histogram.cpp if( (unsigned)idx < (unsigned)size_[0] ) idx 261 modules/imgproc/src/histogram.cpp globalHistogram_[idx].fetch_and_add(1); idx 608 modules/imgproc/src/histogram.cpp size_t idx = tab_[*p0] + tab_[*p1 + 256]; idx 609 modules/imgproc/src/histogram.cpp if( idx < OUT_OF_RANGE ) idx 611 modules/imgproc/src/histogram.cpp ++*(int*)(localHistData + idx); idx 619 modules/imgproc/src/histogram.cpp size_t idx; idx 620 modules/imgproc/src/histogram.cpp if( mask[x] && (idx = tab_[*p0] + tab_[*p1 + 256]) < OUT_OF_RANGE ) idx 622 modules/imgproc/src/histogram.cpp ++*(int*)(localHistData + idx); idx 688 modules/imgproc/src/histogram.cpp size_t idx = tab_[*p0] + tab_[*p1 + 256] + tab_[*p2 + 512]; idx 689 modules/imgproc/src/histogram.cpp if( idx < OUT_OF_RANGE ) idx 691 modules/imgproc/src/histogram.cpp ( *(tbb::atomic<int>*)(globalHistogram_ + idx) ).fetch_and_add(1); idx 699 modules/imgproc/src/histogram.cpp size_t idx; idx 700 modules/imgproc/src/histogram.cpp if( mask[x] && (idx = tab_[*p0] + tab_[*p1 + 256] + tab_[*p2 + 512]) < OUT_OF_RANGE ) idx 702 modules/imgproc/src/histogram.cpp (*(tbb::atomic<int>*)(globalHistogram_ + idx)).fetch_and_add(1); idx 788 modules/imgproc/src/histogram.cpp int idx = cvFloor(*p0*a + b); idx 789 modules/imgproc/src/histogram.cpp if( (unsigned)idx < (unsigned)sz ) idx 790 modules/imgproc/src/histogram.cpp ((int*)H)[idx]++; idx 796 modules/imgproc/src/histogram.cpp int idx = cvFloor(*p0*a + b); idx 797 modules/imgproc/src/histogram.cpp if( (unsigned)idx < (unsigned)sz ) idx 798 modules/imgproc/src/histogram.cpp ((int*)H)[idx]++; idx 900 modules/imgproc/src/histogram.cpp int idx = cvFloor(*ptrs[i]*uniranges[i*2] + uniranges[i*2+1]); idx 901 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)size[i] ) idx 904 modules/imgproc/src/histogram.cpp Hptr += idx*hstep[i]; idx 921 modules/imgproc/src/histogram.cpp int idx = cvFloor(*ptrs[i]*uniranges[i*2] + uniranges[i*2+1]); idx 922 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)size[i] ) idx 925 modules/imgproc/src/histogram.cpp Hptr += idx*hstep[i]; idx 958 modules/imgproc/src/histogram.cpp int idx = -1, sz = size[i]; idx 960 modules/imgproc/src/histogram.cpp while( v >= R[idx+1] && ++idx < sz ) idx 963 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)sz ) idx 967 modules/imgproc/src/histogram.cpp Hptr += idx*hstep[i]; idx 1079 modules/imgproc/src/histogram.cpp size_t idx = tab[*p0] + tab[*p1 + 256]; idx 1080 modules/imgproc/src/histogram.cpp if( idx < OUT_OF_RANGE ) idx 1081 modules/imgproc/src/histogram.cpp ++*(int*)(H + idx); idx 1086 modules/imgproc/src/histogram.cpp size_t idx; idx 1087 modules/imgproc/src/histogram.cpp if( mask[x] && (idx = tab[*p0] + tab[*p1 + 256]) < OUT_OF_RANGE ) idx 1088 modules/imgproc/src/histogram.cpp ++*(int*)(H + idx); idx 1114 modules/imgproc/src/histogram.cpp size_t idx = tab[*p0] + tab[*p1 + 256] + tab[*p2 + 512]; idx 1115 modules/imgproc/src/histogram.cpp if( idx < OUT_OF_RANGE ) idx 1116 modules/imgproc/src/histogram.cpp ++*(int*)(H + idx); idx 1121 modules/imgproc/src/histogram.cpp size_t idx; idx 1122 modules/imgproc/src/histogram.cpp if( mask[x] && (idx = tab[*p0] + tab[*p1 + 256] + tab[*p2 + 512]) < OUT_OF_RANGE ) idx 1123 modules/imgproc/src/histogram.cpp ++*(int*)(H + idx); idx 1138 modules/imgproc/src/histogram.cpp size_t idx = tab[*ptrs[i] + i*256]; idx 1139 modules/imgproc/src/histogram.cpp if( idx >= OUT_OF_RANGE ) idx 1141 modules/imgproc/src/histogram.cpp Hptr += idx; idx 1159 modules/imgproc/src/histogram.cpp size_t idx = tab[*ptrs[i] + i*256]; idx 1160 modules/imgproc/src/histogram.cpp if( idx >= OUT_OF_RANGE ) idx 1162 modules/imgproc/src/histogram.cpp Hptr += idx; idx 1311 modules/imgproc/src/histogram.cpp int idx[CV_MAX_DIM]; idx 1325 modules/imgproc/src/histogram.cpp idx[i] = cvFloor(*ptrs[i]*uniranges[i*2] + uniranges[i*2+1]); idx 1326 modules/imgproc/src/histogram.cpp if( (unsigned)idx[i] >= (unsigned)size[i] ) idx 1332 modules/imgproc/src/histogram.cpp ++*(int*)hist.ptr(idx, true); idx 1367 modules/imgproc/src/histogram.cpp idx[i] = j; idx 1371 modules/imgproc/src/histogram.cpp ++*(int*)hist.ptr(idx, true); idx 1394 modules/imgproc/src/histogram.cpp int idx[CV_MAX_DIM]; idx 1412 modules/imgproc/src/histogram.cpp idx[i] = (int)hidx; idx 1416 modules/imgproc/src/histogram.cpp ++*(int*)hist.ptr(idx,true); idx 1621 modules/imgproc/src/histogram.cpp int idx = cvFloor(*p0*a + b); idx 1622 modules/imgproc/src/histogram.cpp bproj[x] = (unsigned)idx < (unsigned)sz ? saturate_cast<BT>(((const float*)H)[idx]*scale) : 0; idx 1686 modules/imgproc/src/histogram.cpp int idx = cvFloor(*ptrs[i]*uniranges[i*2] + uniranges[i*2+1]); idx 1687 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)size[i] || (_ranges && *ptrs[i] >= _ranges[i][1])) idx 1690 modules/imgproc/src/histogram.cpp Hptr += idx*hstep[i]; idx 1723 modules/imgproc/src/histogram.cpp int idx = -1, sz = size[i]; idx 1725 modules/imgproc/src/histogram.cpp while( v >= R[idx+1] && ++idx < sz ) idx 1728 modules/imgproc/src/histogram.cpp if( (unsigned)idx >= (unsigned)sz ) idx 1732 modules/imgproc/src/histogram.cpp Hptr += idx*hstep[i]; idx 1820 modules/imgproc/src/histogram.cpp size_t idx = tab[*p0] + tab[*p1 + 256]; idx 1821 modules/imgproc/src/histogram.cpp bproj[x] = idx < OUT_OF_RANGE ? saturate_cast<uchar>(*(const float*)(H + idx)*scale) : 0; idx 1838 modules/imgproc/src/histogram.cpp size_t idx = tab[*p0] + tab[*p1 + 256] + tab[*p2 + 512]; idx 1839 modules/imgproc/src/histogram.cpp bproj[x] = idx < OUT_OF_RANGE ? saturate_cast<uchar>(*(const float*)(H + idx)*scale) : 0; idx 1852 modules/imgproc/src/histogram.cpp size_t idx = tab[*ptrs[i] + i*256]; idx 1853 modules/imgproc/src/histogram.cpp if( idx >= OUT_OF_RANGE ) idx 1856 modules/imgproc/src/histogram.cpp Hptr += idx; idx 1920 modules/imgproc/src/histogram.cpp int idx[CV_MAX_DIM]; idx 1932 modules/imgproc/src/histogram.cpp idx[i] = cvFloor(*ptrs[i]*uniranges[i*2] + uniranges[i*2+1]); idx 1933 modules/imgproc/src/histogram.cpp if( (unsigned)idx[i] >= (unsigned)size[i] ) idx 1939 modules/imgproc/src/histogram.cpp bproj[x] = saturate_cast<BT>(hist_(idx)*scale); idx 1973 modules/imgproc/src/histogram.cpp idx[i] = j; idx 1978 modules/imgproc/src/histogram.cpp bproj[x] = saturate_cast<BT>(hist_(idx)*scale); idx 2005 modules/imgproc/src/histogram.cpp int idx[CV_MAX_DIM]; idx 2019 modules/imgproc/src/histogram.cpp idx[i] = (int)hidx; idx 2024 modules/imgproc/src/histogram.cpp bproj[x] = saturate_cast<uchar>(hist.value<float>(idx)*scale); idx 2075 modules/imgproc/src/histogram.cpp static void getUMatIndex(const std::vector<UMat> & um, int cn, int & idx, int & cnidx) idx 2085 modules/imgproc/src/histogram.cpp idx = (int)(i + 1); idx 2091 modules/imgproc/src/histogram.cpp idx = (int)i; idx 2097 modules/imgproc/src/histogram.cpp idx = cnidx = -1; idx 2131 modules/imgproc/src/histogram.cpp int idx, cnidx; idx 2132 modules/imgproc/src/histogram.cpp getUMatIndex(images, channels[0], idx, cnidx); idx 2133 modules/imgproc/src/histogram.cpp CV_Assert(idx >= 0); idx 2134 modules/imgproc/src/histogram.cpp UMat im = images[idx]; idx 2500 modules/imgproc/src/histogram.cpp float v2 = PH2->value<float>(node->idx, (size_t*)&node->hashval); idx 2515 modules/imgproc/src/histogram.cpp s12 += v1*PH2->value<float>(node->idx, (size_t*)&node->hashval); idx 2542 modules/imgproc/src/histogram.cpp float v2 = PH2->value<float>(node->idx, (size_t*)&node->hashval); idx 2555 modules/imgproc/src/histogram.cpp double v2 = PH2->value<float>(node->idx, (size_t*)&node->hashval); idx 2574 modules/imgproc/src/histogram.cpp double v2 = PH2->value<float>(node->idx, (size_t*)&node->hashval); idx 3234 modules/imgproc/src/histogram.cpp *(float*)cvPtrND(sparsemat, it.node()->idx, 0, -2) = (float)*(const int*)it.ptr; idx 174 modules/imgproc/src/hough.cpp int idx = _sort_buf[i]; idx 175 modules/imgproc/src/hough.cpp int n = cvFloor(idx*scale) - 1; idx 176 modules/imgproc/src/hough.cpp int r = idx - (n+1)*(numrho+2) - 1; idx 401 modules/imgproc/src/hough.cpp for( size_t idx = 0; idx < lst.size(); idx++ ) idx 403 modules/imgproc/src/hough.cpp if( lst[idx].rho < 0 ) idx 405 modules/imgproc/src/hough.cpp lines.push_back(Vec2f(lst[idx].rho, lst[idx].theta)); idx 497 modules/imgproc/src/hough.cpp int idx = rng.uniform(0, count); idx 499 modules/imgproc/src/hough.cpp Point point = nzloc[idx]; idx 508 modules/imgproc/src/hough.cpp nzloc[idx] = nzloc[count-1]; idx 617 modules/imgproc/src/lsd.cpp int idx = n_bins - 1; idx 618 modules/imgproc/src/lsd.cpp for(;idx > 0 && !range_s[idx]; --idx); idx 619 modules/imgproc/src/lsd.cpp coorlist* start = range_s[idx]; idx 620 modules/imgproc/src/lsd.cpp coorlist* end = range_e[idx]; idx 623 modules/imgproc/src/lsd.cpp while(idx > 0) idx 625 modules/imgproc/src/lsd.cpp --idx; idx 626 modules/imgproc/src/lsd.cpp if(range_s[idx]) idx 628 modules/imgproc/src/lsd.cpp end->next = range_s[idx]; idx 629 modules/imgproc/src/lsd.cpp end = range_e[idx]; idx 81 modules/imgproc/src/precomp.hpp #define CV_COPY( dst, src, len, idx ) \ idx 82 modules/imgproc/src/precomp.hpp for( (idx) = 0; (idx) < (len); (idx)++) (dst)[idx] = (src)[idx] idx 84 modules/imgproc/src/precomp.hpp #define CV_SET( dst, val, len, idx ) \ idx 85 modules/imgproc/src/precomp.hpp for( (idx) = 0; (idx) < (len); (idx)++) (dst)[idx] = (val) idx 119 modules/imgproc/src/segmentation.cpp #define ws_push(idx,mofs,iofs) \ idx 128 modules/imgproc/src/segmentation.cpp if( q[idx].last ) \ idx 129 modules/imgproc/src/segmentation.cpp storage[q[idx].last].next=node; \ idx 131 modules/imgproc/src/segmentation.cpp q[idx].first = node; \ idx 132 modules/imgproc/src/segmentation.cpp q[idx].last = node; \ idx 136 modules/imgproc/src/segmentation.cpp #define ws_pop(idx,mofs,iofs) \ idx 138 modules/imgproc/src/segmentation.cpp node = q[idx].first; \ idx 139 modules/imgproc/src/segmentation.cpp q[idx].first = storage[node].next; \ idx 141 modules/imgproc/src/segmentation.cpp q[idx].last = 0; \ idx 196 modules/imgproc/src/segmentation.cpp int idx = 256, t; idx 198 modules/imgproc/src/segmentation.cpp c_diff( ptr, ptr - 3, idx ); idx 202 modules/imgproc/src/segmentation.cpp idx = ws_min( idx, t ); idx 207 modules/imgproc/src/segmentation.cpp idx = ws_min( idx, t ); idx 212 modules/imgproc/src/segmentation.cpp idx = ws_min( idx, t ); idx 216 modules/imgproc/src/segmentation.cpp assert( 0 <= idx && idx <= 255 ); idx 217 modules/imgproc/src/segmentation.cpp ws_push( idx, i*mstep + j, i*istep + j*3 ); idx 3213 modules/imgproc/src/smooth.cpp int idx = cvFloor(alpha); idx 3214 modules/imgproc/src/smooth.cpp alpha -= idx; idx 3215 modules/imgproc/src/smooth.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); idx 3294 modules/imgproc/src/smooth.cpp int idx = cvFloor(alpha); idx 3295 modules/imgproc/src/smooth.cpp alpha -= idx; idx 3296 modules/imgproc/src/smooth.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); idx 750 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::getVoronoiFacetList(const std::vector<int>& idx, idx 761 modules/imgproc/src/subdivision2d.cpp if( idx.empty() ) idx 764 modules/imgproc/src/subdivision2d.cpp i = 0, total = idx.size(); idx 768 modules/imgproc/src/subdivision2d.cpp int k = idx.empty() ? (int)i : idx[i]; idx 1034 modules/imgproc/src/templmatch.cpp int idx = i * sumstep; idx 1037 modules/imgproc/src/templmatch.cpp for( j = 0; j < result.cols; j++, idx += cn, idx2 += cn ) idx 1046 modules/imgproc/src/templmatch.cpp t = p0[idx+k] - p1[idx+k] - p2[idx+k] + p3[idx+k]; idx 196 modules/imgproc/test/test_bilateral_filter.cpp int idx = cvFloor(alpha); idx 197 modules/imgproc/test/test_bilateral_filter.cpp alpha -= idx; idx 198 modules/imgproc/test/test_bilateral_filter.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); idx 218 modules/imgproc/test/test_bilateral_filter.cpp int idx = cvFloor(alpha); idx 219 modules/imgproc/test/test_bilateral_filter.cpp alpha -= idx; idx 220 modules/imgproc/test/test_bilateral_filter.cpp float w = space_weight[k]*(expLUT[idx] + alpha*(expLUT[idx+1] - expLUT[idx])); idx 108 modules/imgproc/test/test_convhull.cpp int on_edge = 0, idx = i; idx 120 modules/imgproc/test/test_convhull.cpp idx = i - 1; idx 121 modules/imgproc/test/test_convhull.cpp if( idx < 0 ) idx = n-1; idx 135 modules/imgproc/test/test_convhull.cpp min_dist_idx = idx; idx 591 modules/imgproc/test/test_convhull.cpp int idx; idx 595 modules/imgproc/test/test_convhull.cpp idx = cvSeqElemIdx( ptseq, *(uchar**)ptr ); idx 597 modules/imgproc/test/test_convhull.cpp idx = *(int*)ptr; idx 599 modules/imgproc/test/test_convhull.cpp if( idx < 0 || idx >= point_count ) idx 605 modules/imgproc/test/test_convhull.cpp h[i] = p[idx]; idx 634 modules/imgproc/test/test_convhull.cpp int idx = 0, on_edge = 0; idx 635 modules/imgproc/test/test_convhull.cpp double pptresult = cvTsPointPolygonTest( p[i], h, hull_count, &idx, &on_edge ); idx 645 modules/imgproc/test/test_convhull.cpp mask->data.ptr[idx] = (uchar)1; idx 755 modules/imgproc/test/test_convhull.cpp int idx = 0, on_edge = 0; idx 756 modules/imgproc/test/test_convhull.cpp double pptresult = cvTsPointPolygonTest( p[i], box_pt, 4, &idx, &on_edge ); idx 259 modules/imgproc/test/test_histograms.cpp int idx[CV_MAX_DIM]; idx 270 modules/imgproc/test/test_histograms.cpp idx[j] = cvtest::randInt(rng) % dims[j]; idx 271 modules/imgproc/test/test_histograms.cpp cvSetRealND(arr, idx, cvtest::randReal(rng)*gen_hist_max_val); idx 375 modules/imgproc/test/test_histograms.cpp int* idx; idx 383 modules/imgproc/test/test_histograms.cpp idx = indices->data.i; idx 400 modules/imgproc/test/test_histograms.cpp idx[i*cdims + j] = t; idx 420 modules/imgproc/test/test_histograms.cpp lin_idx = lin_idx*dims[j] + idx[i*cdims + j]; idx 437 modules/imgproc/test/test_histograms.cpp const int* idx = indices->data.i; idx 451 modules/imgproc/test/test_histograms.cpp cvSetReal1D( h, idx[i], v0 ); idx 453 modules/imgproc/test/test_histograms.cpp *(float*)cvPtr1D( h, idx[i] ) = v0; idx 456 modules/imgproc/test/test_histograms.cpp cvSetRealND( h, idx+i, v0 ); idx 467 modules/imgproc/test/test_histograms.cpp cvSetReal2D( h, idx[i*2], idx[i*2+1], v0 ); idx 469 modules/imgproc/test/test_histograms.cpp *(float*)cvPtr2D( h, idx[i*2], idx[i*2+1] ) = v0; idx 472 modules/imgproc/test/test_histograms.cpp cvSetRealND( h, idx+i*2, v0 ); idx 483 modules/imgproc/test/test_histograms.cpp cvSetReal3D( h, idx[i*3], idx[i*3+1], idx[i*3+2], v0 ); idx 485 modules/imgproc/test/test_histograms.cpp *(float*)cvPtr3D( h, idx[i*3], idx[i*3+1], idx[i*3+2] ) = v0; idx 488 modules/imgproc/test/test_histograms.cpp cvSetRealND( h, idx+i*3, v0 ); idx 497 modules/imgproc/test/test_histograms.cpp cvSetRealND( h, idx+i*cdims, v0 ); idx 499 modules/imgproc/test/test_histograms.cpp *(float*)cvPtrND( h, idx+i*cdims ) = v0; idx 507 modules/imgproc/test/test_histograms.cpp val[i] = *(float*)cvPtr1D( h, idx[i] ); idx 509 modules/imgproc/test/test_histograms.cpp val[i] = (float)cvGetReal1D( h, idx[i] ); idx 515 modules/imgproc/test/test_histograms.cpp val[i] = *(float*)cvPtr2D( h, idx[i*2], idx[i*2+1] ); idx 517 modules/imgproc/test/test_histograms.cpp val[i] = (float)cvGetReal2D( h, idx[i*2], idx[i*2+1] ); idx 523 modules/imgproc/test/test_histograms.cpp val[i] = *(float*)cvPtr3D( h, idx[i*3], idx[i*3+1], idx[i*3+2] ); idx 525 modules/imgproc/test/test_histograms.cpp val[i] = (float)cvGetReal3D( h, idx[i*3], idx[i*3+1], idx[i*3+2] ); idx 531 modules/imgproc/test/test_histograms.cpp val[i] = *(float*)cvPtrND( h, idx+i*cdims ); idx 533 modules/imgproc/test/test_histograms.cpp val[i] = (float)cvGetRealND( h, idx+i*cdims ); idx 863 modules/imgproc/test/test_histograms.cpp const int* idx = CV_NODE_IDX(sparse,node); idx 869 modules/imgproc/test/test_histograms.cpp indices->data.i[i*cdims + k] = idx[k]; idx 1043 modules/imgproc/test/test_histograms.cpp const int* idx = CV_NODE_IDX(sparse0, node); idx 1045 modules/imgproc/test/test_histograms.cpp double v1 = (float)cvGetRealND(sparse1, idx); idx 1257 modules/imgproc/test/test_histograms.cpp int idx[CV_MAX_DIM]; idx 1268 modules/imgproc/test/test_histograms.cpp idx[cdims-1] = -1; idx 1275 modules/imgproc/test/test_histograms.cpp idx[k] = cvFloor((v - lo)*dims[k]/(hi - lo)); idx 1276 modules/imgproc/test/test_histograms.cpp if( idx[k] < 0 || idx[k] >= dims[k] ) idx 1293 modules/imgproc/test/test_histograms.cpp idx[k] = j-1; idx 1300 modules/imgproc/test/test_histograms.cpp (*(float*)cvPtrND( hist->bins, idx ))++; idx 1425 modules/imgproc/test/test_histograms.cpp int idx = cvtest::randInt(rng) % img_len; idx 1429 modules/imgproc/test/test_histograms.cpp ((uchar*)data)[idx] = (uchar)cvRound(val); idx 1431 modules/imgproc/test/test_histograms.cpp ((float*)data)[idx] = (float)val; idx 1480 modules/imgproc/test/test_histograms.cpp int idx[CV_MAX_DIM]; idx 1488 modules/imgproc/test/test_histograms.cpp idx[cdims-1] = -1; idx 1495 modules/imgproc/test/test_histograms.cpp idx[k] = cvFloor((v - lo)*dims[k]/(hi - lo)); idx 1496 modules/imgproc/test/test_histograms.cpp if( idx[k] < 0 || idx[k] >= dims[k] ) idx 1513 modules/imgproc/test/test_histograms.cpp idx[k] = j-1; idx 1518 modules/imgproc/test/test_histograms.cpp bin_val = (float)cvGetRealND( hist->bins, idx ); idx 1653 modules/imgproc/test/test_histograms.cpp int idx = cvtest::randInt(rng) % img_len; idx 1657 modules/imgproc/test/test_histograms.cpp ((uchar*)data)[idx] = (uchar)cvRound(val); idx 1659 modules/imgproc/test/test_histograms.cpp ((float*)data)[idx] = (float)val; idx 227 modules/ml/include/opencv2/ml.hpp CV_WRAP static Mat getSubVector(const Mat& vec, const Mat& idx); idx 767 modules/ml/src/ann_mlp.cpp int idx = iter % count; idx 768 modules/ml/src/ann_mlp.cpp double sweight = sw ? count*sw[idx] : 1.; idx 770 modules/ml/src/ann_mlp.cpp if( idx == 0 ) idx 787 modules/ml/src/ann_mlp.cpp idx = _idx[idx]; idx 789 modules/ml/src/ann_mlp.cpp const uchar* x0data_p = inputs.ptr(idx); idx 815 modules/ml/src/ann_mlp.cpp const uchar* udata_p = outputs.ptr(idx); idx 53 modules/ml/src/data.cpp Mat TrainData::getSubVector(const Mat& vec, const Mat& idx) idx 55 modules/ml/src/data.cpp if( idx.empty() ) idx 57 modules/ml/src/data.cpp int i, j, n = idx.checkVector(1, CV_32S); idx 82 modules/ml/src/data.cpp int k = idx.at<int>(i); idx 93 modules/ml/src/data.cpp int k = idx.at<int>(i); idx 104 modules/ml/src/data.cpp int k = idx.at<int>(i); idx 172 modules/ml/src/data.cpp Mat idx = getTestSampleIdx(); idx 173 modules/ml/src/data.cpp return idx.empty() ? Mat() : getSubVector(sampleWeights, idx); idx 185 modules/ml/src/data.cpp Mat idx = getTestSampleIdx(); idx 186 modules/ml/src/data.cpp return idx.empty() ? Mat() : getSubVector(responses, idx); idx 190 modules/ml/src/data.cpp Mat idx = getTestSampleIdx(); idx 191 modules/ml/src/data.cpp return idx.empty() ? Mat() : getSubVector(normCatResponses, idx); idx 409 modules/ml/src/data.cpp Mat idx(1, nz, CV_32S); idx 412 modules/ml/src/data.cpp idx.at<int>(j++) = i; idx 413 modules/ml/src/data.cpp return idx; idx 440 modules/ml/src/data.cpp int* idx = &sortbuf[0]; idx 446 modules/ml/src/data.cpp idata = idx + n; idx 462 modules/ml/src/data.cpp idx[i] = i; idx 464 modules/ml/src/data.cpp std::sort(idx, idx + n, CmpByIdx(idata, istep)); idx 468 modules/ml/src/data.cpp clscount += idata[idx[i]*istep] != idata[idx[i-1]*istep]; idx 471 modules/ml/src/data.cpp int prev = ~idata[idx[0]*istep]; idx 480 modules/ml/src/data.cpp int l = idata[idx[i]*istep]; idx 492 modules/ml/src/data.cpp odata[idx[i]*ostep] = clslabel; idx 537 modules/ml/src/data.cpp int idx = (int)strlen(buf)-1; idx 538 modules/ml/src/data.cpp while( idx >= 0 && isspace(buf[idx]) ) idx 539 modules/ml/src/data.cpp buf[idx--] = '\0'; idx 776 modules/ml/src/data.cpp int idx = sptr ? sptr[i] : i; idx 778 modules/ml/src/data.cpp trainptr[j0++] = idx; idx 780 modules/ml/src/data.cpp testptr[j1++] = idx; idx 908 modules/ml/src/data.cpp int idx = val - cmap[0]; idx 909 modules/ml/src/data.cpp CV_Assert(cmap[idx] == val); idx 910 modules/ml/src/data.cpp values[i] = idx; idx 370 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[j]*s_step); idx 373 modules/ml/src/gbt.cpp cvGetRow( data->train_data, &x, idx); idx 375 modules/ml/src/gbt.cpp cvGetCol( data->train_data, &x, idx); idx 380 modules/ml/src/gbt.cpp cvGetRow( missing, &x_miss, idx); idx 382 modules/ml/src/gbt.cpp cvGetCol( missing, &x_miss, idx); idx 390 modules/ml/src/gbt.cpp sum_response_tmp->data.fl[idx + k*n] = idx 391 modules/ml/src/gbt.cpp sum_response->data.fl[idx + k*n] + idx 443 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[i]*s_step); idx 444 modules/ml/src/gbt.cpp grad_data[idx] = resp_data[idx] - current_data[idx]; idx 454 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[i]*s_step); idx 455 modules/ml/src/gbt.cpp grad_data[idx] = Sign(resp_data[idx] - current_data[idx]); idx 469 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[i]*s_step); idx 470 modules/ml/src/gbt.cpp residuals[i] = fabs(resp_data[idx] - current_data[idx]); idx 478 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[i]*s_step); idx 479 modules/ml/src/gbt.cpp float r = resp_data[idx] - current_data[idx]; idx 480 modules/ml/src/gbt.cpp grad_data[idx] = (fabs(r) > delta) ? delta*Sign(r) : r; idx 494 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[i]*s_step); idx 499 modules/ml/src/gbt.cpp res = current_data[idx + j*sum_response->cols]; idx 504 modules/ml/src/gbt.cpp int orig_label = int(resp_data[idx]); idx 513 modules/ml/src/gbt.cpp grad_data[idx] = (float)(!(k-ensemble_label)) - idx 539 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[i]*s_step); idx 541 modules/ml/src/gbt.cpp cvGetRow( data->train_data, &x, idx); idx 543 modules/ml/src/gbt.cpp cvGetCol( data->train_data, &x, idx); idx 548 modules/ml/src/gbt.cpp cvGetRow( missing, &miss_x, idx); idx 550 modules/ml/src/gbt.cpp cvGetCol( missing, &miss_x, idx); idx 582 modules/ml/src/gbt.cpp int idx = *(sample_data + subsample_data[j]*s_step); idx 584 modules/ml/src/gbt.cpp *leaf_idx_data++ = idx; idx 595 modules/ml/src/gbt.cpp int idx = leaf_idx_data[j]; idx 596 modules/ml/src/gbt.cpp sum_response_tmp->data.fl[idx + _k*len] = idx 597 modules/ml/src/gbt.cpp sum_response->data.fl[idx + _k*len] + idx 675 modules/ml/src/gbt.cpp int* idx = _Idx->data.i; idx 686 modules/ml/src/gbt.cpp gamma += resp_data[idx[i]] - cur_data[idx[i]]; idx 693 modules/ml/src/gbt.cpp for (int i=0; i<n; ++i, ++idx) idx 694 modules/ml/src/gbt.cpp residuals[i] = (resp_data[*idx] - cur_data[*idx]); idx 705 modules/ml/src/gbt.cpp for (int i=0; i<n; ++i, ++idx) idx 706 modules/ml/src/gbt.cpp residuals[i] = (resp_data[*idx] - cur_data[*idx]); idx 733 modules/ml/src/gbt.cpp tmp = grad_data[idx[i]]; idx 779 modules/ml/src/gbt.cpp int* idx = subsample_train->data.i; idx 782 modules/ml/src/gbt.cpp idx[i] = i; idx 790 modules/ml/src/gbt.cpp CV_SWAP( idx[a], idx[b], t ); idx 1206 modules/ml/src/gbt.cpp const CvMat* idx; idx 1211 modules/ml/src/gbt.cpp idx(0), slice(CV_WHOLE_SEQ) idx 1218 modules/ml/src/gbt.cpp missing(_missing), idx(_idx), slice(_slice) idx 1224 modules/ml/src/gbt.cpp samples(p.samples), missing(p.missing), idx(p.idx), idx 1239 modules/ml/src/gbt.cpp int j = idx ? idx->data.i[i] : i; idx 219 modules/ml/src/kdtree.cpp int idx = _copyData ? ptpos++ : idx0; idx 220 modules/ml/src/kdtree.cpp nodes[nidx].idx = ~idx; idx 224 modules/ml/src/kdtree.cpp float* dst = dstdata + idx*dstep; idx 228 modules/ml/src/kdtree.cpp labels[idx] = _labels_data ? _labels_data[idx0] : idx0; idx 248 modules/ml/src/kdtree.cpp nodes[nidx].idx = dim; idx 270 modules/ml/src/kdtree.cpp int idx; idx 288 modules/ml/src/kdtree.cpp int* idx = (int*)(uchar*)_buf; idx 289 modules/ml/src/kdtree.cpp float* dist = (float*)(idx + K + 1); idx 309 modules/ml/src/kdtree.cpp nidx = pqueue[0].idx; idx 339 modules/ml/src/kdtree.cpp if( n.idx < 0 ) idx 341 modules/ml/src/kdtree.cpp i = ~n.idx; idx 354 modules/ml/src/kdtree.cpp idx[ncount] = i; idx 360 modules/ml/src/kdtree.cpp std::swap(idx[i], idx[i+1]); idx 368 modules/ml/src/kdtree.cpp if( vec[n.idx] <= n.boundary ) idx 379 modules/ml/src/kdtree.cpp d = vec[n.idx] - n.boundary; idx 406 modules/ml/src/kdtree.cpp Mat(nidx.size(), CV_32S, &idx[0]).copyTo(nidx); idx 412 modules/ml/src/kdtree.cpp getPoints(Mat(K, 1, CV_32S, idx), _neighbors, _labels); idx 434 modules/ml/src/kdtree.cpp std::vector<int> idx; idx 447 modules/ml/src/kdtree.cpp if( n.idx < 0 ) idx 449 modules/ml/src/kdtree.cpp int j, i = ~n.idx; idx 455 modules/ml/src/kdtree.cpp idx.push_back(i); idx 458 modules/ml/src/kdtree.cpp if( L[n.idx] <= n.boundary ) idx 460 modules/ml/src/kdtree.cpp if( R[n.idx] > n.boundary ) idx 466 modules/ml/src/kdtree.cpp _neighborsIdx.create((int)idx.size(), 1, CV_32S, -1, true); idx 468 modules/ml/src/kdtree.cpp Mat(nidx.size(), CV_32S, &idx[0]).copyTo(nidx); idx 470 modules/ml/src/kdtree.cpp getPoints( idx, _neighbors, _labels ); idx 479 modules/ml/src/kdtree.cpp const int* idx = idxmat.ptr<int>(); idx 508 modules/ml/src/kdtree.cpp int k = idx[i]; idx 43 modules/ml/src/kdtree.hpp Node() : idx(-1), left(-1), right(-1), boundary(0.f) {} idx 45 modules/ml/src/kdtree.hpp : idx(_idx), left(_left), right(_right), boundary(_boundary) {} idx 48 modules/ml/src/kdtree.hpp int idx; idx 80 modules/ml/src/kdtree.hpp CV_WRAP void getPoints(InputArray idx, OutputArray pts, idx 74 modules/ml/src/precomp.hpp #define CV_DTREE_CAT_DIR(idx,subset) \ idx 75 modules/ml/src/precomp.hpp (2*((subset[(idx)>>5]&(1 << ((idx) & 31)))==0)-1) idx 451 modules/ml/src/svm.cpp KernelRow() { idx = -1; prev = next = 0; } idx 452 modules/ml/src/svm.cpp KernelRow(int _idx, int _prev, int _next) : idx(_idx), prev(_prev), next(_next) {} idx 453 modules/ml/src/svm.cpp int idx; idx 534 modules/ml/src/svm.cpp *_existed = kr.idx >= 0; idx 535 modules/ml/src/svm.cpp if( kr.idx < 0 ) idx 539 modules/ml/src/svm.cpp kr.idx = cache_size; idx 547 modules/ml/src/svm.cpp kr.idx = last.idx; idx 548 modules/ml/src/svm.cpp last.idx = -1; idx 555 modules/ml/src/svm.cpp samples.ptr<float>(i1), lru_cache_data.ptr<Qfloat>(kr.idx) ); idx 574 modules/ml/src/svm.cpp return lru_cache_data.ptr<Qfloat>(kr.idx); idx 1475 modules/ml/src/svm.cpp int idx = k < ci ? si+k : sj+k-ci; idx 1476 modules/ml/src/svm.cpp memcpy(temp_samples.ptr(k), _samples.ptr(sidx_all[idx]), samplesize); idx 1477 modules/ml/src/svm.cpp sidx[k] = sidx_all[idx]; idx 1505 modules/ml/src/svm.cpp int idx = k < ci ? si+k : sj+k-ci; idx 1506 modules/ml/src/svm.cpp sv_tab[sidx_all[idx]] = 1; idx 1507 modules/ml/src/svm.cpp df_index.push_back(sidx_all[idx]); idx 685 modules/ml/src/tree.cpp int idx = responses[si]; idx 686 modules/ml/src/tree.cpp double lv = lcw[idx], rv = rcw[idx]; idx 689 modules/ml/src/tree.cpp lcw[idx] = lv + wval; rcw[idx] = rv - wval; idx 717 modules/ml/src/tree.cpp int i, j, idx; idx 784 modules/ml/src/tree.cpp for( idx = 0; idx < k; idx++ ) idx 786 modules/ml/src/tree.cpp const double* s = csums + idx*m; idx 787 modules/ml/src/tree.cpp double dist2 = 0., beta = c_weights[idx]; idx 796 modules/ml/src/tree.cpp min_idx = idx; idx 833 modules/ml/src/tree.cpp int i, j, k, si, idx; idx 899 modules/ml/src/tree.cpp idx = (int)(dbl_ptr[subset_i] - cjk)/2; idx 907 modules/ml/src/tree.cpp idx = diff >= (1 << 16) ? 16 : 0; idx 909 modules/ml/src/tree.cpp idx += (u.i >> 23) - 127; idx 914 modules/ml/src/tree.cpp double* crow = cjk + idx*m; idx 915 modules/ml/src/tree.cpp double weight = c_weights[idx]; idx 969 modules/ml/src/tree.cpp idx = (int)(dbl_ptr[i] - cjk) >> 1; idx 970 modules/ml/src/tree.cpp subset[idx >> 5] |= 1 << (idx & 31); idx 977 modules/ml/src/tree.cpp idx = cluster_labels ? cluster_labels[i] : i; idx 978 modules/ml/src/tree.cpp if( best_subset & (1 << idx) ) idx 1071 modules/ml/src/tree.cpp int idx = cat_labels[i]; idx 1074 modules/ml/src/tree.cpp sum[idx] += responses[si]*wval; idx 1075 modules/ml/src/tree.cpp counts[idx] += wval; idx 1096 modules/ml/src/tree.cpp int idx = (int)(sum_ptr[subset_i] - sum); idx 1097 modules/ml/src/tree.cpp double ni = counts[idx]; idx 1101 modules/ml/src/tree.cpp double s = sum[idx]; idx 1125 modules/ml/src/tree.cpp int idx = (int)(sum_ptr[i] - sum); idx 1126 modules/ml/src/tree.cpp subset[idx >> 5] |= 1 << (idx & 31); idx 121 modules/ml/test/test_emknearestkmeans.cpp int idx = -1; idx 129 modules/ml/test/test_emknearestkmeans.cpp idx = i; idx 132 modules/ml/test/test_emknearestkmeans.cpp assert( idx >= 0); idx 133 modules/ml/test/test_emknearestkmeans.cpp return idx; idx 171 modules/ml/test/test_save_load.cpp unsigned int idx = 0; idx 174 modules/ml/test/test_save_load.cpp if (idx >= suffixes.size()) idx 176 modules/ml/test/test_save_load.cpp int found = (int)suffixes.find(';', idx); idx 177 modules/ml/test/test_save_load.cpp string piece = suffixes.substr(idx, found - idx); idx 181 modules/ml/test/test_save_load.cpp idx += (unsigned int)piece.size() + 1; idx 506 modules/objdetect/src/cascadedetect.hpp int idx = 0, root = nodeOfs; idx 510 modules/objdetect/src/cascadedetect.hpp CascadeClassifierImpl::Data::DTreeNode& node = cascadeNodes[root + idx]; idx 512 modules/objdetect/src/cascadedetect.hpp idx = val < node.threshold ? node.left : node.right; idx 514 modules/objdetect/src/cascadedetect.hpp while( idx > 0 ); idx 515 modules/objdetect/src/cascadedetect.hpp sum += cascadeLeaves[leafOfs - idx]; idx 548 modules/objdetect/src/cascadedetect.hpp int idx = 0, root = nodeOfs; idx 551 modules/objdetect/src/cascadedetect.hpp CascadeClassifierImpl::Data::DTreeNode& node = cascadeNodes[root + idx]; idx 553 modules/objdetect/src/cascadedetect.hpp const int* subset = &cascadeSubsets[(root + idx)*subsetSize]; idx 554 modules/objdetect/src/cascadedetect.hpp idx = (subset[c>>5] & (1 << (c & 31))) ? node.left : node.right; idx 556 modules/objdetect/src/cascadedetect.hpp while( idx > 0 ); idx 557 modules/objdetect/src/cascadedetect.hpp sum += cascadeLeaves[leafOfs - idx]; idx 767 modules/objdetect/src/haar.cpp int idx = 0; idx 800 modules/objdetect/src/haar.cpp CvHidHaarTreeNode* node = classifier->node + idx; idx 809 modules/objdetect/src/haar.cpp idx = sum < t ? node->left : node->right; idx 811 modules/objdetect/src/haar.cpp while( idx > 0 ); idx 813 modules/objdetect/src/haar.cpp return classifier->alpha[-idx]; idx 246 modules/objdetect/src/hog.cpp __m128i idx = _mm_loadu_si128((const __m128i*)indeces); idx 253 modules/objdetect/src/hog.cpp _mm_storeu_ps(_data + i, _mm_sqrt_ps(_mm_cvtepi32_ps(idx))); idx 254 modules/objdetect/src/hog.cpp idx = _mm_add_epi32(idx, ifour); idx 259 modules/objdetect/src/hog.cpp _mm_storeu_ps(_data + i, _mm_cvtepi32_ps(idx)); idx 260 modules/objdetect/src/hog.cpp idx = _mm_add_epi32(idx, ifour); idx 506 modules/objdetect/src/hog.cpp Rect getWindow(const Size& imageSize, const Size& winStride, int idx) const; idx 592 modules/objdetect/src/hog.cpp __m128i idx = _mm_loadu_si128((__m128i*)a); idx 598 modules/objdetect/src/hog.cpp __m128 t = _mm_sub_ps(_mm_cvtepi32_ps(idx), _bh); idx 600 modules/objdetect/src/hog.cpp idx = _mm_add_epi32(idx, ifour); idx 612 modules/objdetect/src/hog.cpp idx = _mm_loadu_si128((__m128i*)a); idx 615 modules/objdetect/src/hog.cpp __m128 t = _mm_sub_ps(_mm_cvtepi32_ps(idx), _bw); idx 617 modules/objdetect/src/hog.cpp idx = _mm_add_epi32(idx, ifour); idx 1062 modules/objdetect/src/hog.cpp Rect HOGCache::getWindow(const Size& imageSize, const Size& winStride, int idx) const idx 1065 modules/objdetect/src/hog.cpp int y = idx / nwindowsX; idx 1066 modules/objdetect/src/hog.cpp int x = idx - nwindowsX*y; idx 1101 modules/objdetect/src/hog.cpp int idx = 0; idx 1102 modules/objdetect/src/hog.cpp idx = k.set(idx, height); idx 1103 modules/objdetect/src/hog.cpp idx = k.set(idx, width); idx 1104 modules/objdetect/src/hog.cpp idx = k.set(idx, (int)img.step1()); idx 1105 modules/objdetect/src/hog.cpp idx = k.set(idx, grad_quadstep); idx 1106 modules/objdetect/src/hog.cpp idx = k.set(idx, qangle_step); idx 1107 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(img)); idx 1108 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(grad)); idx 1109 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(qangle)); idx 1110 modules/objdetect/src/hog.cpp idx = k.set(idx, angle_scale); idx 1111 modules/objdetect/src/hog.cpp idx = k.set(idx, correctGamma); idx 1112 modules/objdetect/src/hog.cpp idx = k.set(idx, nbins); idx 1163 modules/objdetect/src/hog.cpp int idx = 0; idx 1164 modules/objdetect/src/hog.cpp idx = k.set(idx, block_stride_x); idx 1165 modules/objdetect/src/hog.cpp idx = k.set(idx, block_stride_y); idx 1166 modules/objdetect/src/hog.cpp idx = k.set(idx, nbins); idx 1167 modules/objdetect/src/hog.cpp idx = k.set(idx, (int)block_hist_size); idx 1168 modules/objdetect/src/hog.cpp idx = k.set(idx, img_block_width); idx 1169 modules/objdetect/src/hog.cpp idx = k.set(idx, blocks_in_group); idx 1170 modules/objdetect/src/hog.cpp idx = k.set(idx, blocks_total); idx 1171 modules/objdetect/src/hog.cpp idx = k.set(idx, grad_quadstep); idx 1172 modules/objdetect/src/hog.cpp idx = k.set(idx, qangle_step); idx 1173 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(grad)); idx 1174 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(qangle)); idx 1175 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(gauss_w_lut)); idx 1176 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(block_hists)); idx 1177 modules/objdetect/src/hog.cpp idx = k.set(idx, (void*)NULL, (size_t)smem); idx 1202 modules/objdetect/src/hog.cpp int idx = 0; idx 1246 modules/objdetect/src/hog.cpp idx = k.set(idx, nthreads); idx 1247 modules/objdetect/src/hog.cpp idx = k.set(idx, block_hist_size); idx 1248 modules/objdetect/src/hog.cpp idx = k.set(idx, img_block_width); idx 1250 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadWrite(block_hists)); idx 1251 modules/objdetect/src/hog.cpp idx = k.set(idx, threshold); idx 1252 modules/objdetect/src/hog.cpp idx = k.set(idx, (void*)NULL, nthreads * sizeof(float)); idx 1277 modules/objdetect/src/hog.cpp int idx = 0; idx 1278 modules/objdetect/src/hog.cpp idx = k.set(idx, block_hist_size); idx 1279 modules/objdetect/src/hog.cpp idx = k.set(idx, descriptors_quadstep); idx 1280 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size); idx 1281 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_width); idx 1282 modules/objdetect/src/hog.cpp idx = k.set(idx, img_block_width); idx 1283 modules/objdetect/src/hog.cpp idx = k.set(idx, win_block_stride_x); idx 1284 modules/objdetect/src/hog.cpp idx = k.set(idx, win_block_stride_y); idx 1285 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); idx 1286 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(descriptors)); idx 1311 modules/objdetect/src/hog.cpp int idx = 0; idx 1312 modules/objdetect/src/hog.cpp idx = k.set(idx, block_hist_size); idx 1313 modules/objdetect/src/hog.cpp idx = k.set(idx, descriptors_quadstep); idx 1314 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size); idx 1315 modules/objdetect/src/hog.cpp idx = k.set(idx, nblocks_win_x); idx 1316 modules/objdetect/src/hog.cpp idx = k.set(idx, nblocks_win_y); idx 1317 modules/objdetect/src/hog.cpp idx = k.set(idx, img_block_width); idx 1318 modules/objdetect/src/hog.cpp idx = k.set(idx, win_block_stride_x); idx 1319 modules/objdetect/src/hog.cpp idx = k.set(idx, win_block_stride_y); idx 1320 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); idx 1321 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(descriptors)); idx 1345 modules/objdetect/src/hog.cpp int idx = 0; idx 1348 modules/objdetect/src/hog.cpp gaussian_lut.at<float>(idx++) = std::exp(-(j * j + i * i) * scale); idx 1351 modules/objdetect/src/hog.cpp gaussian_lut.at<float>(idx++) = (8.f - fabs(j + 0.5f)) * (8.f - fabs(i + 0.5f)) / 64.f; idx 1649 modules/objdetect/src/hog.cpp int idx = 0; idx 1664 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.width); idx 1665 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.height); idx 1680 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.width); idx 1681 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.height); idx 1696 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.area()); idx 1697 modules/objdetect/src/hog.cpp idx = k.set(idx, descr_size.height); idx 1710 modules/objdetect/src/hog.cpp idx = k.set(idx, block_hist_size); idx 1711 modules/objdetect/src/hog.cpp idx = k.set(idx, img_win_width); idx 1712 modules/objdetect/src/hog.cpp idx = k.set(idx, img_block_width); idx 1713 modules/objdetect/src/hog.cpp idx = k.set(idx, win_block_stride_x); idx 1714 modules/objdetect/src/hog.cpp idx = k.set(idx, win_block_stride_y); idx 1715 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); idx 1716 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(detector)); idx 1717 modules/objdetect/src/hog.cpp idx = k.set(idx, free_coef); idx 1718 modules/objdetect/src/hog.cpp idx = k.set(idx, threshold); idx 1719 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(labels)); idx 1747 modules/objdetect/src/hog.cpp int idx = 0; idx 1750 modules/objdetect/src/hog.cpp gaussian_lut.at<float>(idx++) = std::exp(-(j * j + i * i) * scale); idx 1753 modules/objdetect/src/hog.cpp gaussian_lut.at<float>(idx++) = (8.f - fabs(j + 0.5f)) * (8.f - fabs(i + 0.5f)) / 64.f; idx 611 modules/objdetect/test/test_cascadeandhog.cpp Rect getWindow(Size imageSize, Size winStride, int idx) const; idx 987 modules/objdetect/test/test_cascadeandhog.cpp Rect HOGCacheTester::getWindow(Size imageSize, Size winStride, int idx) const idx 990 modules/objdetect/test/test_cascadeandhog.cpp int y = idx / nwindowsX; idx 991 modules/objdetect/test/test_cascadeandhog.cpp int x = idx - nwindowsX*y; idx 67 modules/photo/src/contrast_preserve.hpp void add_vector(vector < vector <int> > &comb, int &idx, int r,int g,int b); idx 211 modules/photo/src/contrast_preserve.hpp void Decolor::add_vector(vector < vector <int> > &comb, int &idx, int r,int g,int b) idx 214 modules/photo/src/contrast_preserve.hpp comb.at(idx).push_back( r ); idx 215 modules/photo/src/contrast_preserve.hpp comb.at(idx).push_back( g ); idx 216 modules/photo/src/contrast_preserve.hpp comb.at(idx).push_back( b ); idx 217 modules/photo/src/contrast_preserve.hpp idx++; idx 323 modules/photo/src/contrast_preserve.hpp int idx = 0, idx1 = 0; idx 330 modules/photo/src/contrast_preserve.hpp add_vector(comb,idx,r,g,b); idx 368 modules/shape/src/sc_dis.cpp int idx = angidx+radidx*nAngularBins; idx 369 modules/shape/src/sc_dis.cpp descriptors.at<float>(ptidx, idx)++; idx 173 modules/stitching/src/autocalib.cpp int idx = idx_map[l][s]; idx 174 modules/stitching/src/autocalib.cpp A(eq_idx, idx) += H(i,l) * H(j,s); idx 60 modules/stitching/src/matchers.cpp int idx; idx 632 modules/stitching/src/seam_finders.cpp int idx[2] = {-1,-1}; idx 647 modules/stitching/src/seam_finders.cpp idx[0] = i; idx 648 modules/stitching/src/seam_finders.cpp idx[1] = j; idx 659 modules/stitching/src/seam_finders.cpp double size = static_cast<double>(points[idx[i]].size()); idx 660 modules/stitching/src/seam_finders.cpp double cx = cvRound(sum[idx[i]].x / size); idx 661 modules/stitching/src/seam_finders.cpp double cy = cvRound(sum[idx[i]].y / size); idx 663 modules/stitching/src/seam_finders.cpp size_t closest = points[idx[i]].size(); idx 666 modules/stitching/src/seam_finders.cpp for (size_t j = 0; j < points[idx[i]].size(); ++j) idx 668 modules/stitching/src/seam_finders.cpp double dist = (points[idx[i]][j].x - cx) * (points[idx[i]][j].x - cx) + idx 669 modules/stitching/src/seam_finders.cpp (points[idx[i]][j].y - cy) * (points[idx[i]][j].y - cy); idx 677 modules/stitching/src/seam_finders.cpp p[i] = points[idx[i]][closest]; idx 815 modules/superres/src/btv_l1.cpp void processFrame(int idx); idx 816 modules/superres/src/btv_l1.cpp bool ocl_processFrame(int idx); idx 1032 modules/superres/src/btv_l1.cpp bool BTVL1::ocl_processFrame(int idx) idx 1034 modules/superres/src/btv_l1.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); idx 1035 modules/superres/src/btv_l1.cpp const int procIdx = idx; idx 1059 modules/superres/src/btv_l1.cpp process(usrcFrames_, at(idx, uoutputs_), usrcForwardMotions_, usrcBackwardMotions_, baseIdx); idx 1066 modules/superres/src/btv_l1.cpp void BTVL1::processFrame(int idx) idx 1069 modules/superres/src/btv_l1.cpp ocl_processFrame(idx)) idx 1071 modules/superres/src/btv_l1.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); idx 1072 modules/superres/src/btv_l1.cpp const int procIdx = idx; idx 1096 modules/superres/src/btv_l1.cpp process(srcFrames_, at(idx, outputs_), srcForwardMotions_, srcBackwardMotions_, baseIdx); idx 430 modules/superres/src/btv_l1_cuda.cpp void processFrame(int idx); idx 545 modules/superres/src/btv_l1_cuda.cpp void BTVL1_CUDA::processFrame(int idx) idx 547 modules/superres/src/btv_l1_cuda.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); idx 548 modules/superres/src/btv_l1_cuda.cpp const int procIdx = idx; idx 572 modules/superres/src/btv_l1_cuda.cpp process(srcFrames_, at(idx, outputs_), srcForwardMotions_, srcBackwardMotions_, baseIdx); idx 109 modules/ts/include/opencv2/ts.hpp CV_EXPORTS int check( const Mat& data, double min_val, double max_val, vector<int>* idx ); idx 136 modules/ts/include/opencv2/ts.hpp CV_EXPORTS bool cmpUlps(const Mat& data, const Mat& refdata, int expMaxDiff, double* realMaxDiff, vector<int>* idx); idx 143 modules/ts/include/opencv2/ts.hpp double success_err_level, vector<int>* idx, idx 1020 modules/ts/src/ts_func.cpp static void setpos( const Mat& mtx, vector<int>& pos, size_t idx ) idx 1023 modules/ts/src/ts_func.cpp if( idx > 0 ) idx 1025 modules/ts/src/ts_func.cpp idx--; idx 1029 modules/ts/src/ts_func.cpp pos[i] = (int)(idx % sz); idx 1030 modules/ts/src/ts_func.cpp idx /= sz; idx 1730 modules/ts/src/ts_func.cpp size_t startidx, size_t& idx) idx 1740 modules/ts/src/ts_func.cpp if( diff > imaxdiff && idx == 0 ) idx 1741 modules/ts/src/ts_func.cpp idx = i + startidx; idx 1750 modules/ts/src/ts_func.cpp size_t startidx, size_t& idx) idx 1760 modules/ts/src/ts_func.cpp if( diff > imaxdiff && idx == 0 ) idx 1761 modules/ts/src/ts_func.cpp idx = i + startidx; idx 1769 modules/ts/src/ts_func.cpp cmpUlpsFlt_(const int* src1, const int* src2, size_t total, int imaxdiff, size_t startidx, size_t& idx) idx 1782 modules/ts/src/ts_func.cpp if( diff > imaxdiff && idx == 0 ) idx 1783 modules/ts/src/ts_func.cpp idx = i + startidx; idx 1791 modules/ts/src/ts_func.cpp cmpUlpsFlt_(const int64* src1, const int64* src2, size_t total, int imaxdiff, size_t startidx, size_t& idx) idx 1804 modules/ts/src/ts_func.cpp if( diff > imaxdiff && idx == 0 ) idx 1805 modules/ts/src/ts_func.cpp idx = i + startidx; idx 1820 modules/ts/src/ts_func.cpp size_t startidx = 1, idx = 0; idx 1833 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const uchar*)sptr1, (const uchar*)sptr2, total, imaxDiff, startidx, idx); idx 1836 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const schar*)sptr1, (const schar*)sptr2, total, imaxDiff, startidx, idx); idx 1839 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const ushort*)sptr1, (const ushort*)sptr2, total, imaxDiff, startidx, idx); idx 1842 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const short*)sptr1, (const short*)sptr2, total, imaxDiff, startidx, idx); idx 1845 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const int*)sptr1, (const int*)sptr2, total, imaxDiff, startidx, idx); idx 1848 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsFlt_((const int*)sptr1, (const int*)sptr2, total, imaxDiff, startidx, idx); idx 1851 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsFlt_((const int64*)sptr1, (const int64*)sptr2, total, imaxDiff, startidx, idx); idx 1860 modules/ts/src/ts_func.cpp if(idx > 0 && loc) idx 1861 modules/ts/src/ts_func.cpp setpos(src1, *loc, idx); idx 1862 modules/ts/src/ts_func.cpp return idx == 0; idx 1867 modules/ts/src/ts_func.cpp checkInt_(const _Tp* a, size_t total, int imin, int imax, size_t startidx, size_t& idx) idx 1874 modules/ts/src/ts_func.cpp idx = i + startidx; idx 1882 modules/ts/src/ts_func.cpp checkFlt_(const _Tp* a, size_t total, double fmin, double fmax, size_t startidx, size_t& idx) idx 1889 modules/ts/src/ts_func.cpp idx = i + startidx; idx 1906 modules/ts/src/ts_func.cpp size_t startidx = 1, idx = 0; idx 1922 modules/ts/src/ts_func.cpp checkInt_((const uchar*)aptr, total, imin, imax, startidx, idx); idx 1925 modules/ts/src/ts_func.cpp checkInt_((const schar*)aptr, total, imin, imax, startidx, idx); idx 1928 modules/ts/src/ts_func.cpp checkInt_((const ushort*)aptr, total, imin, imax, startidx, idx); idx 1931 modules/ts/src/ts_func.cpp checkInt_((const short*)aptr, total, imin, imax, startidx, idx); idx 1934 modules/ts/src/ts_func.cpp checkInt_((const int*)aptr, total, imin, imax, startidx, idx); idx 1937 modules/ts/src/ts_func.cpp checkFlt_((const float*)aptr, total, fmin, fmax, startidx, idx); idx 1940 modules/ts/src/ts_func.cpp checkFlt_((const double*)aptr, total, fmin, fmax, startidx, idx); idx 1946 modules/ts/src/ts_func.cpp if( idx != 0 ) idx 1950 modules/ts/src/ts_func.cpp if(idx != 0 && _idx) idx 1951 modules/ts/src/ts_func.cpp setpos(a, *_idx, idx); idx 1952 modules/ts/src/ts_func.cpp return idx == 0 ? 0 : -1; idx 1979 modules/ts/src/ts_func.cpp size_t startidx = 1, idx = 0; idx 1999 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const uchar*)sptr1, (const uchar*)sptr2, total, ilevel, startidx, idx); idx 2002 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const schar*)sptr1, (const schar*)sptr2, total, ilevel, startidx, idx); idx 2005 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const ushort*)sptr1, (const ushort*)sptr2, total, ilevel, startidx, idx); idx 2008 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const short*)sptr1, (const short*)sptr2, total, ilevel, startidx, idx); idx 2011 modules/ts/src/ts_func.cpp realmaxdiff = cmpUlpsInt_((const int*)sptr1, (const int*)sptr2, total, ilevel, startidx, idx); idx 2024 modules/ts/src/ts_func.cpp idx = startidx + j; idx 2030 modules/ts/src/ts_func.cpp idx = startidx + j; idx 2038 modules/ts/src/ts_func.cpp if( idx == 0 ) idx 2039 modules/ts/src/ts_func.cpp idx = startidx + j; idx 2055 modules/ts/src/ts_func.cpp idx = startidx + j; idx 2061 modules/ts/src/ts_func.cpp idx = startidx + j; idx 2069 modules/ts/src/ts_func.cpp idx = startidx + j; idx 2080 modules/ts/src/ts_func.cpp if( idx != 0 ) idx 2084 modules/ts/src/ts_func.cpp if( result == 0 && idx != 0 ) idx 2089 modules/ts/src/ts_func.cpp if(idx > 0 && _idx) idx 2090 modules/ts/src/ts_func.cpp setpos(arr, *_idx, idx); idx 2101 modules/ts/src/ts_func.cpp vector<int> idx; idx 2102 modules/ts/src/ts_func.cpp int code = cmpEps( a, b, &diff, success_err_level, &idx, element_wise_relative_error ); idx 2130 modules/ts/src/ts_func.cpp ts->printf( TS::LOG, "%s at element %d\n", msg, idx[0] + idx[1] ); idx 2134 modules/ts/src/ts_func.cpp string idxstr = vec2str(", ", &idx[0], idx.size()); idx 275 modules/ts/src/ts_perf.cpp size_t idx = nodename.find_first_of('/'); idx 276 modules/ts/src/ts_perf.cpp if (idx != std::string::npos) idx 277 modules/ts/src/ts_perf.cpp nodename.erase(idx); idx 405 modules/ts/src/ts_perf.cpp int idx = regRNG.uniform(0, total); idx 407 modules/ts/src/ts_perf.cpp write() << "idx" << idx; idx 409 modules/ts/src/ts_perf.cpp cv::Mat m = array.getMat(idx); idx 461 modules/ts/src/ts_perf.cpp int idx = node["idx"]; idx 463 modules/ts/src/ts_perf.cpp cv::Mat actual = array.getMat(idx); idx 468 modules/ts/src/ts_perf.cpp << " \"" << node.name() << "[" << idx << "]\" has unexpected number of elements"; idx 469 modules/ts/src/ts_perf.cpp verify(node, actual, eps, cv::format("%s[%d]", node.name().c_str(), idx), err); idx 479 modules/ts/src/ts_perf.cpp << " expected empty " << node.name() << "[" << idx<< "]"; idx 484 modules/ts/src/ts_perf.cpp << " " << node.name() << "[" << idx<< "] has unexpected size"; idx 500 modules/ts/src/ts_perf.cpp << node.name() << "[" << idx << "]\" and expected value is greater than " << eps; idx 513 modules/ts/src/ts_perf.cpp << node.name() << "[" << idx << "]\" and expected value is greater than " << eps << " in " << violations << " points"; idx 1467 modules/video/src/lkpyramid.cpp int idx[RANSAC_SIZE0]; idx 1476 modules/video/src/lkpyramid.cpp idx[i] = rng.uniform(0, count); idx 1480 modules/video/src/lkpyramid.cpp if( idx[j] == idx[i] ) idx 1483 modules/video/src/lkpyramid.cpp if( fabs(pA[idx[i]].x - pA[idx[j]].x) + idx 1484 modules/video/src/lkpyramid.cpp fabs(pA[idx[i]].y - pA[idx[j]].y) < FLT_EPSILON ) idx 1486 modules/video/src/lkpyramid.cpp if( fabs(pB[idx[i]].x - pB[idx[j]].x) + idx 1487 modules/video/src/lkpyramid.cpp fabs(pB[idx[i]].y - pB[idx[j]].y) < FLT_EPSILON ) idx 1497 modules/video/src/lkpyramid.cpp a[0] = pA[idx[0]]; idx 1498 modules/video/src/lkpyramid.cpp a[1] = pA[idx[1]]; idx 1499 modules/video/src/lkpyramid.cpp a[2] = pA[idx[2]]; idx 1501 modules/video/src/lkpyramid.cpp b[0] = pB[idx[0]]; idx 1502 modules/video/src/lkpyramid.cpp b[1] = pB[idx[1]]; idx 1503 modules/video/src/lkpyramid.cpp b[2] = pB[idx[2]]; idx 100 modules/videoio/src/cap.cpp CV_IMPL IplImage* cvRetrieveFrame( CvCapture* capture, int idx ) idx 102 modules/videoio/src/cap.cpp return capture ? capture->retrieveFrame(idx) : 0; idx 651 modules/videoio/src/cap_dc1394_v2.cpp IplImage* CvCaptureCAM_DC1394_v2_CPP::retrieveFrame(int idx) idx 653 modules/videoio/src/cap_dc1394_v2.cpp return 0 <= idx && idx < nimages ? img[idx] : 0; idx 1179 modules/videoio/src/cap_mjpeg_encoder.cpp int idx = zigzag[j]; idx 1180 modules/videoio/src/cap_mjpeg_encoder.cpp int qval = cvRound(qtable[idx]*inv_quality); idx 1185 modules/videoio/src/cap_mjpeg_encoder.cpp fdct_qtab[i][idx] = (short)(cvRound((1 << (postshift + 11)))/ idx 1186 modules/videoio/src/cap_mjpeg_encoder.cpp (qval*chroma_scale*idct_prescale[idx])); idx 1197 modules/videoio/src/cap_mjpeg_encoder.cpp int idx = i >= 2; idx 1202 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putByte( is_ac_tab*16 + idx ); // put DC/AC flag and table index idx 1206 modules/videoio/src/cap_mjpeg_encoder.cpp htable, hbuffer, 16, 9 ), is_ac_tab ? huff_ac_tab[idx] : idx 1207 modules/videoio/src/cap_mjpeg_encoder.cpp huff_dc_tab[idx], is_ac_tab ? 256 : 16 ); idx 60 modules/videoio/test/test_positioning.cpp vector <int> idx; idx 90 modules/videoio/test/test_positioning.cpp idx.clear(); idx 99 modules/videoio/test/test_positioning.cpp idx.push_back(pos); idx 108 modules/videoio/test/test_positioning.cpp idx.clear(); idx 110 modules/videoio/test/test_positioning.cpp idx.push_back(rng.uniform(0, N)); idx 111 modules/videoio/test/test_positioning.cpp idx.push_back(N-1); idx 112 modules/videoio/test/test_positioning.cpp std::swap(idx.at(rng.uniform(0, N-1)), idx.at(N-1)); idx 154 modules/videoio/test/test_positioning.cpp int N = (int)idx.size(), failed_frames = 0, failed_positions = 0, failed_iterations = 0; idx 160 modules/videoio/test/test_positioning.cpp cvSetCaptureProperty(cap, CAP_PROP_POS_FRAMES, idx.at(j)); idx 178 modules/videoio/test/test_positioning.cpp if (idx.at(j) != val) idx 189 modules/videoio/test/test_positioning.cpp ts->printf(cvtest::TS::LOG, "Required pos: %d\nReturned pos: %d\n", idx.at(j), val); idx 131 modules/videoio/test/test_video_pos.cpp int idx = theRNG().uniform(0, n_frames); idx 133 modules/videoio/test/test_video_pos.cpp if( !cap.set(CAP_PROP_POS_FRAMES, idx) ) idx 135 modules/videoio/test/test_video_pos.cpp ts->printf(ts->LOG, "\nError: cannot seek to frame %d.\n", idx); idx 143 modules/videoio/test/test_video_pos.cpp Mat img0 = drawFrame(idx); idx 145 modules/videoio/test/test_video_pos.cpp if( idx != idx1 ) idx 148 modules/videoio/test/test_video_pos.cpp idx1, idx); idx 156 modules/videoio/test/test_video_pos.cpp ts->printf(ts->LOG, "\nError: cannot read a frame at position %d.\n", idx); idx 165 modules/videoio/test/test_video_pos.cpp ts->printf(ts->LOG, "The frame read after positioning to %d is incorrect (PSNR=%g)\n", idx, err); idx 69 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual void deblur(int idx, Mat &frame) = 0; idx 104 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual void deblur(int idx, Mat &frame); idx 99 modules/videostab/include/opencv2/videostab/fast_marching.hpp void heapUp(int idx); idx 100 modules/videostab/include/opencv2/videostab/fast_marching.hpp void heapDown(int idx); idx 76 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void inpaint(int idx, Mat &frame, Mat &mask) = 0; idx 121 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void inpaint(int idx, Mat &frame, Mat &mask); idx 135 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void inpaint(int idx, Mat &frame, Mat &mask); idx 158 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void inpaint(int idx, Mat &frame, Mat &mask); idx 177 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void inpaint(int idx, Mat &frame, Mat &mask); idx 188 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void inpaint(int idx, Mat &frame, Mat &mask); idx 90 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int idx, const std::vector<Mat> &motions, std::pair<int,int> range) = 0; idx 107 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int idx, const std::vector<Mat> &motions, std::pair<int,int> range); idx 57 modules/videostab/include/opencv2/videostab/ring_buffer.hpp template <typename T> inline T& at(int idx, std::vector<T> &items) idx 59 modules/videostab/include/opencv2/videostab/ring_buffer.hpp return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; idx 62 modules/videostab/include/opencv2/videostab/ring_buffer.hpp template <typename T> inline const T& at(int idx, const std::vector<T> &items) idx 64 modules/videostab/include/opencv2/videostab/ring_buffer.hpp return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; idx 70 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void suppress(int idx, const Mat &frame, Mat &result) = 0; idx 98 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void suppress(int idx, const Mat &frame, Mat &result); idx 116 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void suppress(int idx, const Mat &frame, Mat &result); idx 126 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp void suppress(int idx, const cuda::GpuMat &frame, cuda::GpuMat &result); idx 127 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void suppress(int idx, const Mat &frame, Mat &result); idx 71 modules/videostab/src/deblurring.cpp void WeightingDeblurer::deblur(int idx, Mat &frame) idx 92 modules/videostab/src/deblurring.cpp for (int k = idx - radius_; k <= idx + radius_; ++k) idx 95 modules/videostab/src/deblurring.cpp float bRatio = at(idx, *blurrinessRates_) / at(k, *blurrinessRates_); idx 96 modules/videostab/src/deblurring.cpp Mat_<float> M = getMotion(idx, k, *motions_); idx 82 modules/videostab/src/fast_marching.cpp void FastMarchingMethod::heapUp(int idx) idx 84 modules/videostab/src/fast_marching.cpp int p = (idx-1)/2; idx 85 modules/videostab/src/fast_marching.cpp while (idx > 0 && narrowBand_[idx] < narrowBand_[p]) idx 87 modules/videostab/src/fast_marching.cpp std::swap(indexOf(narrowBand_[p]), indexOf(narrowBand_[idx])); idx 88 modules/videostab/src/fast_marching.cpp std::swap(narrowBand_[p], narrowBand_[idx]); idx 89 modules/videostab/src/fast_marching.cpp idx = p; idx 90 modules/videostab/src/fast_marching.cpp p = (idx-1)/2; idx 95 modules/videostab/src/fast_marching.cpp void FastMarchingMethod::heapDown(int idx) idx 100 modules/videostab/src/fast_marching.cpp l = 2*idx+1; idx 101 modules/videostab/src/fast_marching.cpp r = 2*idx+2; idx 102 modules/videostab/src/fast_marching.cpp smallest = idx; idx 107 modules/videostab/src/fast_marching.cpp if (smallest == idx) idx 111 modules/videostab/src/fast_marching.cpp std::swap(indexOf(narrowBand_[idx]), indexOf(narrowBand_[smallest])); idx 112 modules/videostab/src/fast_marching.cpp std::swap(narrowBand_[idx], narrowBand_[smallest]); idx 113 modules/videostab/src/fast_marching.cpp idx = smallest; idx 104 modules/videostab/src/inpainting.cpp void InpaintingPipeline::inpaint(int idx, Mat &frame, Mat &mask) idx 107 modules/videostab/src/inpainting.cpp inpainters_[i]->inpaint(idx, frame, mask); idx 125 modules/videostab/src/inpainting.cpp void ConsistentMosaicInpainter::inpaint(int idx, Mat &frame, Mat &mask) idx 130 modules/videostab/src/inpainting.cpp Mat invS = at(idx, *stabilizationMotions_).inv(); idx 133 modules/videostab/src/inpainting.cpp vmotions[radius_ + i] = getMotion(idx, idx + i, *motions_) * invS; idx 154 modules/videostab/src/inpainting.cpp const Mat_<Point3_<uchar> > &framei = at(idx + i, *frames_); idx 337 modules/videostab/src/inpainting.cpp void MotionInpainter::inpaint(int idx, Mat &frame, Mat &mask) idx 344 modules/videostab/src/inpainting.cpp Mat motion0to1 = getMotion(idx, idx + i, *motions_) * at(idx, *stabilizationMotions_).inv(); idx 349 modules/videostab/src/inpainting.cpp float err = alignementError(motion0to1, frame, mask, at(idx + i, *frames_)); idx 350 modules/videostab/src/inpainting.cpp neighbors.push(std::make_pair(-err, idx + i)); idx 371 modules/videostab/src/inpainting.cpp Mat motion1to0 = vmotions[radius_ + neighbor - idx].inv(); idx 105 modules/videostab/src/motion_stabilizing.cpp Mat GaussianMotionFilter::stabilize(int idx, const std::vector<Mat> &motions, std::pair<int,int> range) idx 107 modules/videostab/src/motion_stabilizing.cpp const Mat &cur = at(idx, motions); idx 110 modules/videostab/src/motion_stabilizing.cpp int iMin = std::max(idx - radius_, range.first); idx 111 modules/videostab/src/motion_stabilizing.cpp int iMax = std::min(idx + radius_, range.second); idx 114 modules/videostab/src/motion_stabilizing.cpp res += weight_[radius_ + i - idx] * getMotion(idx, i, motions); idx 115 modules/videostab/src/motion_stabilizing.cpp sum += weight_[radius_ + i - idx]; idx 108 modules/videostab/src/outlier_rejection.cpp int idx; idx 124 modules/videostab/src/outlier_rejection.cpp idx = cell[static_cast<unsigned>(rng) % cell.size()]; idx 125 modules/videostab/src/outlier_rejection.cpp dx = points1_[idx].x - points0_[idx].x; idx 126 modules/videostab/src/outlier_rejection.cpp dy = points1_[idx].y - points0_[idx].y; idx 61 modules/videostab/src/wobble_suppression.cpp int left, int idx, int right, int width, int height, idx 66 modules/videostab/src/wobble_suppression.cpp int left, int idx, int right, Size size, const Mat &ml, const Mat &mr, idx 76 modules/videostab/src/wobble_suppression.cpp left, idx, right, size.width, size.height, idx 100 modules/videostab/src/wobble_suppression.cpp void MoreAccurateMotionWobbleSuppressor::suppress(int idx, const Mat &frame, Mat &result) idx 104 modules/videostab/src/wobble_suppression.cpp if (idx % period_ == 0) idx 110 modules/videostab/src/wobble_suppression.cpp int k1 = idx / period_ * period_; idx 113 modules/videostab/src/wobble_suppression.cpp Mat S1 = (*stabilizationMotions_)[idx]; idx 115 modules/videostab/src/wobble_suppression.cpp Mat_<float> ML = S1 * getMotion(k1, idx, *motions2_) * getMotion(k1, idx, *motions_).inv() * S1.inv(); idx 116 modules/videostab/src/wobble_suppression.cpp Mat_<float> MR = S1 * getMotion(idx, k2, *motions2_).inv() * getMotion(idx, k2, *motions_) * S1.inv(); idx 132 modules/videostab/src/wobble_suppression.cpp wl = float(idx - k1); idx 138 modules/videostab/src/wobble_suppression.cpp wr = float(k2 - idx); idx 152 modules/videostab/src/wobble_suppression.cpp void MoreAccurateMotionWobbleSuppressorGpu::suppress(int idx, const cuda::GpuMat &frame, cuda::GpuMat &result) idx 156 modules/videostab/src/wobble_suppression.cpp if (idx % period_ == 0) idx 162 modules/videostab/src/wobble_suppression.cpp int k1 = idx / period_ * period_; idx 165 modules/videostab/src/wobble_suppression.cpp Mat S1 = (*stabilizationMotions_)[idx]; idx 167 modules/videostab/src/wobble_suppression.cpp Mat ML = S1 * getMotion(k1, idx, *motions2_) * getMotion(k1, idx, *motions_).inv() * S1.inv(); idx 168 modules/videostab/src/wobble_suppression.cpp Mat MR = S1 * getMotion(idx, k2, *motions2_).inv() * getMotion(idx, k2, *motions_) * S1.inv(); idx 170 modules/videostab/src/wobble_suppression.cpp cuda::calcWobbleSuppressionMaps(k1, idx, k2, frame.size(), ML, MR, mapx_, mapy_); idx 179 modules/videostab/src/wobble_suppression.cpp void MoreAccurateMotionWobbleSuppressorGpu::suppress(int idx, const Mat &frame, Mat &result) idx 182 modules/videostab/src/wobble_suppression.cpp suppress(idx, frameDevice_, resultDevice_); idx 403 modules/viz/src/clouds.cpp int idx = 0; idx 405 modules/viz/src/clouds.cpp for (size_t i = 0; i < polygons_size; ++idx) idx 410 modules/viz/src/clouds.cpp for (int j = 0; j < n_points; ++j, ++idx) idx 413 modules/viz/src/clouds.cpp cell_array->GetData()->SetNumberOfValues(idx); idx 96 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int idx = mIndexes[i]; idx 97 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java if (idx == GRID_EMPTY_INDEX) idx 100 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java cells[idx].copyTo(mCells15[i]); idx 102 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java Imgproc.putText(mCells15[i], Integer.toString(1 + idx), new Point((cols / GRID_SIZE - mTextWidths[idx]) / 2, idx 103 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java (rows / GRID_SIZE + mTextHeights[idx]) / 2), 3/* CV_FONT_HERSHEY_COMPLEX */, 1, new Scalar(255, 0, 0, 255), 2); idx 132 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int idx = row * GRID_SIZE + col; idx 137 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java if (mIndexes[idx - 1] == GRID_EMPTY_INDEX) idx 138 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java idxtoswap = idx - 1; idx 141 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java if (mIndexes[idx + 1] == GRID_EMPTY_INDEX) idx 142 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java idxtoswap = idx + 1; idx 145 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java if (mIndexes[idx - GRID_SIZE] == GRID_EMPTY_INDEX) idx 146 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java idxtoswap = idx - GRID_SIZE; idx 149 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java if (mIndexes[idx + GRID_SIZE] == GRID_EMPTY_INDEX) idx 150 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java idxtoswap = idx + GRID_SIZE; idx 155 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java int touched = mIndexes[idx]; idx 156 samples/android/15-puzzle/src/org/opencv/samples/puzzle15/Puzzle15Processor.java mIndexes[idx] = mIndexes[idxtoswap]; idx 128 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java int idx = 0; idx 132 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java mEffectMenuItems[idx] = mColorEffectsMenu.add(1, idx, Menu.NONE, element); idx 133 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java idx++; idx 141 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java idx = 0; idx 144 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java mResolutionMenuItems[idx] = mResolutionMenu.add(2, idx, Menu.NONE, idx 146 samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/Tutorial3Activity.java idx++; idx 75 samples/cpp/distrans.cpp int idx = ll[j] == 0 || dd[j] == 0 ? 0 : (ll[j]-1)%8 + 1; idx 77 samples/cpp/distrans.cpp int b = cvRound(colors[idx][0]*scale); idx 78 samples/cpp/distrans.cpp int g = cvRound(colors[idx][1]*scale); idx 79 samples/cpp/distrans.cpp int r = cvRound(colors[idx][2]*scale); idx 43 samples/cpp/segment_objects.cpp int idx = 0, largestComp = 0; idx 46 samples/cpp/segment_objects.cpp for( ; idx >= 0; idx = hierarchy[idx][0] ) idx 48 samples/cpp/segment_objects.cpp const vector<Point>& c = contours[idx]; idx 53 samples/cpp/segment_objects.cpp largestComp = idx; idx 87 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp int idx=0; idx 94 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp idx=x; idx 103 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp return lerp( color_range[idx].first, color_range[idx+1].first, t); idx 86 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string idx = IntToString(i+1); idx 90 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = "P" + idx + " (" + x + "," + y + "," + z +")"; idx 95 samples/cpp/watershed.cpp int idx = 0; idx 96 samples/cpp/watershed.cpp for( ; idx >= 0; idx = hierarchy[idx][0], compCount++ ) idx 97 samples/cpp/watershed.cpp drawContours(markers, contours, idx, Scalar::all(compCount+1), -1, 8, hierarchy, INT_MAX);