Lines Matching refs:kpts_

407     vector<KeyPoint> kpts_(kpts);  in Do_Subpixel_Refinement()  local
409 for (size_t i = 0; i < kpts_.size(); i++) { in Do_Subpixel_Refinement()
411 x = static_cast<int>(kpts_[i].pt.x); in Do_Subpixel_Refinement()
412 y = static_cast<int>(kpts_[i].pt.y); in Do_Subpixel_Refinement()
415 Dx = (1.0f / (2.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x + step) in Do_Subpixel_Refinement()
416 - *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x - step)); in Do_Subpixel_Refinement()
417 Dy = (1.0f / (2.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x) in Do_Subpixel_Refinement()
418 - *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x)); in Do_Subpixel_Refinement()
419 Ds = 0.5f*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x) in Do_Subpixel_Refinement()
420 - *(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x)); in Do_Subpixel_Refinement()
423 Dxx = (1.0f / (step*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x + step) in Do_Subpixel_Refinement()
424 + *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x - step) in Do_Subpixel_Refinement()
425 - 2.0f*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x))); in Do_Subpixel_Refinement()
427 Dyy = (1.0f / (step*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x) in Do_Subpixel_Refinement()
428 + *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x) in Do_Subpixel_Refinement()
429 - 2.0f*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x))); in Do_Subpixel_Refinement()
431 Dss = *(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x) in Do_Subpixel_Refinement()
432 + *(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x) in Do_Subpixel_Refinement()
433 - 2.0f*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x)); in Do_Subpixel_Refinement()
435 … Dxy = (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x + step) in Do_Subpixel_Refinement()
436 + (*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x - step))) in Do_Subpixel_Refinement()
437 … - (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x + step) in Do_Subpixel_Refinement()
438 + (*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x - step))); in Do_Subpixel_Refinement()
440 Dxs = (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x + step) in Do_Subpixel_Refinement()
441 + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x - step))) in Do_Subpixel_Refinement()
442 - (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x - step) in Do_Subpixel_Refinement()
443 + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x + step))); in Do_Subpixel_Refinement()
445 … Dys = (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y + step) + x) in Do_Subpixel_Refinement()
446 + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y - step) + x))) in Do_Subpixel_Refinement()
447 … - (1.0f / (4.0f*step))*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y - step) + x) in Do_Subpixel_Refinement()
448 + (*(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y + step) + x))); in Do_Subpixel_Refinement()
466 kpts_[i].pt.x += *(dst.ptr<float>(0)); in Do_Subpixel_Refinement()
467 kpts_[i].pt.y += *(dst.ptr<float>(1)); in Do_Subpixel_Refinement()
468 … dsc = kpts_[i].octave + (kpts_[i].angle + *(dst.ptr<float>(2))) / ((float)(options_.nsublevels)); in Do_Subpixel_Refinement()
471 kpts_[i].size = 2.0f*options_.soffset*pow((float)2.0f, dsc); in Do_Subpixel_Refinement()
472 kpts_[i].angle = 0.0; in Do_Subpixel_Refinement()
476 kpts_[i].response = -1; in Do_Subpixel_Refinement()
483 for (size_t i = 0; i < kpts_.size(); i++) { in Do_Subpixel_Refinement()
484 if (kpts_[i].response != -1) { in Do_Subpixel_Refinement()
485 kpts.push_back(kpts_[i]); in Do_Subpixel_Refinement()
495 : kpts_(&kpts) in KAZE_Descriptor_Invoker()
508 std::vector<KeyPoint> &kpts = *kpts_; in operator ()()
540 std::vector<KeyPoint> * kpts_; member in cv::KAZE_Descriptor_Invoker