Home | History | Annotate | Download | only in src

Lines Matching refs:threshold

56 void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression)
69 threshold = std::min(std::max(threshold, 0), 255);
72 __m128i delta = _mm_set1_epi8(-128), t = _mm_set1_epi8((char)threshold), K16 = _mm_set1_epi8((char)K);
79 threshold_tab[i+255] = (uchar)(i < -threshold ? 1 : i > threshold ? 2 : 0);
156 curr[j+k] = (uchar)cornerScore<patternSize>(ptr+k, pixel, threshold);
184 int vt = v - threshold, count = 0;
195 curr[j] = (uchar)cornerScore<patternSize>(ptr, pixel, threshold);
206 int vt = v + threshold, count = 0;
217 curr[j] = (uchar)cornerScore<patternSize>(ptr, pixel, threshold);
260 int threshold, bool nonmax_suppression, int maxKeypoints )
278 maxKeypoints, threshold).run(2, globalsize, 0, true))
331 void FAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression, int type)
334 ocl_FAST(_img, keypoints, threshold, nonmax_suppression, 10000))
342 FAST_t<8>(_img, keypoints, threshold, nonmax_suppression);
345 FAST_t<12>(_img, keypoints, threshold, nonmax_suppression);
349 if(tegra::useTegra() && tegra::FAST(_img, keypoints, threshold, nonmax_suppression))
352 FAST_t<16>(_img, keypoints, threshold, nonmax_suppression);
358 void FAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression)
360 FAST(_img, keypoints, threshold, nonmax_suppression, FastFeatureDetector::TYPE_9_16);
368 : threshold(_threshold), nonmaxSuppression(_nonmaxSuppression), type((short)_type)
382 FAST( gray, keypoints, threshold, nonmaxSuppression, type );
388 if(prop == THRESHOLD)
389 threshold = cvRound(value);
400 if(prop == THRESHOLD)
401 return threshold;
410 void setThreshold(int threshold_) { threshold = threshold_; }
411 int getThreshold() const { return threshold; }
419 int threshold;
424 Ptr<FastFeatureDetector> FastFeatureDetector::create( int threshold, bool nonmaxSuppression, int type )
426 return makePtr<FastFeatureDetector_Impl>(threshold, nonmaxSuppression, type);