Home
last modified time | relevance | path

Searched refs:src_gray (Results 1 – 24 of 24) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/TrackingMotion/
DcornerDetector_Demo.cpp17 Mat src, src_gray; variable
44 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
50 myHarris_dst = Mat::zeros( src_gray.size(), CV_32FC(6) ); in main()
51 Mc = Mat::zeros( src_gray.size(), CV_32FC1 ); in main()
53 cornerEigenValsAndVecs( src_gray, myHarris_dst, blockSize, apertureSize, BORDER_DEFAULT ); in main()
56 for( int j = 0; j < src_gray.rows; j++ ) in main()
57 { for( int i = 0; i < src_gray.cols; i++ ) in main()
73 myShiTomasi_dst = Mat::zeros( src_gray.size(), CV_32FC1 ); in main()
74 cornerMinEigenVal( src_gray, myShiTomasi_dst, blockSize, apertureSize, BORDER_DEFAULT ); in main()
96 for( int j = 0; j < src_gray.rows; j++ ) in myShiTomasi_function()
[all …]
DcornerSubPix_Demo.cpp18 Mat src, src_gray; variable
36 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
73 goodFeaturesToTrack( src_gray, in goodFeaturesToTrack_Demo()
100 cornerSubPix( src_gray, corners, winSize, zeroZone, criteria ); in goodFeaturesToTrack_Demo()
DgoodFeaturesToTrack_Demo.cpp18 Mat src, src_gray; variable
36 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
73 goodFeaturesToTrack( src_gray, in goodFeaturesToTrack_Demo()
DcornerHarris_Demo.cpp18 Mat src, src_gray; variable
35 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
64 cornerHarris( src_gray, dst, blockSize, apertureSize, k, BORDER_DEFAULT ); in cornerHarris_demo()
/external/opencv3/samples/cpp/tutorial_code/ImgTrans/
DHoughCircle_Demo.cpp29 …void HoughDetection(const Mat& src_gray, const Mat& src_display, int cannyThreshold, int accumulat… in HoughDetection() argument
34 …HoughCircles( src_gray, circles, HOUGH_GRADIENT, 1, src_gray.rows/8, cannyThreshold, accumulatorTh… in HoughDetection()
56 Mat src, src_gray; in main() local
76 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
79 GaussianBlur( src_gray, src_gray, Size(9, 9), 2, 2 ); in main()
102 HoughDetection(src_gray, src, cannyThreshold, accumulatorThreshold); in main()
DSobel_Demo.cpp21 Mat src, src_gray; in main() local
37 cvtColor( src, src_gray, COLOR_RGB2GRAY ); in main()
48 Sobel( src_gray, grad_x, ddepth, 1, 0, 3, scale, delta, BORDER_DEFAULT ); in main()
53 Sobel( src_gray, grad_y, ddepth, 0, 1, 3, scale, delta, BORDER_DEFAULT ); in main()
DLaplace_Demo.cpp21 Mat src, src_gray, dst; in main() local
38 cvtColor( src, src_gray, COLOR_RGB2GRAY ); in main()
46 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT ); in main()
DCannyDetector_Demo.cpp17 Mat src, src_gray; variable
34 blur( src_gray, detected_edges, Size(3,3) ); in CannyThreshold()
62 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
DHoughLines_Demo.cpp20 Mat src_gray; variable
50 cvtColor( src, src_gray, COLOR_RGB2GRAY ); in main()
53 Canny( src_gray, edges, 50, 200, 3 ); in main()
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
DfindContours_demo.cpp17 Mat src; Mat src_gray; variable
39 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
40 blur( src_gray, src_gray, Size(3,3) ); in main()
64 Canny( src_gray, canny_output, thresh, thresh*2, 3 ); in thresh_callback()
Dhull_demo.cpp17 Mat src; Mat src_gray; variable
34 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
35 blur( src_gray, src_gray, Size(3,3) ); in main()
60 threshold( src_gray, threshold_output, thresh, 255, THRESH_BINARY ); in thresh_callback()
DgeneralContours_demo2.cpp17 Mat src; Mat src_gray; variable
34 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
35 blur( src_gray, src_gray, Size(3,3) ); in main()
59 threshold( src_gray, threshold_output, thresh, 255, THRESH_BINARY ); in thresh_callback()
DgeneralContours_demo1.cpp17 Mat src; Mat src_gray; variable
34 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
35 blur( src_gray, src_gray, Size(3,3) ); in main()
59 threshold( src_gray, threshold_output, thresh, 255, THRESH_BINARY ); in thresh_callback()
Dmoments_demo.cpp17 Mat src; Mat src_gray; variable
34 cvtColor( src, src_gray, COLOR_BGR2GRAY ); in main()
35 blur( src_gray, src_gray, Size(3,3) ); in main()
59 Canny( src_gray, canny_output, thresh, thresh*2, 3 ); in thresh_callback()
/external/opencv3/samples/cpp/tutorial_code/ImgProc/
DThreshold.cpp23 Mat src, src_gray, dst; variable
41 cvtColor( src, src_gray, COLOR_RGB2GRAY ); in main()
82 threshold( src_gray, dst, threshold_value, max_BINARY_value,threshold_type ); in Threshold_Demo()
/external/opencv3/doc/tutorials/imgproc/imgtrans/hough_circle/
Dhough_circle.markdown59 cvtColor( src, src_gray, COLOR_BGR2GRAY );
63 GaussianBlur( src_gray, src_gray, Size(9, 9), 2, 2 );
69 HoughCircles( src_gray, circles, HOUGH_GRADIENT, 1, src_gray.rows/8, 200, 100, 0, 0 );
73 - *src_gray*: Input image (grayscale).
79 - *min_dist = src_gray.rows/8*: Minimum distance between detected centers.
/external/opencv3/doc/tutorials/features2d/trackingmotion/corner_subpixeles/
Dcorner_subpixeles.markdown31 Mat src, src_gray;
47 cvtColor( src, src_gray, COLOR_BGR2GRAY );
84 goodFeaturesToTrack( src_gray,
112 cornerSubPix( src_gray, corners, winSize, zeroZone, criteria );
/external/opencv3/doc/tutorials/features2d/trackingmotion/good_features_to_track/
Dgood_features_to_track.markdown30 Mat src, src_gray;
48 cvtColor( src, src_gray, COLOR_BGR2GRAY );
85 goodFeaturesToTrack( src_gray,
/external/opencv3/doc/tutorials/imgproc/imgtrans/laplace_operator/
Dlaplace_operator.markdown62 Mat src, src_gray, dst;
82 cvtColor( src, src_gray, COLOR_RGB2GRAY );
86 Laplacian( src_gray, dst, ddepth, kernel_size, scale, delta, BORDER_DEFAULT );
90 - *src_gray*: The input image.
/external/opencv3/doc/tutorials/imgproc/imgtrans/sobel_derivatives/
Dsobel_derivatives.markdown119 Mat src, src_gray;
139 cvtColor( src, src_gray, COLOR_RGB2GRAY );
148 Sobel( src_gray, grad_x, ddepth, 1, 0, 3, scale, delta, BORDER_DEFAULT );
150 Sobel( src_gray, grad_y, ddepth, 0, 1, 3, scale, delta, BORDER_DEFAULT );
154 - *src_gray*: In our example, the input image. Here it is *CV_8U*
/external/opencv3/doc/tutorials/features2d/trackingmotion/harris_detector/
Dharris_detector.markdown134 Mat src, src_gray;
149 cvtColor( src, src_gray, COLOR_BGR2GRAY );
175 cornerHarris( src_gray, dst, blockSize, apertureSize, k, BORDER_DEFAULT );
/external/opencv3/doc/tutorials/imgproc/imgtrans/canny_detector/
Dcanny_detector.markdown85 Mat src, src_gray;
116 cvtColor( src, src_gray, COLOR_BGR2GRAY );
136 blur( src_gray, detected_edges, Size(3,3) );
/external/opencv3/doc/tutorials/imgproc/threshold/
Dthreshold.markdown113 cvtColor( src, src_gray, COLOR_BGR2GRAY );
149 threshold( src_gray, dst, threshold_value, max_BINARY_value,threshold_type );
156 - *src_gray*: Our input image
/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp2767 int src_gray, in _CompositeRow_ByteMask2Gray() argument
2778 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_gray, src_alpha); in _CompositeRow_ByteMask2Gray()
2786 int src_gray, in _CompositeRow_ByteMask2Graya() argument
2799 *dest_scan++ = src_gray; in _CompositeRow_ByteMask2Graya()
2811 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_gray, alpha_ratio); in _CompositeRow_ByteMask2Graya()
3075 int src_gray, in _CompositeRow_BitMask2Gray() argument
3091 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_gray, src_alpha); in _CompositeRow_BitMask2Gray()
3099 int src_gray, in _CompositeRow_BitMask2Graya() argument
3118 *dest_scan++ = src_gray; in _CompositeRow_BitMask2Graya()
3130 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_gray, alpha_ratio); in _CompositeRow_BitMask2Graya()