/external/opencv3/modules/cudaimgproc/perf/ |
perf_canny.cpp | 66 const double low_thresh = 50.0; local 74 cv::Ptr<cv::cuda::CannyEdgeDetector> canny = cv::cuda::createCannyEdgeDetector(low_thresh, high_thresh, apperture_size, useL2gradient); 84 TEST_CYCLE() cv::Canny(image, dst, low_thresh, high_thresh, apperture_size, useL2gradient);
|
/external/opencv3/modules/cudaimgproc/test/ |
test_canny.cpp | 81 double low_thresh = 50.0; local 84 cv::Ptr<cv::cuda::CannyEdgeDetector> canny = cv::cuda::createCannyEdgeDetector(low_thresh, high_thresh, apperture_size, useL2gradient); 90 cv::Canny(img, edges_gold, low_thresh, high_thresh, apperture_size, useL2gradient);
|
/external/opencv3/modules/imgproc/test/ocl/ |
test_canny.cpp | 101 const double low_thresh = 50.0, high_thresh = 100.0; local 108 OCL_OFF(cv::Canny(src_roi, dst_roi, low_thresh, high_thresh, apperture_size, useL2gradient)); 109 OCL_ON(cv::Canny(usrc_roi, udst_roi, low_thresh, high_thresh, apperture_size, useL2gradient));
|
/external/opencv3/modules/cudaimgproc/src/ |
canny.cpp | 59 void calcMap(PtrStepSzi dx, PtrStepSzi dy, PtrStepSzf mag, PtrStepSzi map, float low_thresh, float high_thresh, cudaStream_t stream); 73 CannyImpl(double low_thresh, double high_thresh, int apperture_size, bool L2gradient) : 74 low_thresh_(low_thresh), high_thresh_(high_thresh), apperture_size_(apperture_size), L2gradient_(L2gradient) 82 void setLowThreshold(double low_thresh) { low_thresh_ = low_thresh; } 97 << "low_thresh" << low_thresh_ 106 low_thresh_ = (double)fn["low_thresh"]; 231 Ptr<CannyEdgeDetector> cv::cuda::createCannyEdgeDetector(double low_thresh, double high_thresh, int apperture_size, bool L2gradient) 233 return makePtr<CannyImpl>(low_thresh, high_thresh, apperture_size, L2gradient);
|
/external/opencv3/modules/imgproc/src/ |
canny.cpp | 98 static bool ocl_Canny(InputArray _src, OutputArray _dst, float low_thresh, float high_thresh, 121 low_thresh = std::min(32767.0f, low_thresh); 124 if (low_thresh > 0) 125 low_thresh *= low_thresh; 129 int low = cvFloor(low_thresh), high = cvFloor(high_thresh); 581 double low_thresh, double high_thresh, 600 if (low_thresh > high_thresh) 601 std::swap(low_thresh, high_thresh) [all...] |
/external/opencv/cv/src/ |
cvcanny.cpp | 49 double low_thresh, double high_thresh, int aperture_size ) 80 if( low_thresh > high_thresh ) 83 CV_SWAP( low_thresh, high_thresh, t ); 105 size, (float)low_thresh, 113 ul.f = (float)low_thresh; 121 low = cvFloor( low_thresh );
|
/external/opencv3/modules/calib3d/src/ |
quadsubpix.cpp | 118 static int segment_hist_max(const Mat& hist, int& low_thresh, int& high_thresh) 156 low_thresh = cvRound(max_start_x + 0.25*(max_end_x - max_start_x));
|
/external/opencv3/modules/cudaimgproc/include/opencv2/ |
cudaimgproc.hpp | 297 virtual void setLowThreshold(double low_thresh) = 0; 312 @param low_thresh First threshold for the hysteresis procedure. 320 CV_EXPORTS Ptr<CannyEdgeDetector> createCannyEdgeDetector(double low_thresh, double high_thresh, int apperture_size = 3, bool L2gradient = false);
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
canny.cu | 169 __global__ void calcMapKernel(const PtrStepSzi dx, const PtrStepi dy, PtrStepi map, const float low_thresh, const float high_thresh) 194 if (m > low_thresh) 221 void calcMap(PtrStepSzi dx, PtrStepSzi dy, PtrStepSzf mag, PtrStepSzi map, float low_thresh, float high_thresh, cudaStream_t stream) 228 calcMapKernel<<<grid, block, 0, stream>>>(dx, dy, map, low_thresh, high_thresh);
|