Module: OpenCV::Cv
- Defined in:
- lib/ropencv/ropencv_types.rb,
lib/ropencv/ropencv_ruby.rb
Overview
ROpenCV API Documentation for OpenCV 4.5.4
Defined Under Namespace
Modules: Detail, Error, Fisheye, Flann, Formatter, InputArray, Ipp, Ml, Ocl, Ogl, OutputArray, PCA, SVD, Samples, SparseMat, UMatData, Vec2x, Vec3x, Vecxd, Vecxf, Vecxi, Videostab, Viz
Classes: AKAZE, AffineFeature, AffineTransformer, AgastFeatureDetector, Algorithm, AlignExposures, AlignMTB, BFMatcher, BOWImgDescriptorExtractor, BOWKMeansTrainer, BOWTrainer, BRISK, BackgroundSubtractor, BackgroundSubtractorKNN, BackgroundSubtractorMOG2, BaseCascadeClassifier, CLAHE, CalibrateCRF, CalibrateDebevec, CalibrateRobertson, CascadeClassifier, ChiHistogramCostExtractor, CirclesGridFinderParameters, DISOpticalFlow, DMatch, DenseOpticalFlow, DescriptorMatcher, EMDHistogramCostExtractor, EMDL1HistogramCostExtractor, FarnebackOpticalFlow, FastFeatureDetector, Feature2D, FileNode, FileNodeIterator, FileStorage, FlannBasedMatcher, GFTTDetector, GeneralizedHough, GeneralizedHoughBallard, GeneralizedHoughGuil, HausdorffDistanceExtractor, HistogramCostExtractor, KAZE, KalmanFilter, KeyPoint, LineSegmentDetector, MSER, Mat, MergeDebevec, MergeExposures, MergeMertens, MergeRobertson, Moments, NormHistogramCostExtractor, ORB, Point, Point2d, Point2f, Point3d, Point3f, Ptr, QRCodeDetector, RNG, Range, Rect, RotatedRect, SIFT, Scalar, ShapeContextDistanceExtractor, ShapeDistanceExtractor, ShapeTransformer, SimpleBlobDetector, Size, Size2f, SparseOpticalFlow, SparsePyrLKOpticalFlow, StereoBM, StereoMatcher, StereoSGBM, Stitcher, String, Subdiv2D, TermCriteria, ThinPlateSplineShapeTransformer, TickMeter, Tonemap, TonemapDrago, TonemapMantiuk, TonemapReinhard, Tracker, TrackerDaSiamRPN, TrackerGOTURN, TrackerMIL, UMat, UsacParams, VariationalRefinement, Vec2d, Vec2f, Vec2i, Vec3d, Vec3f, Vec3i, Vec4d, Vec4f, Vec4i, Vec6d, Vec6f, Vec6i, VideoCapture, VideoWriter
- CV_MAX_DIM =
32
- IPL_BORDER_CONSTANT =
0
- IPL_BORDER_REPLICATE =
1
- IPL_BORDER_REFLECT =
2
- IPL_BORDER_WRAP =
3
- IPL_BORDER_REFLECT_101 =
4
- IPL_BORDER_TRANSPARENT =
5
- CV_LMEDS =
4
- CV_RANSAC =
8
- CV_ITERATIVE =
0
- CV_EPNP =
1
- CV_P3P =
2
- CV_CALIB_USE_INTRINSIC_GUESS =
1
- CV_CALIB_FIX_ASPECT_RATIO =
2
- CV_CALIB_FIX_PRINCIPAL_POINT =
4
- CV_CALIB_ZERO_TANGENT_DIST =
8
- CV_CALIB_FIX_FOCAL_LENGTH =
16
- CV_CALIB_FIX_K1 =
32
- CV_CALIB_FIX_K2 =
64
- CV_CALIB_FIX_K3 =
128
- CV_CALIB_FIX_K4 =
2048
- CV_CALIB_FIX_K5 =
4096
- CV_CALIB_FIX_K6 =
8192
- CV_CALIB_RATIONAL_MODEL =
16384
- CV_CALIB_THIN_PRISM_MODEL =
32768
- CV_CALIB_FIX_S1_S2_S3_S4 =
65536
- CV_CALIB_FIX_INTRINSIC =
256
- CV_CALIB_SAME_FOCAL_LENGTH =
512
- CV_CALIB_ZERO_DISPARITY =
1024
- CV_FM_7POINT =
1
- CV_FM_8POINT =
2
- CV_FM_LMEDS =
4
- CV_FM_RANSAC =
8
- CV_AFM_4POINT =
16
- CV_AFM_LMEDS =
32
- CV_AFM_RANSAC =
64
- CV_WINDOW_NORMAL =
0
- CV_WINDOW_AUTOSIZE =
1
- CV_WINDOW_OPENGL =
4096
- CV_WINDOW_FULLSCREEN =
1
- CV_WINDOW_FREERATIO =
256
- CV_WINDOW_KEEPRATIO =
0
- CV_WND_PROP_FULLSCREEN =
0
- CV_WND_PROP_AUTOSIZE =
1
- CV_WND_PROP_ASPECT_RATIO =
2
- CV_WND_PROP_OPENGL =
3
- DBL_EPSILON =
2.220446049250313e-16
- CV_CALIB_CB_ADAPTIVE_THRESH =
1
- CV_CALIB_CB_NORMALIZE_IMAGE =
2
- CV_CALIB_CB_FILTER_QUADS =
4
- CV_CALIB_CB_FAST_CHECK =
8
- CV_LKFLOW_PYR_A_READY =
1
- CV_LKFLOW_PYR_B_READY =
2
- CV_LKFLOW_INITIAL_GUESSES =
4
- CV_LKFLOW_GET_MIN_EIGENVALS =
8
- INT_MAX =
2147483647
- DBL_MAX =
1.7976931348623157e+308
- CV_8U =
0
- CV_8S =
1
- CV_16U =
2
- CV_16S =
3
- CV_32S =
4
- CV_32F =
5
- CV_64F =
6
- CV_16F =
7
- CV_8UC1 =
(1-1)*8+CV_8U
- CV_8UC2 =
(2-1)*8+CV_8U
- CV_8UC3 =
(3-1)*8+CV_8U
- CV_8UC4 =
(4-1)*8+CV_8U
- CV_8SC1 =
(1-1)*8+CV_8S
- CV_8SC2 =
(2-1)*8+CV_8S
- CV_8SC3 =
(3-1)*8+CV_8S
- CV_8SC4 =
(4-1)*8+CV_8S
- CV_16UC1 =
(1-1)*8+CV_16U
- CV_16UC2 =
(2-1)*8+CV_16U
- CV_16UC3 =
(3-1)*8+CV_16U
- CV_16UC4 =
(4-1)*8+CV_16U
- CV_16SC1 =
(1-1)*8+CV_16S
- CV_16SC2 =
(2-1)*8+CV_16S
- CV_16SC3 =
(3-1)*8+CV_16S
- CV_16SC4 =
(4-1)*8+CV_16S
- CV_32SC1 =
(1-1)*8+CV_32S
- CV_32SC2 =
(2-1)*8+CV_32S
- CV_32SC3 =
(3-1)*8+CV_32S
- CV_32SC4 =
(4-1)*8+CV_32S
- CV_32FC1 =
(1-1)*8+CV_32F
- CV_32FC2 =
(2-1)*8+CV_32F
- CV_32FC3 =
(3-1)*8+CV_32F
- CV_32FC4 =
(4-1)*8+CV_32F
- CV_64FC1 =
(1-1)*8+CV_64F
- CV_64FC2 =
(2-1)*8+CV_64F
- CV_64FC3 =
(3-1)*8+CV_64F
- CV_64FC4 =
(4-1)*8+CV_64F
- CV_CN_MAX =
512
- CV_CN_SHIFT =
3
- CV_DEPTH_MAX =
(1<<CV_CN_SHIFT)
- CV_MAT_CN_MASK =
((CV_CN_MAX-1)<<CV_CN_SHIFT)
- CV_MAT_TYPE_MASK =
(CV_DEPTH_MAX*CV_CN_MAX-1)
- CV_MAT_CONT_FLAG_SHIFT =
14
- CV_MAT_CONT_FLAG =
(1<<CV_MAT_CONT_FLAG_SHIFT)
- CV_SUBMAT_FLAG_SHIFT =
15
- CV_SUBMAT_FLAG =
(1<<CV_SUBMAT_FLAG_SHIFT)
- CV_LOAD_IMAGE_UNCHANGED =
-1
- CV_LOAD_IMAGE_GRAYSCALE =
0
- CV_LOAD_IMAGE_COLOR =
1
- CV_LOAD_IMAGE_ANYDEPTH =
2
- CV_LOAD_IMAGE_ANYCOLOR =
4
- CV_LOAD_IMAGE_IGNORE_ORIENTATION =
128
- SORT_EVERY_ROW =
0
- SORT_EVERY_COLUMN =
1
- SORT_ASCENDING =
0
- SORT_DESCENDING =
16
- COVAR_SCRAMBLED =
0
- COVAR_NORMAL =
1
- COVAR_USE_AVG =
2
- COVAR_SCALE =
4
- COVAR_ROWS =
8
- COVAR_COLS =
16
- KMEANS_RANDOM_CENTERS =
0
- KMEANS_PP_CENTERS =
2
- KMEANS_USE_INITIAL_LABELS =
1
- REDUCE_SUM =
0
- REDUCE_AVG =
1
- REDUCE_MAX =
2
- REDUCE_MIN =
3
- ROTATE_90_CLOCKWISE =
0
- ROTATE_180 =
1
- ROTATE_90_COUNTERCLOCKWISE =
2
- INT =
0
- BOOLEAN =
1
- REAL =
2
- STRING =
3
- MAT =
4
- MAT_VECTOR =
5
- ALGORITHM =
6
- FLOAT =
7
- UNSIGNED_INT =
8
- UINT64 =
9
- UCHAR =
11
- SCALAR =
12
- DECOMP_LU =
0
- DECOMP_SVD =
1
- DECOMP_EIG =
2
- DECOMP_CHOLESKY =
3
- DECOMP_QR =
4
- DECOMP_NORMAL =
16
- NORM_INF =
1
- NORM_L1 =
2
- NORM_L2 =
4
- NORM_L2SQR =
5
- NORM_HAMMING =
6
- NORM_HAMMING2 =
7
- NORM_TYPE_MASK =
7
- NORM_RELATIVE =
8
- NORM_MINMAX =
32
- CMP_EQ =
0
- CMP_GT =
1
- CMP_GE =
2
- CMP_LT =
3
- CMP_LE =
4
- CMP_NE =
5
- GEMM_1_T =
1
- GEMM_2_T =
2
- GEMM_3_T =
4
- DFT_INVERSE =
1
- DFT_SCALE =
2
- DFT_ROWS =
4
- DFT_COMPLEX_OUTPUT =
16
- DFT_REAL_OUTPUT =
32
- DFT_COMPLEX_INPUT =
64
- DCT_INVERSE =
Cv::DFT_INVERSE
- DCT_ROWS =
Cv::DFT_ROWS
- BORDER_CONSTANT =
0
- BORDER_REPLICATE =
1
- BORDER_REFLECT =
2
- BORDER_WRAP =
3
- BORDER_REFLECT_101 =
4
- BORDER_TRANSPARENT =
5
- BORDER_REFLECT101 =
Cv::BORDER_REFLECT_101
- BORDER_DEFAULT =
Cv::BORDER_REFLECT_101
- BORDER_ISOLATED =
16
- ACCESS_READ =
16777216
- ACCESS_WRITE =
33554432
- ACCESS_RW =
50331648
- ACCESS_MASK =
Cv::ACCESS_RW
- ACCESS_FAST =
67108864
- USAGE_DEFAULT =
0
- USAGE_ALLOCATE_HOST_MEMORY =
1
- USAGE_ALLOCATE_DEVICE_MEMORY =
2
- USAGE_ALLOCATE_SHARED_MEMORY =
4
- SOLVELP_UNBOUNDED =
-2
- SOLVELP_UNFEASIBLE =
-1
- SOLVELP_SINGLE =
0
- SOLVELP_MULTI =
1
- INPAINT_NS =
0
- INPAINT_TELEA =
1
- LDR_SIZE =
256
- NORMAL_CLONE =
1
- MIXED_CLONE =
2
- MONOCHROME_TRANSFER =
3
- RECURS_FILTER =
1
- NORMCONV_FILTER =
2
- FILTER_SCHARR =
-1
- MORPH_ERODE =
0
- MORPH_DILATE =
1
- MORPH_OPEN =
2
- MORPH_CLOSE =
3
- MORPH_GRADIENT =
4
- MORPH_TOPHAT =
5
- MORPH_BLACKHAT =
6
- MORPH_HITMISS =
7
- MORPH_RECT =
0
- MORPH_CROSS =
1
- MORPH_ELLIPSE =
2
- INTER_NEAREST =
0
- INTER_LINEAR =
1
- INTER_CUBIC =
2
- INTER_AREA =
3
- INTER_LANCZOS4 =
4
- INTER_LINEAR_EXACT =
5
- INTER_NEAREST_EXACT =
6
- INTER_MAX =
7
- WARP_FILL_OUTLIERS =
8
- WARP_INVERSE_MAP =
16
- WARP_POLAR_LINEAR =
0
- WARP_POLAR_LOG =
256
- INTER_BITS =
5
- INTER_BITS2 =
Cv::INTER_BITS*2
- INTER_TAB_SIZE =
1
- INTER_TAB_SIZE2 =
Cv::INTER_TAB_SIZE*Cv::INTER_TAB_SIZE
- DIST_USER =
-1
- DIST_L1 =
1
- DIST_L2 =
2
- DIST_C =
3
- DIST_L12 =
4
- DIST_FAIR =
5
- DIST_WELSCH =
6
- DIST_HUBER =
7
- DIST_MASK_3 =
3
- DIST_MASK_5 =
5
- DIST_MASK_PRECISE =
0
- THRESH_BINARY =
0
- THRESH_BINARY_INV =
1
- THRESH_TRUNC =
2
- THRESH_TOZERO =
3
- THRESH_TOZERO_INV =
4
- THRESH_MASK =
7
- THRESH_OTSU =
8
- THRESH_TRIANGLE =
16
- ADAPTIVE_THRESH_MEAN_C =
0
- ADAPTIVE_THRESH_GAUSSIAN_C =
1
- GC_BGD =
0
- GC_FGD =
1
- GC_PR_BGD =
2
- GC_PR_FGD =
3
- GC_INIT_WITH_RECT =
0
- GC_INIT_WITH_MASK =
1
- GC_EVAL =
2
- GC_EVAL_FREEZE_MODEL =
3
- DIST_LABEL_CCOMP =
0
- DIST_LABEL_PIXEL =
1
- FLOODFILL_FIXED_RANGE =
65536
- FLOODFILL_MASK_ONLY =
131072
- CC_STAT_LEFT =
0
- CC_STAT_TOP =
1
- CC_STAT_WIDTH =
2
- CC_STAT_HEIGHT =
3
- CC_STAT_AREA =
4
- CC_STAT_MAX =
5
- CCL_DEFAULT =
-1
- CCL_WU =
0
- CCL_GRANA =
1
- CCL_BOLELLI =
2
- CCL_SAUF =
3
- CCL_BBDT =
4
- CCL_SPAGHETTI =
5
- RETR_EXTERNAL =
0
- RETR_LIST =
1
- RETR_CCOMP =
2
- RETR_TREE =
3
- RETR_FLOODFILL =
4
- CHAIN_APPROX_NONE =
1
- CHAIN_APPROX_SIMPLE =
2
- CHAIN_APPROX_TC89_L1 =
3
- CHAIN_APPROX_TC89_KCOS =
4
- CONTOURS_MATCH_I1 =
1
- CONTOURS_MATCH_I2 =
2
- CONTOURS_MATCH_I3 =
3
- HOUGH_STANDARD =
0
- HOUGH_PROBABILISTIC =
1
- HOUGH_MULTI_SCALE =
2
- HOUGH_GRADIENT =
3
- HOUGH_GRADIENT_ALT =
4
- LSD_REFINE_NONE =
0
- LSD_REFINE_STD =
1
- LSD_REFINE_ADV =
2
- HISTCMP_CORREL =
0
- HISTCMP_CHISQR =
1
- HISTCMP_INTERSECT =
2
- HISTCMP_BHATTACHARYYA =
3
- HISTCMP_HELLINGER =
Cv::HISTCMP_BHATTACHARYYA
- HISTCMP_CHISQR_ALT =
4
- HISTCMP_KL_DIV =
5
- COLOR_BGR2BGRA =
0
- COLOR_RGB2RGBA =
Cv::COLOR_BGR2BGRA
- COLOR_BGRA2BGR =
1
- COLOR_RGBA2RGB =
Cv::COLOR_BGRA2BGR
- COLOR_BGR2RGBA =
2
- COLOR_RGB2BGRA =
Cv::COLOR_BGR2RGBA
- COLOR_RGBA2BGR =
3
- COLOR_BGRA2RGB =
Cv::COLOR_RGBA2BGR
- COLOR_BGR2RGB =
4
- COLOR_RGB2BGR =
Cv::COLOR_BGR2RGB
- COLOR_BGRA2RGBA =
5
- COLOR_RGBA2BGRA =
Cv::COLOR_BGRA2RGBA
- COLOR_BGR2GRAY =
6
- COLOR_RGB2GRAY =
7
- COLOR_GRAY2BGR =
8
- COLOR_GRAY2RGB =
Cv::COLOR_GRAY2BGR
- COLOR_GRAY2BGRA =
9
- COLOR_GRAY2RGBA =
Cv::COLOR_GRAY2BGRA
- COLOR_BGRA2GRAY =
10
- COLOR_RGBA2GRAY =
11
- COLOR_BGR2BGR565 =
12
- COLOR_RGB2BGR565 =
13
- COLOR_BGR5652BGR =
14
- COLOR_BGR5652RGB =
15
- COLOR_BGRA2BGR565 =
16
- COLOR_RGBA2BGR565 =
17
- COLOR_BGR5652BGRA =
18
- COLOR_BGR5652RGBA =
19
- COLOR_GRAY2BGR565 =
20
- COLOR_BGR5652GRAY =
21
- COLOR_BGR2BGR555 =
22
- COLOR_RGB2BGR555 =
23
- COLOR_BGR5552BGR =
24
- COLOR_BGR5552RGB =
25
- COLOR_BGRA2BGR555 =
26
- COLOR_RGBA2BGR555 =
27
- COLOR_BGR5552BGRA =
28
- COLOR_BGR5552RGBA =
29
- COLOR_GRAY2BGR555 =
30
- COLOR_BGR5552GRAY =
31
- COLOR_BGR2XYZ =
32
- COLOR_RGB2XYZ =
33
- COLOR_XYZ2BGR =
34
- COLOR_XYZ2RGB =
35
- COLOR_BGR2YCrCb =
36
- COLOR_RGB2YCrCb =
37
- COLOR_YCrCb2BGR =
38
- COLOR_YCrCb2RGB =
39
- COLOR_BGR2HSV =
40
- COLOR_RGB2HSV =
41
- COLOR_BGR2Lab =
44
- COLOR_RGB2Lab =
45
- COLOR_BGR2Luv =
50
- COLOR_RGB2Luv =
51
- COLOR_BGR2HLS =
52
- COLOR_RGB2HLS =
53
- COLOR_HSV2BGR =
54
- COLOR_HSV2RGB =
55
- COLOR_Lab2BGR =
56
- COLOR_Lab2RGB =
57
- COLOR_Luv2BGR =
58
- COLOR_Luv2RGB =
59
- COLOR_HLS2BGR =
60
- COLOR_HLS2RGB =
61
- COLOR_BGR2HSV_FULL =
66
- COLOR_RGB2HSV_FULL =
67
- COLOR_BGR2HLS_FULL =
68
- COLOR_RGB2HLS_FULL =
69
- COLOR_HSV2BGR_FULL =
70
- COLOR_HSV2RGB_FULL =
71
- COLOR_HLS2BGR_FULL =
72
- COLOR_HLS2RGB_FULL =
73
- COLOR_LBGR2Lab =
74
- COLOR_LRGB2Lab =
75
- COLOR_LBGR2Luv =
76
- COLOR_LRGB2Luv =
77
- COLOR_Lab2LBGR =
78
- COLOR_Lab2LRGB =
79
- COLOR_Luv2LBGR =
80
- COLOR_Luv2LRGB =
81
- COLOR_BGR2YUV =
82
- COLOR_RGB2YUV =
83
- COLOR_YUV2BGR =
84
- COLOR_YUV2RGB =
85
- COLOR_YUV2RGB_NV12 =
90
- COLOR_YUV2BGR_NV12 =
91
- COLOR_YUV2RGB_NV21 =
92
- COLOR_YUV2BGR_NV21 =
93
- COLOR_YUV420sp2RGB =
Cv::COLOR_YUV2RGB_NV21
- COLOR_YUV420sp2BGR =
Cv::COLOR_YUV2BGR_NV21
- COLOR_YUV2RGBA_NV12 =
94
- COLOR_YUV2BGRA_NV12 =
95
- COLOR_YUV2RGBA_NV21 =
96
- COLOR_YUV2BGRA_NV21 =
97
- COLOR_YUV420sp2RGBA =
Cv::COLOR_YUV2RGBA_NV21
- COLOR_YUV420sp2BGRA =
Cv::COLOR_YUV2BGRA_NV21
- COLOR_YUV2RGB_YV12 =
98
- COLOR_YUV2BGR_YV12 =
99
- COLOR_YUV2RGB_IYUV =
100
- COLOR_YUV2BGR_IYUV =
101
- COLOR_YUV2RGB_I420 =
Cv::COLOR_YUV2RGB_IYUV
- COLOR_YUV2BGR_I420 =
Cv::COLOR_YUV2BGR_IYUV
- COLOR_YUV420p2RGB =
Cv::COLOR_YUV2RGB_YV12
- COLOR_YUV420p2BGR =
Cv::COLOR_YUV2BGR_YV12
- COLOR_YUV2RGBA_YV12 =
102
- COLOR_YUV2BGRA_YV12 =
103
- COLOR_YUV2RGBA_IYUV =
104
- COLOR_YUV2BGRA_IYUV =
105
- COLOR_YUV2RGBA_I420 =
Cv::COLOR_YUV2RGBA_IYUV
- COLOR_YUV2BGRA_I420 =
Cv::COLOR_YUV2BGRA_IYUV
- COLOR_YUV420p2RGBA =
Cv::COLOR_YUV2RGBA_YV12
- COLOR_YUV420p2BGRA =
Cv::COLOR_YUV2BGRA_YV12
- COLOR_YUV2GRAY_420 =
106
- COLOR_YUV2GRAY_NV21 =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV2GRAY_NV12 =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV2GRAY_YV12 =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV2GRAY_IYUV =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV2GRAY_I420 =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV420sp2GRAY =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV420p2GRAY =
Cv::COLOR_YUV2GRAY_420
- COLOR_YUV2RGB_UYVY =
107
- COLOR_YUV2BGR_UYVY =
108
- COLOR_YUV2RGB_Y422 =
Cv::COLOR_YUV2RGB_UYVY
- COLOR_YUV2BGR_Y422 =
Cv::COLOR_YUV2BGR_UYVY
- COLOR_YUV2RGB_UYNV =
Cv::COLOR_YUV2RGB_UYVY
- COLOR_YUV2BGR_UYNV =
Cv::COLOR_YUV2BGR_UYVY
- COLOR_YUV2RGBA_UYVY =
111
- COLOR_YUV2BGRA_UYVY =
112
- COLOR_YUV2RGBA_Y422 =
Cv::COLOR_YUV2RGBA_UYVY
- COLOR_YUV2BGRA_Y422 =
Cv::COLOR_YUV2BGRA_UYVY
- COLOR_YUV2RGBA_UYNV =
Cv::COLOR_YUV2RGBA_UYVY
- COLOR_YUV2BGRA_UYNV =
Cv::COLOR_YUV2BGRA_UYVY
- COLOR_YUV2RGB_YUY2 =
115
- COLOR_YUV2BGR_YUY2 =
116
- COLOR_YUV2RGB_YVYU =
117
- COLOR_YUV2BGR_YVYU =
118
- COLOR_YUV2RGB_YUYV =
Cv::COLOR_YUV2RGB_YUY2
- COLOR_YUV2BGR_YUYV =
Cv::COLOR_YUV2BGR_YUY2
- COLOR_YUV2RGB_YUNV =
Cv::COLOR_YUV2RGB_YUY2
- COLOR_YUV2BGR_YUNV =
Cv::COLOR_YUV2BGR_YUY2
- COLOR_YUV2RGBA_YUY2 =
119
- COLOR_YUV2BGRA_YUY2 =
120
- COLOR_YUV2RGBA_YVYU =
121
- COLOR_YUV2BGRA_YVYU =
122
- COLOR_YUV2RGBA_YUYV =
Cv::COLOR_YUV2RGBA_YUY2
- COLOR_YUV2BGRA_YUYV =
Cv::COLOR_YUV2BGRA_YUY2
- COLOR_YUV2RGBA_YUNV =
Cv::COLOR_YUV2RGBA_YUY2
- COLOR_YUV2BGRA_YUNV =
Cv::COLOR_YUV2BGRA_YUY2
- COLOR_YUV2GRAY_UYVY =
123
- COLOR_YUV2GRAY_YUY2 =
124
- COLOR_YUV2GRAY_Y422 =
Cv::COLOR_YUV2GRAY_UYVY
- COLOR_YUV2GRAY_UYNV =
Cv::COLOR_YUV2GRAY_UYVY
- COLOR_YUV2GRAY_YVYU =
Cv::COLOR_YUV2GRAY_YUY2
- COLOR_YUV2GRAY_YUYV =
Cv::COLOR_YUV2GRAY_YUY2
- COLOR_YUV2GRAY_YUNV =
Cv::COLOR_YUV2GRAY_YUY2
- COLOR_RGBA2mRGBA =
125
- COLOR_mRGBA2RGBA =
126
- COLOR_RGB2YUV_I420 =
127
- COLOR_BGR2YUV_I420 =
128
- COLOR_RGB2YUV_IYUV =
Cv::COLOR_RGB2YUV_I420
- COLOR_BGR2YUV_IYUV =
Cv::COLOR_BGR2YUV_I420
- COLOR_RGBA2YUV_I420 =
129
- COLOR_BGRA2YUV_I420 =
130
- COLOR_RGBA2YUV_IYUV =
Cv::COLOR_RGBA2YUV_I420
- COLOR_BGRA2YUV_IYUV =
Cv::COLOR_BGRA2YUV_I420
- COLOR_RGB2YUV_YV12 =
131
- COLOR_BGR2YUV_YV12 =
132
- COLOR_RGBA2YUV_YV12 =
133
- COLOR_BGRA2YUV_YV12 =
134
- COLOR_BayerBG2BGR =
46
- COLOR_BayerGB2BGR =
47
- COLOR_BayerRG2BGR =
48
- COLOR_BayerGR2BGR =
49
- COLOR_BayerBG2RGB =
Cv::COLOR_BayerRG2BGR
- COLOR_BayerGB2RGB =
Cv::COLOR_BayerGR2BGR
- COLOR_BayerRG2RGB =
Cv::COLOR_BayerBG2BGR
- COLOR_BayerGR2RGB =
Cv::COLOR_BayerGB2BGR
- COLOR_BayerBG2GRAY =
86
- COLOR_BayerGB2GRAY =
87
- COLOR_BayerRG2GRAY =
88
- COLOR_BayerGR2GRAY =
89
- COLOR_BayerBG2BGR_VNG =
62
- COLOR_BayerGB2BGR_VNG =
63
- COLOR_BayerRG2BGR_VNG =
64
- COLOR_BayerGR2BGR_VNG =
65
- COLOR_BayerBG2RGB_VNG =
Cv::COLOR_BayerRG2BGR_VNG
- COLOR_BayerGB2RGB_VNG =
Cv::COLOR_BayerGR2BGR_VNG
- COLOR_BayerRG2RGB_VNG =
Cv::COLOR_BayerBG2BGR_VNG
- COLOR_BayerGR2RGB_VNG =
Cv::COLOR_BayerGB2BGR_VNG
- COLOR_BayerBG2BGR_EA =
135
- COLOR_BayerGB2BGR_EA =
136
- COLOR_BayerRG2BGR_EA =
137
- COLOR_BayerGR2BGR_EA =
138
- COLOR_BayerBG2RGB_EA =
Cv::COLOR_BayerRG2BGR_EA
- COLOR_BayerGB2RGB_EA =
Cv::COLOR_BayerGR2BGR_EA
- COLOR_BayerRG2RGB_EA =
Cv::COLOR_BayerBG2BGR_EA
- COLOR_BayerGR2RGB_EA =
Cv::COLOR_BayerGB2BGR_EA
- COLOR_BayerBG2BGRA =
139
- COLOR_BayerGB2BGRA =
140
- COLOR_BayerRG2BGRA =
141
- COLOR_BayerGR2BGRA =
142
- COLOR_BayerBG2RGBA =
Cv::COLOR_BayerRG2BGRA
- COLOR_BayerGB2RGBA =
Cv::COLOR_BayerGR2BGRA
- COLOR_BayerRG2RGBA =
Cv::COLOR_BayerBG2BGRA
- COLOR_BayerGR2RGBA =
Cv::COLOR_BayerGB2BGRA
- COLOR_COLORCVT_MAX =
143
- INTERSECT_NONE =
0
- INTERSECT_PARTIAL =
1
- INTERSECT_FULL =
2
- FILLED =
-1
- LINE_4 =
4
- LINE_8 =
8
- LINE_AA =
16
- FONT_HERSHEY_SIMPLEX =
0
- FONT_HERSHEY_PLAIN =
1
- FONT_HERSHEY_DUPLEX =
2
- FONT_HERSHEY_COMPLEX =
3
- FONT_HERSHEY_TRIPLEX =
4
- FONT_HERSHEY_COMPLEX_SMALL =
5
- FONT_HERSHEY_SCRIPT_SIMPLEX =
6
- FONT_HERSHEY_SCRIPT_COMPLEX =
7
- FONT_ITALIC =
16
- MARKER_CROSS =
0
- MARKER_TILTED_CROSS =
1
- MARKER_STAR =
2
- MARKER_DIAMOND =
3
- MARKER_SQUARE =
4
- MARKER_TRIANGLE_UP =
5
- MARKER_TRIANGLE_DOWN =
6
- TM_SQDIFF =
0
- TM_SQDIFF_NORMED =
1
- TM_CCORR =
2
- TM_CCORR_NORMED =
3
- TM_CCOEFF =
4
- TM_CCOEFF_NORMED =
5
- COLORMAP_AUTUMN =
0
- COLORMAP_BONE =
1
- COLORMAP_JET =
2
- COLORMAP_WINTER =
3
- COLORMAP_RAINBOW =
4
- COLORMAP_OCEAN =
5
- COLORMAP_SUMMER =
6
- COLORMAP_SPRING =
7
- COLORMAP_COOL =
8
- COLORMAP_HSV =
9
- COLORMAP_PINK =
10
- COLORMAP_HOT =
11
- COLORMAP_PARULA =
12
- COLORMAP_MAGMA =
13
- COLORMAP_INFERNO =
14
- COLORMAP_PLASMA =
15
- COLORMAP_VIRIDIS =
16
- COLORMAP_CIVIDIS =
17
- COLORMAP_TWILIGHT =
18
- COLORMAP_TWILIGHT_SHIFTED =
19
- COLORMAP_TURBO =
20
- COLORMAP_DEEPGREEN =
21
- IMREAD_UNCHANGED =
-1
- IMREAD_GRAYSCALE =
0
- IMREAD_COLOR =
1
- IMREAD_ANYDEPTH =
2
- IMREAD_ANYCOLOR =
4
- IMREAD_LOAD_GDAL =
8
- IMREAD_REDUCED_GRAYSCALE_2 =
16
- IMREAD_REDUCED_COLOR_2 =
17
- IMREAD_REDUCED_GRAYSCALE_4 =
32
- IMREAD_REDUCED_COLOR_4 =
33
- IMREAD_REDUCED_GRAYSCALE_8 =
64
- IMREAD_REDUCED_COLOR_8 =
65
- IMREAD_IGNORE_ORIENTATION =
128
- IMWRITE_JPEG_QUALITY =
1
- IMWRITE_JPEG_PROGRESSIVE =
2
- IMWRITE_JPEG_OPTIMIZE =
3
- IMWRITE_JPEG_RST_INTERVAL =
4
- IMWRITE_JPEG_LUMA_QUALITY =
5
- IMWRITE_JPEG_CHROMA_QUALITY =
6
- IMWRITE_PNG_COMPRESSION =
16
- IMWRITE_PNG_STRATEGY =
17
- IMWRITE_PNG_BILEVEL =
18
- IMWRITE_PXM_BINARY =
32
- IMWRITE_EXR_TYPE =
48
- IMWRITE_EXR_COMPRESSION =
49
- IMWRITE_WEBP_QUALITY =
64
- IMWRITE_PAM_TUPLETYPE =
128
- IMWRITE_TIFF_RESUNIT =
256
- IMWRITE_TIFF_XDPI =
257
- IMWRITE_TIFF_YDPI =
258
- IMWRITE_TIFF_COMPRESSION =
259
- IMWRITE_JPEG2000_COMPRESSION_X1000 =
272
- IMWRITE_EXR_TYPE_HALF =
1
- IMWRITE_EXR_TYPE_FLOAT =
2
- IMWRITE_EXR_COMPRESSION_NO =
0
- IMWRITE_EXR_COMPRESSION_RLE =
1
- IMWRITE_EXR_COMPRESSION_ZIPS =
2
- IMWRITE_EXR_COMPRESSION_ZIP =
3
- IMWRITE_EXR_COMPRESSION_PIZ =
4
- IMWRITE_EXR_COMPRESSION_PXR24 =
5
- IMWRITE_EXR_COMPRESSION_B44 =
6
- IMWRITE_EXR_COMPRESSION_B44A =
7
- IMWRITE_EXR_COMPRESSION_DWAA =
8
- IMWRITE_EXR_COMPRESSION_DWAB =
9
- IMWRITE_PNG_STRATEGY_DEFAULT =
0
- IMWRITE_PNG_STRATEGY_FILTERED =
1
- IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY =
2
- IMWRITE_PNG_STRATEGY_RLE =
3
- IMWRITE_PNG_STRATEGY_FIXED =
4
- IMWRITE_PAM_FORMAT_NULL =
0
- IMWRITE_PAM_FORMAT_BLACKANDWHITE =
1
- IMWRITE_PAM_FORMAT_GRAYSCALE =
2
- IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA =
3
- IMWRITE_PAM_FORMAT_RGB =
4
- IMWRITE_PAM_FORMAT_RGB_ALPHA =
5
- CAP_ANY =
0
- CAP_VFW =
200
- CAP_V4L =
200
- CAP_V4L2 =
Cv::CAP_V4L
- CAP_FIREWIRE =
300
- CAP_FIREWARE =
Cv::CAP_FIREWIRE
- CAP_IEEE1394 =
Cv::CAP_FIREWIRE
- CAP_DC1394 =
Cv::CAP_FIREWIRE
- CAP_CMU1394 =
Cv::CAP_FIREWIRE
- CAP_QT =
500
- CAP_UNICAP =
600
- CAP_DSHOW =
700
- CAP_PVAPI =
800
- CAP_OPENNI =
900
- CAP_OPENNI_ASUS =
910
- CAP_ANDROID =
1000
- CAP_XIAPI =
1100
- CAP_AVFOUNDATION =
1200
- CAP_GIGANETIX =
1300
- CAP_MSMF =
1400
- CAP_WINRT =
1410
- CAP_INTELPERC =
1500
- CAP_REALSENSE =
1500
- CAP_OPENNI2 =
1600
- CAP_OPENNI2_ASUS =
1610
- CAP_OPENNI2_ASTRA =
1620
- CAP_GPHOTO2 =
1700
- CAP_GSTREAMER =
1800
- CAP_FFMPEG =
1900
- CAP_IMAGES =
2000
- CAP_ARAVIS =
2100
- CAP_OPENCV_MJPEG =
2200
- CAP_INTEL_MFX =
2300
- CAP_XINE =
2400
- CAP_UEYE =
2500
- CAP_PROP_POS_MSEC =
0
- CAP_PROP_POS_FRAMES =
1
- CAP_PROP_POS_AVI_RATIO =
2
- CAP_PROP_FRAME_WIDTH =
3
- CAP_PROP_FRAME_HEIGHT =
4
- CAP_PROP_FPS =
5
- CAP_PROP_FOURCC =
6
- CAP_PROP_FRAME_COUNT =
7
- CAP_PROP_FORMAT =
8
- CAP_PROP_MODE =
9
- CAP_PROP_BRIGHTNESS =
10
- CAP_PROP_CONTRAST =
11
- CAP_PROP_SATURATION =
12
- CAP_PROP_HUE =
13
- CAP_PROP_GAIN =
14
- CAP_PROP_EXPOSURE =
15
- CAP_PROP_CONVERT_RGB =
16
- CAP_PROP_WHITE_BALANCE_BLUE_U =
17
- CAP_PROP_RECTIFICATION =
18
- CAP_PROP_MONOCHROME =
19
- CAP_PROP_SHARPNESS =
20
- CAP_PROP_AUTO_EXPOSURE =
21
- CAP_PROP_GAMMA =
22
- CAP_PROP_TEMPERATURE =
23
- CAP_PROP_TRIGGER =
24
- CAP_PROP_TRIGGER_DELAY =
25
- CAP_PROP_WHITE_BALANCE_RED_V =
26
- CAP_PROP_ZOOM =
27
- CAP_PROP_FOCUS =
28
- CAP_PROP_GUID =
29
- CAP_PROP_ISO_SPEED =
30
- CAP_PROP_BACKLIGHT =
32
- CAP_PROP_PAN =
33
- CAP_PROP_TILT =
34
- CAP_PROP_ROLL =
35
- CAP_PROP_IRIS =
36
- CAP_PROP_SETTINGS =
37
- CAP_PROP_BUFFERSIZE =
38
- CAP_PROP_AUTOFOCUS =
39
- CAP_PROP_SAR_NUM =
40
- CAP_PROP_SAR_DEN =
41
- CAP_PROP_BACKEND =
42
- CAP_PROP_CHANNEL =
43
- CAP_PROP_AUTO_WB =
44
- CAP_PROP_WB_TEMPERATURE =
45
- CAP_PROP_CODEC_PIXEL_FORMAT =
46
- CAP_PROP_BITRATE =
47
- CAP_PROP_ORIENTATION_META =
48
- CAP_PROP_ORIENTATION_AUTO =
49
- CAP_PROP_HW_ACCELERATION =
50
- CAP_PROP_HW_DEVICE =
51
- CAP_PROP_HW_ACCELERATION_USE_OPENCL =
52
- CAP_PROP_OPEN_TIMEOUT_MSEC =
53
- CAP_PROP_READ_TIMEOUT_MSEC =
54
- CAP_PROP_STREAM_OPEN_TIME_USEC =
55
- VIDEOWRITER_PROP_QUALITY =
1
- VIDEOWRITER_PROP_FRAMEBYTES =
2
- VIDEOWRITER_PROP_NSTRIPES =
3
- VIDEOWRITER_PROP_IS_COLOR =
4
- VIDEOWRITER_PROP_DEPTH =
5
- VIDEOWRITER_PROP_HW_ACCELERATION =
6
- VIDEOWRITER_PROP_HW_DEVICE =
7
- VIDEOWRITER_PROP_HW_ACCELERATION_USE_OPENCL =
8
- VIDEO_ACCELERATION_NONE =
0
- VIDEO_ACCELERATION_ANY =
1
- VIDEO_ACCELERATION_D3D11 =
2
- VIDEO_ACCELERATION_VAAPI =
3
- VIDEO_ACCELERATION_MFX =
4
- CAP_PROP_DC1394_OFF =
-4
- CAP_PROP_DC1394_MODE_MANUAL =
-3
- CAP_PROP_DC1394_MODE_AUTO =
-2
- CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO =
-1
- CAP_PROP_DC1394_MAX =
31
- CAP_OPENNI_DEPTH_GENERATOR =
2147483648
- CAP_OPENNI_IMAGE_GENERATOR =
1073741824
- CAP_OPENNI_IR_GENERATOR =
536870912
- CAP_OPENNI_GENERATORS_MASK =
Cv::CAP_OPENNI_DEPTH_GENERATOR+Cv::CAP_OPENNI_IMAGE_GENERATOR+Cv::CAP_OPENNI_IR_GENERATOR
- CAP_PROP_OPENNI_OUTPUT_MODE =
100
- CAP_PROP_OPENNI_FRAME_MAX_DEPTH =
101
- CAP_PROP_OPENNI_BASELINE =
102
- CAP_PROP_OPENNI_FOCAL_LENGTH =
103
- CAP_PROP_OPENNI_REGISTRATION =
104
- CAP_PROP_OPENNI_REGISTRATION_ON =
Cv::CAP_PROP_OPENNI_REGISTRATION
- CAP_PROP_OPENNI_APPROX_FRAME_SYNC =
105
- CAP_PROP_OPENNI_MAX_BUFFER_SIZE =
106
- CAP_PROP_OPENNI_CIRCLE_BUFFER =
107
- CAP_PROP_OPENNI_MAX_TIME_DURATION =
108
- CAP_PROP_OPENNI_GENERATOR_PRESENT =
109
- CAP_PROP_OPENNI2_SYNC =
110
- CAP_PROP_OPENNI2_MIRROR =
111
- CAP_OPENNI_IMAGE_GENERATOR_PRESENT =
Cv::CAP_OPENNI_IMAGE_GENERATOR+Cv::CAP_PROP_OPENNI_GENERATOR_PRESENT
- CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE =
Cv::CAP_OPENNI_IMAGE_GENERATOR+Cv::CAP_PROP_OPENNI_OUTPUT_MODE
- CAP_OPENNI_DEPTH_GENERATOR_PRESENT =
Cv::CAP_OPENNI_DEPTH_GENERATOR+Cv::CAP_PROP_OPENNI_GENERATOR_PRESENT
- CAP_OPENNI_DEPTH_GENERATOR_BASELINE =
Cv::CAP_OPENNI_DEPTH_GENERATOR+Cv::CAP_PROP_OPENNI_BASELINE
- CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH =
Cv::CAP_OPENNI_DEPTH_GENERATOR+Cv::CAP_PROP_OPENNI_FOCAL_LENGTH
- CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION =
Cv::CAP_OPENNI_DEPTH_GENERATOR+Cv::CAP_PROP_OPENNI_REGISTRATION
- CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON =
Cv::CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION
- CAP_OPENNI_IR_GENERATOR_PRESENT =
Cv::CAP_OPENNI_IR_GENERATOR+Cv::CAP_PROP_OPENNI_GENERATOR_PRESENT
- CAP_OPENNI_DEPTH_MAP =
0
- CAP_OPENNI_POINT_CLOUD_MAP =
1
- CAP_OPENNI_DISPARITY_MAP =
2
- CAP_OPENNI_DISPARITY_MAP_32F =
3
- CAP_OPENNI_VALID_DEPTH_MASK =
4
- CAP_OPENNI_BGR_IMAGE =
5
- CAP_OPENNI_GRAY_IMAGE =
6
- CAP_OPENNI_IR_IMAGE =
7
- CAP_OPENNI_VGA_30HZ =
0
- CAP_OPENNI_SXGA_15HZ =
1
- CAP_OPENNI_SXGA_30HZ =
2
- CAP_OPENNI_QVGA_30HZ =
3
- CAP_OPENNI_QVGA_60HZ =
4
- CAP_PROP_GSTREAMER_QUEUE_LENGTH =
200
- CAP_PROP_PVAPI_MULTICASTIP =
300
- CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE =
301
- CAP_PROP_PVAPI_DECIMATIONHORIZONTAL =
302
- CAP_PROP_PVAPI_DECIMATIONVERTICAL =
303
- CAP_PROP_PVAPI_BINNINGX =
304
- CAP_PROP_PVAPI_BINNINGY =
305
- CAP_PROP_PVAPI_PIXELFORMAT =
306
- CAP_PVAPI_FSTRIGMODE_FREERUN =
0
- CAP_PVAPI_FSTRIGMODE_SYNCIN1 =
1
- CAP_PVAPI_FSTRIGMODE_SYNCIN2 =
2
- CAP_PVAPI_FSTRIGMODE_FIXEDRATE =
3
- CAP_PVAPI_FSTRIGMODE_SOFTWARE =
4
- CAP_PVAPI_DECIMATION_OFF =
1
- CAP_PVAPI_DECIMATION_2OUTOF4 =
2
- CAP_PVAPI_DECIMATION_2OUTOF8 =
4
- CAP_PVAPI_DECIMATION_2OUTOF16 =
8
- CAP_PVAPI_PIXELFORMAT_MONO8 =
1
- CAP_PVAPI_PIXELFORMAT_MONO16 =
2
- CAP_PVAPI_PIXELFORMAT_BAYER8 =
3
- CAP_PVAPI_PIXELFORMAT_BAYER16 =
4
- CAP_PVAPI_PIXELFORMAT_RGB24 =
5
- CAP_PVAPI_PIXELFORMAT_BGR24 =
6
- CAP_PVAPI_PIXELFORMAT_RGBA32 =
7
- CAP_PVAPI_PIXELFORMAT_BGRA32 =
8
- CAP_PROP_XI_DOWNSAMPLING =
400
- CAP_PROP_XI_DATA_FORMAT =
401
- CAP_PROP_XI_OFFSET_X =
402
- CAP_PROP_XI_OFFSET_Y =
403
- CAP_PROP_XI_TRG_SOURCE =
404
- CAP_PROP_XI_TRG_SOFTWARE =
405
- CAP_PROP_XI_GPI_SELECTOR =
406
- CAP_PROP_XI_GPI_MODE =
407
- CAP_PROP_XI_GPI_LEVEL =
408
- CAP_PROP_XI_GPO_SELECTOR =
409
- CAP_PROP_XI_GPO_MODE =
410
- CAP_PROP_XI_LED_SELECTOR =
411
- CAP_PROP_XI_LED_MODE =
412
- CAP_PROP_XI_MANUAL_WB =
413
- CAP_PROP_XI_AUTO_WB =
414
- CAP_PROP_XI_AEAG =
415
- CAP_PROP_XI_EXP_PRIORITY =
416
- CAP_PROP_XI_AE_MAX_LIMIT =
417
- CAP_PROP_XI_AG_MAX_LIMIT =
418
- CAP_PROP_XI_AEAG_LEVEL =
419
- CAP_PROP_XI_TIMEOUT =
420
- CAP_PROP_XI_EXPOSURE =
421
- CAP_PROP_XI_EXPOSURE_BURST_COUNT =
422
- CAP_PROP_XI_GAIN_SELECTOR =
423
- CAP_PROP_XI_GAIN =
424
- CAP_PROP_XI_DOWNSAMPLING_TYPE =
426
- CAP_PROP_XI_BINNING_SELECTOR =
427
- CAP_PROP_XI_BINNING_VERTICAL =
428
- CAP_PROP_XI_BINNING_HORIZONTAL =
429
- CAP_PROP_XI_BINNING_PATTERN =
430
- CAP_PROP_XI_DECIMATION_SELECTOR =
431
- CAP_PROP_XI_DECIMATION_VERTICAL =
432
- CAP_PROP_XI_DECIMATION_HORIZONTAL =
433
- CAP_PROP_XI_DECIMATION_PATTERN =
434
- CAP_PROP_XI_TEST_PATTERN_GENERATOR_SELECTOR =
587
- CAP_PROP_XI_TEST_PATTERN =
588
- CAP_PROP_XI_IMAGE_DATA_FORMAT =
435
- CAP_PROP_XI_SHUTTER_TYPE =
436
- CAP_PROP_XI_SENSOR_TAPS =
437
- CAP_PROP_XI_AEAG_ROI_OFFSET_X =
439
- CAP_PROP_XI_AEAG_ROI_OFFSET_Y =
440
- CAP_PROP_XI_AEAG_ROI_WIDTH =
441
- CAP_PROP_XI_AEAG_ROI_HEIGHT =
442
- CAP_PROP_XI_BPC =
445
- CAP_PROP_XI_WB_KR =
448
- CAP_PROP_XI_WB_KG =
449
- CAP_PROP_XI_WB_KB =
450
- CAP_PROP_XI_WIDTH =
451
- CAP_PROP_XI_HEIGHT =
452
- CAP_PROP_XI_REGION_SELECTOR =
589
- CAP_PROP_XI_REGION_MODE =
595
- CAP_PROP_XI_LIMIT_BANDWIDTH =
459
- CAP_PROP_XI_SENSOR_DATA_BIT_DEPTH =
460
- CAP_PROP_XI_OUTPUT_DATA_BIT_DEPTH =
461
- CAP_PROP_XI_IMAGE_DATA_BIT_DEPTH =
462
- CAP_PROP_XI_OUTPUT_DATA_PACKING =
463
- CAP_PROP_XI_OUTPUT_DATA_PACKING_TYPE =
464
- CAP_PROP_XI_IS_COOLED =
465
- CAP_PROP_XI_COOLING =
466
- CAP_PROP_XI_TARGET_TEMP =
467
- CAP_PROP_XI_CHIP_TEMP =
468
- CAP_PROP_XI_HOUS_TEMP =
469
- CAP_PROP_XI_HOUS_BACK_SIDE_TEMP =
590
- CAP_PROP_XI_SENSOR_BOARD_TEMP =
596
- CAP_PROP_XI_CMS =
470
- CAP_PROP_XI_APPLY_CMS =
471
- CAP_PROP_XI_IMAGE_IS_COLOR =
474
- CAP_PROP_XI_COLOR_FILTER_ARRAY =
475
- CAP_PROP_XI_GAMMAY =
476
- CAP_PROP_XI_GAMMAC =
477
- CAP_PROP_XI_SHARPNESS =
478
- CAP_PROP_XI_CC_MATRIX_00 =
479
- CAP_PROP_XI_CC_MATRIX_01 =
480
- CAP_PROP_XI_CC_MATRIX_02 =
481
- CAP_PROP_XI_CC_MATRIX_03 =
482
- CAP_PROP_XI_CC_MATRIX_10 =
483
- CAP_PROP_XI_CC_MATRIX_11 =
484
- CAP_PROP_XI_CC_MATRIX_12 =
485
- CAP_PROP_XI_CC_MATRIX_13 =
486
- CAP_PROP_XI_CC_MATRIX_20 =
487
- CAP_PROP_XI_CC_MATRIX_21 =
488
- CAP_PROP_XI_CC_MATRIX_22 =
489
- CAP_PROP_XI_CC_MATRIX_23 =
490
- CAP_PROP_XI_CC_MATRIX_30 =
491
- CAP_PROP_XI_CC_MATRIX_31 =
492
- CAP_PROP_XI_CC_MATRIX_32 =
493
- CAP_PROP_XI_CC_MATRIX_33 =
494
- CAP_PROP_XI_DEFAULT_CC_MATRIX =
495
- CAP_PROP_XI_TRG_SELECTOR =
498
- CAP_PROP_XI_ACQ_FRAME_BURST_COUNT =
499
- CAP_PROP_XI_DEBOUNCE_EN =
507
- CAP_PROP_XI_DEBOUNCE_T0 =
508
- CAP_PROP_XI_DEBOUNCE_T1 =
509
- CAP_PROP_XI_DEBOUNCE_POL =
510
- CAP_PROP_XI_LENS_MODE =
511
- CAP_PROP_XI_LENS_APERTURE_VALUE =
512
- CAP_PROP_XI_LENS_FOCUS_MOVEMENT_VALUE =
513
- CAP_PROP_XI_LENS_FOCUS_MOVE =
514
- CAP_PROP_XI_LENS_FOCUS_DISTANCE =
515
- CAP_PROP_XI_LENS_FOCAL_LENGTH =
516
- CAP_PROP_XI_LENS_FEATURE_SELECTOR =
517
- CAP_PROP_XI_LENS_FEATURE =
518
- CAP_PROP_XI_DEVICE_MODEL_ID =
521
- CAP_PROP_XI_DEVICE_SN =
522
- CAP_PROP_XI_IMAGE_DATA_FORMAT_RGB32_ALPHA =
529
- CAP_PROP_XI_IMAGE_PAYLOAD_SIZE =
530
- CAP_PROP_XI_TRANSPORT_PIXEL_FORMAT =
531
- CAP_PROP_XI_SENSOR_CLOCK_FREQ_HZ =
532
- CAP_PROP_XI_SENSOR_CLOCK_FREQ_INDEX =
533
- CAP_PROP_XI_SENSOR_OUTPUT_CHANNEL_COUNT =
534
- CAP_PROP_XI_FRAMERATE =
535
- CAP_PROP_XI_COUNTER_SELECTOR =
536
- CAP_PROP_XI_COUNTER_VALUE =
537
- CAP_PROP_XI_ACQ_TIMING_MODE =
538
- CAP_PROP_XI_AVAILABLE_BANDWIDTH =
539
- CAP_PROP_XI_BUFFER_POLICY =
540
- CAP_PROP_XI_LUT_EN =
541
- CAP_PROP_XI_LUT_INDEX =
542
- CAP_PROP_XI_LUT_VALUE =
543
- CAP_PROP_XI_TRG_DELAY =
544
- CAP_PROP_XI_TS_RST_MODE =
545
- CAP_PROP_XI_TS_RST_SOURCE =
546
- CAP_PROP_XI_IS_DEVICE_EXIST =
547
- CAP_PROP_XI_ACQ_BUFFER_SIZE =
548
- CAP_PROP_XI_ACQ_BUFFER_SIZE_UNIT =
549
- CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_SIZE =
550
- CAP_PROP_XI_BUFFERS_QUEUE_SIZE =
551
- CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_COMMIT =
552
- CAP_PROP_XI_RECENT_FRAME =
553
- CAP_PROP_XI_DEVICE_RESET =
554
- CAP_PROP_XI_COLUMN_FPN_CORRECTION =
555
- CAP_PROP_XI_ROW_FPN_CORRECTION =
591
- CAP_PROP_XI_SENSOR_MODE =
558
- CAP_PROP_XI_HDR =
559
- CAP_PROP_XI_HDR_KNEEPOINT_COUNT =
560
- CAP_PROP_XI_HDR_T1 =
561
- CAP_PROP_XI_HDR_T2 =
562
- CAP_PROP_XI_KNEEPOINT1 =
563
- CAP_PROP_XI_KNEEPOINT2 =
564
- CAP_PROP_XI_IMAGE_BLACK_LEVEL =
565
- CAP_PROP_XI_HW_REVISION =
571
- CAP_PROP_XI_DEBUG_LEVEL =
572
- CAP_PROP_XI_AUTO_BANDWIDTH_CALCULATION =
573
- CAP_PROP_XI_FFS_FILE_ID =
594
- CAP_PROP_XI_FFS_FILE_SIZE =
580
- CAP_PROP_XI_FREE_FFS_SIZE =
581
- CAP_PROP_XI_USED_FFS_SIZE =
582
- CAP_PROP_XI_FFS_ACCESS_KEY =
583
- CAP_PROP_XI_SENSOR_FEATURE_SELECTOR =
585
- CAP_PROP_XI_SENSOR_FEATURE_VALUE =
586
- CAP_PROP_ARAVIS_AUTOTRIGGER =
600
- CAP_PROP_IOS_DEVICE_FOCUS =
9001
- CAP_PROP_IOS_DEVICE_EXPOSURE =
9002
- CAP_PROP_IOS_DEVICE_FLASH =
9003
- CAP_PROP_IOS_DEVICE_WHITEBALANCE =
9004
- CAP_PROP_IOS_DEVICE_TORCH =
9005
- CAP_PROP_GIGA_FRAME_OFFSET_X =
10001
- CAP_PROP_GIGA_FRAME_OFFSET_Y =
10002
- CAP_PROP_GIGA_FRAME_WIDTH_MAX =
10003
- CAP_PROP_GIGA_FRAME_HEIGH_MAX =
10004
- CAP_PROP_GIGA_FRAME_SENS_WIDTH =
10005
- CAP_PROP_GIGA_FRAME_SENS_HEIGH =
10006
- CAP_PROP_INTELPERC_PROFILE_COUNT =
11001
- CAP_PROP_INTELPERC_PROFILE_IDX =
11002
- CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE =
11003
- CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE =
11004
- CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD =
11005
- CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ =
11006
- CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT =
11007
- CAP_INTELPERC_DEPTH_GENERATOR =
536870912
- CAP_INTELPERC_IMAGE_GENERATOR =
268435456
- CAP_INTELPERC_IR_GENERATOR =
134217728
- CAP_INTELPERC_GENERATORS_MASK =
Cv::CAP_INTELPERC_DEPTH_GENERATOR+Cv::CAP_INTELPERC_IMAGE_GENERATOR+Cv::CAP_INTELPERC_IR_GENERATOR
- CAP_INTELPERC_DEPTH_MAP =
0
- CAP_INTELPERC_UVDEPTH_MAP =
1
- CAP_INTELPERC_IR_MAP =
2
- CAP_INTELPERC_IMAGE =
3
- CAP_PROP_GPHOTO2_PREVIEW =
17001
- CAP_PROP_GPHOTO2_WIDGET_ENUMERATE =
17002
- CAP_PROP_GPHOTO2_RELOAD_CONFIG =
17003
- CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE =
17004
- CAP_PROP_GPHOTO2_COLLECT_MSGS =
17005
- CAP_PROP_GPHOTO2_FLUSH_MSGS =
17006
- CAP_PROP_SPEED =
17007
- CAP_PROP_APERTURE =
17008
- CAP_PROP_EXPOSUREPROGRAM =
17009
- CAP_PROP_VIEWFINDER =
17010
- CAP_PROP_IMAGES_BASE =
18000
- CAP_PROP_IMAGES_LAST =
19000
- WINDOW_NORMAL =
0
- WINDOW_AUTOSIZE =
1
- WINDOW_OPENGL =
4096
- WINDOW_FULLSCREEN =
1
- WINDOW_FREERATIO =
256
- WINDOW_KEEPRATIO =
0
- WINDOW_GUI_EXPANDED =
0
- WINDOW_GUI_NORMAL =
16
- WND_PROP_FULLSCREEN =
0
- WND_PROP_AUTOSIZE =
1
- WND_PROP_ASPECT_RATIO =
2
- WND_PROP_OPENGL =
3
- WND_PROP_VISIBLE =
4
- WND_PROP_TOPMOST =
5
- WND_PROP_VSYNC =
6
- EVENT_MOUSEMOVE =
0
- EVENT_LBUTTONDOWN =
1
- EVENT_RBUTTONDOWN =
2
- EVENT_MBUTTONDOWN =
3
- EVENT_LBUTTONUP =
4
- EVENT_RBUTTONUP =
5
- EVENT_MBUTTONUP =
6
- EVENT_LBUTTONDBLCLK =
7
- EVENT_RBUTTONDBLCLK =
8
- EVENT_MBUTTONDBLCLK =
9
- EVENT_MOUSEWHEEL =
10
- EVENT_MOUSEHWHEEL =
11
- EVENT_FLAG_LBUTTON =
1
- EVENT_FLAG_RBUTTON =
2
- EVENT_FLAG_MBUTTON =
4
- EVENT_FLAG_CTRLKEY =
8
- EVENT_FLAG_SHIFTKEY =
16
- EVENT_FLAG_ALTKEY =
32
- QT_FONT_LIGHT =
25
- QT_FONT_NORMAL =
50
- QT_FONT_DEMIBOLD =
63
- QT_FONT_BOLD =
75
- QT_FONT_BLACK =
87
- QT_STYLE_NORMAL =
0
- QT_STYLE_ITALIC =
1
- QT_STYLE_OBLIQUE =
2
- QT_PUSH_BUTTON =
0
- QT_CHECKBOX =
1
- QT_RADIOBOX =
2
- QT_NEW_BUTTONBAR =
1024
- OPTFLOW_USE_INITIAL_FLOW =
4
- OPTFLOW_LK_GET_MIN_EIGENVALS =
8
- OPTFLOW_FARNEBACK_GAUSSIAN =
256
- MOTION_TRANSLATION =
0
- MOTION_EUCLIDEAN =
1
- MOTION_AFFINE =
2
- MOTION_HOMOGRAPHY =
3
- DEFAULT =
0
- DRAW_OVER_OUTIMG =
1
- NOT_DRAW_SINGLE_POINTS =
2
- DRAW_RICH_KEYPOINTS =
4
- LMEDS =
4
- RANSAC =
8
- RHO =
16
- USAC_DEFAULT =
32
- USAC_PARALLEL =
33
- USAC_FM_8PTS =
34
- USAC_FAST =
35
- USAC_ACCURATE =
36
- USAC_PROSAC =
37
- USAC_MAGSAC =
38
- SOLVEPNP_ITERATIVE =
0
- SOLVEPNP_EPNP =
1
- SOLVEPNP_P3P =
2
- SOLVEPNP_DLS =
3
- SOLVEPNP_UPNP =
4
- SOLVEPNP_AP3P =
5
- SOLVEPNP_IPPE =
6
- SOLVEPNP_IPPE_SQUARE =
7
- SOLVEPNP_SQPNP =
8
- SOLVEPNP_MAX_COUNT =
9
- CALIB_CB_ADAPTIVE_THRESH =
1
- CALIB_CB_NORMALIZE_IMAGE =
2
- CALIB_CB_FILTER_QUADS =
4
- CALIB_CB_FAST_CHECK =
8
- CALIB_CB_EXHAUSTIVE =
16
- CALIB_CB_ACCURACY =
32
- CALIB_CB_LARGER =
64
- CALIB_CB_MARKER =
128
- CALIB_CB_SYMMETRIC_GRID =
1
- CALIB_CB_ASYMMETRIC_GRID =
2
- CALIB_CB_CLUSTERING =
4
- CALIB_NINTRINSIC =
18
- CALIB_USE_INTRINSIC_GUESS =
1
- CALIB_FIX_ASPECT_RATIO =
2
- CALIB_FIX_PRINCIPAL_POINT =
4
- CALIB_ZERO_TANGENT_DIST =
8
- CALIB_FIX_FOCAL_LENGTH =
16
- CALIB_FIX_K1 =
32
- CALIB_FIX_K2 =
64
- CALIB_FIX_K3 =
128
- CALIB_FIX_K4 =
2048
- CALIB_FIX_K5 =
4096
- CALIB_FIX_K6 =
8192
- CALIB_RATIONAL_MODEL =
16384
- CALIB_THIN_PRISM_MODEL =
32768
- CALIB_FIX_S1_S2_S3_S4 =
65536
- CALIB_TILTED_MODEL =
262144
- CALIB_FIX_TAUX_TAUY =
524288
- CALIB_USE_QR =
1048576
- CALIB_FIX_TANGENT_DIST =
2097152
- CALIB_FIX_INTRINSIC =
256
- CALIB_SAME_FOCAL_LENGTH =
512
- CALIB_ZERO_DISPARITY =
1024
- CALIB_USE_LU =
131072
- CALIB_USE_EXTRINSIC_GUESS =
4194304
- FM_7POINT =
1
- FM_8POINT =
2
- FM_LMEDS =
4
- FM_RANSAC =
8
- CALIB_HAND_EYE_TSAI =
0
- CALIB_HAND_EYE_PARK =
1
- CALIB_HAND_EYE_HORAUD =
2
- CALIB_HAND_EYE_ANDREFF =
3
- CALIB_HAND_EYE_DANIILIDIS =
4
- CALIB_ROBOT_WORLD_HAND_EYE_SHAH =
0
- CALIB_ROBOT_WORLD_HAND_EYE_LI =
1
- SAMPLING_UNIFORM =
0
- SAMPLING_PROGRESSIVE_NAPSAC =
1
- SAMPLING_NAPSAC =
2
- SAMPLING_PROSAC =
3
- LOCAL_OPTIM_NULL =
0
- LOCAL_OPTIM_INNER_LO =
1
- LOCAL_OPTIM_INNER_AND_ITER_LO =
2
- LOCAL_OPTIM_GC =
3
- LOCAL_OPTIM_SIGMA =
4
- SCORE_METHOD_RANSAC =
0
- SCORE_METHOD_MSAC =
1
- SCORE_METHOD_MAGSAC =
2
- SCORE_METHOD_LMEDS =
3
- NEIGH_FLANN_KNN =
0
- NEIGH_GRID =
1
- NEIGH_FLANN_RADIUS =
2
- PROJ_SPHERICAL_ORTHO =
0
- PROJ_SPHERICAL_EQRECT =
1
- CASCADE_DO_CANNY_PRUNING =
1
- CASCADE_SCALE_IMAGE =
2
- CASCADE_FIND_BIGGEST_OBJECT =
4
- CASCADE_DO_ROUGH_SEARCH =
8
Constant Summary
collapse
- GoodFeatureToTrackDetector =
GFTTDetector
- StarFeatureDetector =
StarDetector
Class Method Summary
collapse
-
.abs(src) ⇒ Cv::Mat
-
.absdiff(_src1, _src2, dst) ⇒ Void
-
.accumulate(src, dst, mask = Cv::Mat.new()) ⇒ Void
-
.accumulate_product(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
(also: accumulateProduct)
-
.accumulate_square(src, dst, mask = Cv::Mat.new()) ⇒ Void
(also: accumulateSquare)
-
.accumulate_weighted(src, dst, alpha, mask = Cv::Mat.new()) ⇒ Void
(also: accumulateWeighted)
-
.adaptive_threshold(src, dst, max_value, adaptive_method, threshold_type, block_size, c) ⇒ Void
(also: adaptiveThreshold)
-
.add(_src1, _src2, dst, mask = Cv::Mat.new(), dtype = -1)) ⇒ Void
-
.add_text(img, text, org, name_font, point_size = -1,, color = Cv::Scalar::all(0), weight = QT_FONT_NORMAL, style = QT_STYLE_NORMAL, spacing = 0) ⇒ Void
(also: addText)
-
.add_weighted(_src1, alpha, _src2, beta, gamma, dst, dtype = -1)) ⇒ Void
(also: addWeighted)
-
.apply_color_map(*args) ⇒ Object
-
.approx_polydp(curve, approx_curve, epsilon, closed) ⇒ Void
(also: approxPolyDP)
-
.arc_length(curve, closed) ⇒ Double
(also: arcLength)
-
.arrowed_line(img, _pt1, _pt2, color, thickness = 1, line_type = 8, shift = 0, tip_length = 0.1) ⇒ Void
(also: arrowedLine)
-
.batch_distance(_src1, _src2, dist, dtype, nidx, norm_type = NORM_L2, k = 0, mask = Cv::Mat.new(), update = 0, crosscheck = false) ⇒ Void
(also: batchDistance)
-
.bilateral_filter(src, dst, d, sigma_color, sigma_space, border_type = BORDER_DEFAULT) ⇒ Void
(also: bilateralFilter)
-
.bitwise_and(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
-
.bitwise_not(src, dst, mask = Cv::Mat.new()) ⇒ Void
-
.bitwise_or(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
-
.bitwise_xor(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
-
.blend_linear(_src1, _src2, _weights1, _weights2, dst) ⇒ Void
(also: blendLinear)
-
.blur(src, dst, ksize, anchor = Cv::Point.new(-1,-1), border_type = BORDER_DEFAULT) ⇒ Void
-
.border_interpolate(p, len, border_type) ⇒ Fixnum
(also: borderInterpolate)
-
.bounding_rect(array) ⇒ Cv::Rect
(also: boundingRect)
-
.box_filter(src, dst, ddepth, ksize, anchor = Cv::Point.new(-1,-1), normalize = true, border_type = BORDER_DEFAULT) ⇒ Void
(also: boxFilter)
-
.box_points(box, points) ⇒ Void
(also: boxPoints)
-
.build_optical_flow_pyramid(img, pyramid, win_size, max_level, with_derivatives = true, pyr_border = BORDER_REFLECT_101, deriv_border = BORDER_CONSTANT, try_reuse_input_image = true) ⇒ Fixnum
(also: buildOpticalFlowPyramid)
-
.calc_back_project(images, channels, hist, dst, ranges, scale) ⇒ Void
(also: calcBackProject)
-
.calc_covar_matrix(samples, covar, mean, flags, ctype = CV_64F) ⇒ Void
(also: calcCovarMatrix)
-
.calc_hist(images, channels, mask, hist, hist_size, ranges, accumulate = false) ⇒ Void
(also: calcHist)
-
.calc_optical_flow_farneback(prev, next_, flow, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags) ⇒ Void
(also: calcOpticalFlowFarneback)
-
.calc_optical_flow_pyrlk(prev_img, next_img, prev_pts, next_pts, status, err, win_size = Cv::Size.new(21,21), max_level = 3, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), flags = 0, min_eig_threshold = 1e-4) ⇒ Void
(also: calcOpticalFlowPyrLK)
-
.calibrate_camera(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
(also: calibrateCamera)
-
.calibrate_camera_extended(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, std_deviations_intrinsics, std_deviations_extrinsics, per_view_errors, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
(also: calibrateCameraExtended)
-
.calibrate_cameraro(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
(also: calibrateCameraRO)
-
.calibrate_cameraro_extended(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, std_deviations_intrinsics, std_deviations_extrinsics, std_deviations_obj_points, per_view_errors, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
(also: calibrateCameraROExtended)
-
.calibrate_hand_eye(_r_gripper2base, _t_gripper2base, _r_target2cam, _t_target2cam, _r_cam2gripper, _t_cam2gripper, method = :CALIB_HAND_EYE_TSAI) ⇒ Void
(also: calibrateHandEye)
-
.calibrate_robot_world_hand_eye(_r_world2cam, _t_world2cam, _r_base2gripper, _t_base2gripper, _r_base2world, _t_base2world, _r_gripper2cam, _t_gripper2cam, method = :CALIB_ROBOT_WORLD_HAND_EYE_SHAH) ⇒ Void
(also: calibrateRobotWorldHandEye)
-
.calibration_matrix_values(camera_matrix, image_size, aperture_width, aperture_height, fovx, fovy, focal_length, principal_point, aspect_ratio) ⇒ Void
(also: calibrationMatrixValues)
-
.cam_shift(prob_image, window, criteria) ⇒ Cv::RotatedRect
(also: CamShift)
-
.canny(*args) ⇒ Object
-
.cart_to_polar(x, y, magnitude, angle, angle_in_degrees = false) ⇒ Void
(also: cartToPolar)
-
.check_chessboard(img, size) ⇒ Bool
(also: checkChessboard)
-
.check_hardware_support(feature) ⇒ Bool
(also: checkHardwareSupport)
-
.check_range(a, quiet = true, pos = Cv::Point::null, min_val = -DBL_MAX,, max_val = DBL_MAX) ⇒ Bool
(also: checkRange)
-
.circle(img, center, radius, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
-
.clip_line(img_rect, _pt1, _pt2) ⇒ Bool
(also: clipLine)
-
.color_change(src, mask, dst, red_mul = 1.0, green_mul = 1.0, blue_mul = 1.0) ⇒ Void
(also: colorChange)
-
.compare(_src1, _src2, dst, cmpop) ⇒ Void
-
.compare_hist(_h1, _h2, method) ⇒ Double
(also: compareHist)
-
.complete_symm(m, lower_to_upper = false) ⇒ Void
(also: completeSymm)
-
.composert(_rvec1, _tvec1, _rvec2, _tvec2, _rvec3, _tvec3, _dr3dr1 = Cv::Mat.new(), _dr3dt1 = Cv::Mat.new(), _dr3dr2 = Cv::Mat.new(), _dr3dt2 = Cv::Mat.new(), _dt3dr1 = Cv::Mat.new(), _dt3dt1 = Cv::Mat.new(), _dt3dr2 = Cv::Mat.new(), _dt3dt2 = Cv::Mat.new()) ⇒ Void
(also: composeRT)
-
.compute_correspond_epilines(points, which_image, f, lines) ⇒ Void
(also: computeCorrespondEpilines)
-
.computeecc(template_image, input_image, input_mask = Cv::Mat.new()) ⇒ Double
(also: computeECC)
-
.connected_components(image, labels, connectivity = 8, ltype = CV_32S) ⇒ Fixnum
(also: connectedComponents)
-
.connected_components_with_algorithm(image, labels, connectivity, ltype, ccltype) ⇒ Fixnum
(also: connectedComponentsWithAlgorithm)
-
.connected_components_with_stats(image, labels, stats, centroids, connectivity = 8, ltype = CV_32S) ⇒ Fixnum
(also: connectedComponentsWithStats)
-
.connected_components_with_stats_with_algorithm(image, labels, stats, centroids, connectivity, ltype, ccltype) ⇒ Fixnum
(also: connectedComponentsWithStatsWithAlgorithm)
-
.contour_area(contour, oriented = false) ⇒ Double
(also: contourArea)
-
.convert_fp16(src, dst) ⇒ Void
(also: convertFp16)
-
.convert_maps(_map1, _map2, _dstmap1, _dstmap2, _dstmap1type, nninterpolation = false) ⇒ Void
(also: convertMaps)
-
.convert_points_from_homogeneous(src, dst) ⇒ Void
(also: convertPointsFromHomogeneous)
-
.convert_points_to_homogeneous(src, dst) ⇒ Void
(also: convertPointsToHomogeneous)
-
.convert_scale_abs(src, dst, alpha = 1, beta = 0) ⇒ Void
(also: convertScaleAbs)
-
.convex_hull(points, hull, clockwise = false, return_points = true) ⇒ Void
(also: convexHull)
-
.convexity_defects(contour, convexhull, convexity_defects) ⇒ Void
(also: convexityDefects)
-
.copy_make_border(src, dst, top, bottom, left, right, border_type, value = Cv::Scalar.new()) ⇒ Void
(also: copyMakeBorder)
-
.copy_to(src, dst, mask) ⇒ Void
(also: copyTo)
-
.corner_eigen_vals_and_vecs(src, dst, block_size, ksize, border_type = BORDER_DEFAULT) ⇒ Void
(also: cornerEigenValsAndVecs)
-
.corner_harris(src, dst, block_size, ksize, k, border_type = BORDER_DEFAULT) ⇒ Void
(also: cornerHarris)
-
.corner_min_eigen_val(src, dst, block_size, ksize = 3, border_type = BORDER_DEFAULT) ⇒ Void
(also: cornerMinEigenVal)
-
.corner_sub_pix(image, corners, win_size, zero_zone, criteria) ⇒ Void
(also: cornerSubPix)
-
.correct_matches(f, _points1, _points2, _new_points1, _new_points2) ⇒ Void
(also: correctMatches)
-
.count_non_zero(src) ⇒ Fixnum
(also: countNonZero)
-
.create_affine_transformer(full_affine) ⇒ Cv::Ptr::Cv_AffineTransformer
(also: createAffineTransformer)
-
.create_alignmtb(max_bits = 6, exclude_range = 4, cut = true) ⇒ Cv::Ptr::Cv_AlignMTB
(also: createAlignMTB)
-
.create_background_subtractorknn(history = 500, _dist2_threshold = 400.0, detect_shadows = true) ⇒ Cv::Ptr::Cv_BackgroundSubtractorKNN
(also: createBackgroundSubtractorKNN)
-
.create_background_subtractormog2(history = 500, var_threshold = 16, detect_shadows = true) ⇒ Cv::Ptr::Cv_BackgroundSubtractorMOG2
(also: createBackgroundSubtractorMOG2)
-
.create_calibrate_debevec(samples = 70, lambda = 10.0, random = false) ⇒ Cv::Ptr::Cv_CalibrateDebevec
(also: createCalibrateDebevec)
-
.create_calibrate_robertson(max_iter = 30, threshold = 0.01) ⇒ Cv::Ptr::Cv_CalibrateRobertson
(also: createCalibrateRobertson)
-
.create_chi_histogram_cost_extractor(n_dummies = 25, default_cost = 0.2) ⇒ Cv::Ptr::Cv_HistogramCostExtractor
(also: createChiHistogramCostExtractor)
-
.create_generalized_hough_ballard ⇒ Cv::Ptr::Cv_GeneralizedHoughBallard
(also: createGeneralizedHoughBallard)
-
.create_generalized_hough_guil ⇒ Cv::Ptr::Cv_GeneralizedHoughGuil
(also: createGeneralizedHoughGuil)
-
.create_hanning_window(dst, win_size, type) ⇒ Void
(also: createHanningWindow)
-
.create_hausdorff_distance_extractor(distance_flag = Cv::NORM_L2, rank_prop = 0.6) ⇒ Cv::Ptr::Cv_HausdorffDistanceExtractor
(also: createHausdorffDistanceExtractor)
-
.create_line_segment_detector(refine = LSD_REFINE_STD, scale = 0.8, sigma_scale = 0.6, quant = 2.0, ang_th = 22.5, log_eps = 0, density_th = 0.7, n_bins = 1024) ⇒ Cv::Ptr::Cv_LineSegmentDetector
(also: createLineSegmentDetector)
-
.create_merge_debevec ⇒ Cv::Ptr::Cv_MergeDebevec
(also: createMergeDebevec)
-
.create_merge_mertens(contrast_weight = 1.0, saturation_weight = 1.0, exposure_weight = 0.0) ⇒ Cv::Ptr::Cv_MergeMertens
(also: createMergeMertens)
-
.create_merge_robertson ⇒ Cv::Ptr::Cv_MergeRobertson
(also: createMergeRobertson)
-
.create_norm_histogram_cost_extractor(flag = DIST_L2, n_dummies = 25, default_cost = 0.2) ⇒ Cv::Ptr::Cv_HistogramCostExtractor
(also: createNormHistogramCostExtractor)
-
.create_shape_context_distance_extractor(n_angular_bins = 12, n_radial_bins = 4, inner_radius = 0.2, outer_radius = 2, iterations = 3, comparer = create_chi_histogram_cost_extractor(), transformer = create_thin_plate_spline_shape_transformer()) ⇒ Cv::Ptr::Cv_ShapeContextDistanceExtractor
(also: createShapeContextDistanceExtractor)
-
.create_thin_plate_spline_shape_transformer(regularization_parameter = 0) ⇒ Cv::Ptr::Cv_ThinPlateSplineShapeTransformer
(also: createThinPlateSplineShapeTransformer)
-
.create_tonemap(gamma = 1.0) ⇒ Cv::Ptr::Cv_Tonemap
(also: createTonemap)
-
.create_tonemap_drago(gamma = 1.0, saturation = 1.0, bias = 0.85) ⇒ Cv::Ptr::Cv_TonemapDrago
(also: createTonemapDrago)
-
.create_tonemap_mantiuk(gamma = 1.0, scale = 0.7, saturation = 1.0) ⇒ Cv::Ptr::Cv_TonemapMantiuk
(also: createTonemapMantiuk)
-
.create_tonemap_reinhard(gamma = 1.0, intensity = 0.0, light_adapt = 1.0, color_adapt = 0.0) ⇒ Cv::Ptr::Cv_TonemapReinhard
(also: createTonemapReinhard)
-
.createclahe(clip_limit = 40.0, tile_grid_size = Cv::Size.new(8, 8)) ⇒ Cv::Ptr::Cv_CLAHE
(also: createCLAHE)
-
.createemd_histogram_cost_extractor(flag = DIST_L2, n_dummies = 25, default_cost = 0.2) ⇒ Cv::Ptr::Cv_HistogramCostExtractor
(also: createEMDHistogramCostExtractor)
-
.createemdl1_histogram_cost_extractor(n_dummies = 25, default_cost = 0.2) ⇒ Cv::Ptr::Cv_HistogramCostExtractor
(also: createEMDL1HistogramCostExtractor)
-
.cube_root(val) ⇒ Float
(also: cubeRoot)
-
.cvt_color(src, dst, code, dst_cn = 0) ⇒ Void
(also: cvtColor)
-
.cvt_color_two_plane(_src1, _src2, dst, code) ⇒ Void
(also: cvtColorTwoPlane)
-
.dct(src, dst, flags = 0) ⇒ Void
-
.decolor(src, grayscale, color_boost) ⇒ Void
-
.decompose_essential_mat(e, _r1, _r2, t) ⇒ Void
(also: decomposeEssentialMat)
-
.decompose_homography_mat(h, k, rotations, translations, normals) ⇒ Fixnum
(also: decomposeHomographyMat)
-
.decompose_projection_matrix(proj_matrix, camera_matrix, rot_matrix, trans_vect, rot_matrix_x = Cv::Mat.new(), rot_matrix_y = Cv::Mat.new(), rot_matrix_z = Cv::Mat.new(), euler_angles = Cv::Mat.new()) ⇒ Void
(also: decomposeProjectionMatrix)
-
.demosaicing(src, dst, code, dst_cn = 0) ⇒ Void
-
.denoise_tvl1(observations, result, lambda = 1.0, niters = 30) ⇒ Void
(also: denoise_TVL1)
-
.destroy_all_windows ⇒ Void
(also: destroyAllWindows)
-
.destroy_window(winname) ⇒ Void
(also: destroyWindow)
-
.detail_enhance(src, dst, sigma_s = 10, sigma_r = 0.15) ⇒ Void
(also: detailEnhance)
-
.determinant(mtx) ⇒ Double
-
.dft(src, dst, flags = 0, nonzero_rows = 0) ⇒ Void
-
.dilate(src, dst, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value()) ⇒ Void
-
.display_overlay(winname, text, delayms = 0) ⇒ Void
(also: displayOverlay)
-
.display_status_bar(winname, text, delayms = 0) ⇒ Void
(also: displayStatusBar)
-
.distance_transform(src, dst, distance_type, mask_size, dst_type = CV_32F) ⇒ Void
(also: distanceTransform)
-
.distance_transform_with_labels(src, dst, labels, distance_type, mask_size, label_type = DIST_LABEL_CCOMP) ⇒ Void
(also: distanceTransformWithLabels)
-
.div_spectrums(a, b, c, flags, conj_b = false) ⇒ Void
(also: divSpectrums)
-
.divide(*args) ⇒ Object
-
.draw_chessboard_corners(image, pattern_size, corners, pattern_was_found) ⇒ Void
(also: drawChessboardCorners)
-
.draw_contours(image, contours, contour_idx, color, thickness = 1, line_type = LINE_8, hierarchy = Cv::Mat.new(), max_level = INT_MAX, offset = Cv::Point.new()) ⇒ Void
(also: drawContours)
-
.draw_frame_axes(image, camera_matrix, dist_coeffs, rvec, tvec, length, thickness = 3) ⇒ Void
(also: drawFrameAxes)
-
.draw_keypoints(image, keypoints, out_image, color = Cv::Scalar::all(-1), flags = :DEFAULT) ⇒ Void
(also: drawKeypoints)
-
.draw_marker(img, position, color, marker_type = MARKER_CROSS, marker_size = 20, thickness = 1, line_type = 8) ⇒ Void
(also: drawMarker)
-
.draw_matches(*args) ⇒ Object
-
.draw_matches_knn(_img1, _keypoints1, _img2, _keypoints2, _matches1to2, out_img, match_color = Cv::Scalar::all(-1), single_point_color = Cv::Scalar::all(-1), matches_mask = Std::Vector::Std_Vector_Char.new(), flags = :DEFAULT) ⇒ Void
(also: drawMatchesKnn)
-
.edge_preserving_filter(src, dst, flags = 1, sigma_s = 60, sigma_r = 0.4) ⇒ Void
(also: edgePreservingFilter)
-
.eigen(src, eigenvalues, eigenvectors = Cv::Mat.new()) ⇒ Bool
-
.eigen_non_symmetric(src, eigenvalues, eigenvectors) ⇒ Void
(also: eigenNonSymmetric)
-
.ellipse(*args) ⇒ Object
-
.ellipse2_poly(center, axes, angle, arc_start, arc_end, delta, pts) ⇒ Void
(also: ellipse2Poly)
-
.emd(_signature1, _signature2, dist_type, cost = Cv::Mat.new(), lower_bound = Cv::Ptr::Float.new(), flow = Cv::Mat.new()) ⇒ Float
(also: EMD)
-
.equalize_hist(src, dst) ⇒ Void
(also: equalizeHist)
-
.erode(src, dst, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value()) ⇒ Void
-
.estimate_affine_2d(*args) ⇒ Object
(also: estimate_affine2d)
-
.estimate_affine_3d(*args) ⇒ Object
(also: estimate_affine3d)
-
.estimate_affine_partial2d(from, to, inliers = Cv::Mat.new(), method = RANSAC, ransac_reproj_threshold = 3, max_iters = 2000, confidence = 0.99, refine_iters = 10) ⇒ Cv::Mat
(also: estimateAffinePartial2D)
-
.estimate_chessboard_sharpness(image, pattern_size, corners, rise_distance = 0.8, vertical = false, sharpness = Cv::Mat.new()) ⇒ Cv::Scalar
(also: estimateChessboardSharpness)
-
.estimate_translation3d(src, dst, out, inliers, ransac_threshold = 3, confidence = 0.99) ⇒ Fixnum
(also: estimateTranslation3D)
-
.exp(src, dst) ⇒ Void
-
.extract_channel(src, dst, coi) ⇒ Void
(also: extractChannel)
-
.fast_atan2(y, x) ⇒ Float
(also: fastAtan2)
-
.fast_nl_means_denoising(*args) ⇒ Object
-
.fast_nl_means_denoising_colored(src, dst, h = 3, h_color = 3, template_window_size = 7, search_window_size = 21) ⇒ Void
(also: fastNlMeansDenoisingColored)
-
.fast_nl_means_denoising_colored_multi(src_imgs, dst, img_to_denoise_index, temporal_window_size, h = 3, h_color = 3, template_window_size = 7, search_window_size = 21) ⇒ Void
(also: fastNlMeansDenoisingColoredMulti)
-
.fast_nl_means_denoising_multi(*args) ⇒ Object
-
.fill_convex_poly(img, points, color, line_type = LINE_8, shift = 0) ⇒ Void
(also: fillConvexPoly)
-
.fill_poly(img, pts, color, line_type = LINE_8, shift = 0, offset = Cv::Point.new()) ⇒ Void
(also: fillPoly)
-
.filter2d(src, dst, ddepth, kernel, anchor = Cv::Point.new(-1,-1), delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
(also: filter2D)
-
.filter_homography_decomp_by_visible_refpoints(rotations, normals, before_points, after_points, possible_solutions, points_mask = Cv::Mat.new()) ⇒ Void
(also: filterHomographyDecompByVisibleRefpoints)
-
.filter_speckles(img, new_val, max_speckle_size, max_diff, buf = Cv::Mat.new()) ⇒ Void
(also: filterSpeckles)
-
.find4_quad_corner_subpix(img, corners, region_size) ⇒ Bool
(also: find4QuadCornerSubpix)
-
.find_chessboard_corners(image, pattern_size, corners, flags = CALIB_CB_ADAPTIVE_THRESH+CALIB_CB_NORMALIZE_IMAGE) ⇒ Bool
(also: findChessboardCorners)
-
.find_chessboard_cornerssb(image, pattern_size, corners, flags = 0) ⇒ Bool
(also: findChessboardCornersSB)
-
.find_chessboard_cornerssb_with_meta(image, pattern_size, corners, flags, meta) ⇒ Bool
(also: findChessboardCornersSBWithMeta)
-
.find_circles_grid(*args) ⇒ Object
-
.find_contours(image, contours, hierarchy, mode, method, offset = Cv::Point.new()) ⇒ Void
(also: findContours)
-
.find_essential_mat(*args) ⇒ Object
-
.find_fundamental_mat(*args) ⇒ Object
-
.find_homography(*args) ⇒ Object
-
.find_non_zero(src, idx) ⇒ Void
(also: findNonZero)
-
.find_transformecc(*args) ⇒ Object
-
.fit_ellipse(points) ⇒ Cv::RotatedRect
(also: fitEllipse)
-
.fit_ellipse_direct(points) ⇒ Cv::RotatedRect
(also: fitEllipseDirect)
-
.fit_ellipseams(points) ⇒ Cv::RotatedRect
(also: fitEllipseAMS)
-
.fit_line(points, line, dist_type, param, reps, aeps) ⇒ Void
(also: fitLine)
-
.flip(src, dst, flip_code) ⇒ Void
-
.flood_fill(image, mask, seed_point, new_val, rect = Cv::Rect::null, lo_diff = Cv::Scalar.new(), up_diff = Cv::Scalar.new(), flags = 4) ⇒ Fixnum
(also: floodFill)
-
.gaussian_blur(src, dst, ksize, sigma_x, sigma_y = 0, border_type = BORDER_DEFAULT) ⇒ Void
(also: GaussianBlur)
-
.gemm(_src1, _src2, alpha, _src3, beta, dst, flags = 0) ⇒ Void
-
.get_affine_transform(src, dst) ⇒ Cv::Mat
(also: getAffineTransform)
-
.get_build_information ⇒ Std::String
(also: getBuildInformation)
-
.get_default_new_camera_matrix(camera_matrix, imgsize = Cv::Size.new(), center_principal_point = false) ⇒ Cv::Mat
(also: getDefaultNewCameraMatrix)
-
.get_deriv_kernels(kx, ky, dx, dy, ksize, normalize = false, ktype = CV_32F) ⇒ Void
(also: getDerivKernels)
-
.get_font_scale_from_height(font_face, pixel_height, thickness = 1) ⇒ Double
(also: getFontScaleFromHeight)
-
.get_gabor_kernel(ksize, sigma, theta, lambd, gamma, psi = CV_PI*0.5, ktype = CV_64F) ⇒ Cv::Mat
(also: getGaborKernel)
-
.get_gaussian_kernel(ksize, sigma, ktype = CV_64F) ⇒ Cv::Mat
(also: getGaussianKernel)
-
.get_hardware_feature_name(feature) ⇒ Std::String
(also: getHardwareFeatureName)
-
.get_num_threads ⇒ Fixnum
(also: getNumThreads)
-
.get_number_ofcp_us ⇒ Fixnum
(also: getNumberOfCPUs)
-
.get_optimal_new_camera_matrix(camera_matrix, dist_coeffs, image_size, alpha, new_img_size = Cv::Size.new(), valid_pix_r_o_i = Cv::Rect::null, center_principal_point = false) ⇒ Cv::Mat
(also: getOptimalNewCameraMatrix)
-
.get_optimaldft_size(vecsize) ⇒ Fixnum
(also: getOptimalDFTSize)
-
.get_perspective_transform(src, dst, solve_method = DECOMP_LU) ⇒ Cv::Mat
(also: getPerspectiveTransform)
-
.get_rect_sub_pix(image, patch_size, center, patch, patch_type = -1)) ⇒ Void
(also: getRectSubPix)
-
.get_rotation_matrix2d(center, angle, scale) ⇒ Cv::Mat
(also: getRotationMatrix2D)
-
.get_structuring_element(shape, ksize, anchor = Cv::Point.new(-1,-1)) ⇒ Cv::Mat
(also: getStructuringElement)
-
.get_text_size(text, font_face, font_scale, thickness, base_line) ⇒ Cv::Size
(also: getTextSize)
-
.get_thread_num ⇒ Fixnum
(also: getThreadNum)
-
.get_tick_count ⇒ Fixnum
(also: getTickCount)
-
.get_tick_frequency ⇒ Double
(also: getTickFrequency)
-
.get_trackbar_pos(trackbarname, winname) ⇒ Fixnum
(also: getTrackbarPos)
-
.get_valid_disparityroi(_roi1, _roi2, min_disparity, number_of_disparities, block_size) ⇒ Cv::Rect
(also: getValidDisparityROI)
-
.get_version_major ⇒ Fixnum
(also: getVersionMajor)
-
.get_version_minor ⇒ Fixnum
(also: getVersionMinor)
-
.get_version_revision ⇒ Fixnum
(also: getVersionRevision)
-
.get_version_string ⇒ Std::String
(also: getVersionString)
-
.get_window_image_rect(winname) ⇒ Cv::Rect
(also: getWindowImageRect)
-
.get_window_property(winname, prop_id) ⇒ Double
(also: getWindowProperty)
-
.getcpu_features_line ⇒ Std::String
(also: getCPUFeaturesLine)
-
.getcpu_tick_count ⇒ Fixnum
(also: getCPUTickCount)
-
.good_features_to_track(*args) ⇒ Object
-
.good_features_to_track_with_quality(image, corners, max_corners, quality_level, min_distance, mask, corners_quality, block_size = 3, gradient_size = 3, use_harris_detector = false, k = 0.04) ⇒ Void
(also: goodFeaturesToTrackWithQuality)
-
.grab_cut(img, mask, rect, bgd_model, fgd_model, iter_count, mode = GC_EVAL) ⇒ Void
(also: grabCut)
-
.group_rectangles(rect_list, weights, group_threshold, eps = 0.2) ⇒ Void
(also: groupRectangles)
-
.have_image_reader(filename) ⇒ Bool
(also: haveImageReader)
-
.have_image_writer(filename) ⇒ Bool
(also: haveImageWriter)
-
.hconcat(src, dst) ⇒ Void
-
.hough_circles(image, circles, method, dp, min_dist, _param1 = 100, _param2 = 100, min_radius = 0, max_radius = 0) ⇒ Void
(also: HoughCircles)
-
.hough_lines(image, lines, rho, theta, threshold, srn = 0, stn = 0, min_theta = 0, max_theta = CV_PI) ⇒ Void
(also: HoughLines)
-
.hough_lines_point_set(point, lines, lines_max, threshold, min_rho, max_rho, rho_step, min_theta, max_theta, theta_step) ⇒ Void
(also: HoughLinesPointSet)
-
.hough_linesp(image, lines, rho, theta, threshold, min_line_length = 0, max_line_gap = 0) ⇒ Void
(also: HoughLinesP)
-
.hu_moments(m, hu) ⇒ Void
(also: HuMoments)
-
.idct(src, dst, flags = 0) ⇒ Void
-
.idft(src, dst, flags = 0, nonzero_rows = 0) ⇒ Void
-
.illumination_change(src, mask, dst, alpha = 0.2, beta = 0.4) ⇒ Void
(also: illuminationChange)
-
.imcount(filename, flags = IMREAD_ANYCOLOR) ⇒ Size_T
-
.imdecode(buf, flags) ⇒ Cv::Mat
-
.imencode(ext, img, buf, params = Std::Vector::Int.new()) ⇒ Bool
-
.imread(filename, flags = IMREAD_COLOR) ⇒ Cv::Mat
-
.imreadmulti(*args) ⇒ Object
-
.imshow(winname, mat) ⇒ Void
-
.imwrite(filename, img, params = Std::Vector::Int.new()) ⇒ Bool
-
.imwritemulti(filename, img, params = Std::Vector::Int.new()) ⇒ Bool
-
.in_range(src, lowerb, upperb, dst) ⇒ Void
(also: inRange)
-
.init_camera_matrix2d(object_points, image_points, image_size, aspect_ratio = 1.0) ⇒ Cv::Mat
(also: initCameraMatrix2D)
-
.init_inverse_rectification_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2) ⇒ Void
(also: initInverseRectificationMap)
-
.init_undistort_rectify_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2) ⇒ Void
(also: initUndistortRectifyMap)
-
.inpaint(src, inpaint_mask, dst, inpaint_radius, flags) ⇒ Void
-
.insert_channel(src, dst, coi) ⇒ Void
(also: insertChannel)
-
.integral(src, sum, sdepth = -1)) ⇒ Void
-
.integral2(src, sum, sqsum, sdepth = -1,, sqdepth = -1)) ⇒ Void
-
.integral3(src, sum, sqsum, tilted, sdepth = -1,, sqdepth = -1)) ⇒ Void
-
.intersect_convex_convex(_p1, _p2, _p12, handle_nested = true) ⇒ Float
(also: intersectConvexConvex)
-
.invert(src, dst, flags = DECOMP_LU) ⇒ Double
-
.invert_affine_transform(m, i_m) ⇒ Void
(also: invertAffineTransform)
-
.is_contour_convex(contour) ⇒ Bool
(also: isContourConvex)
-
.kmeans(data, k, best_labels, criteria, attempts, flags, centers = Cv::Mat.new()) ⇒ Double
-
.laplacian(src, dst, ddepth, ksize = 1, scale = 1, delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
(also: Laplacian)
-
.line(img, _pt1, _pt2, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
-
.linear_polar(src, dst, center, max_radius, flags) ⇒ Void
(also: linearPolar)
-
.log(src, dst) ⇒ Void
-
.log_polar(src, dst, center, m, flags) ⇒ Void
(also: logPolar)
-
.lut(src, lut, dst) ⇒ Void
(also: LUT)
-
.magnitude(x, y, magnitude) ⇒ Void
-
.mahalanobis(_v1, _v2, icovar) ⇒ Double
(also: Mahalanobis)
-
.mat_mul_deriv(a, b, d_a_bd_a, d_a_bd_b) ⇒ Void
(also: matMulDeriv)
-
.match_shapes(_contour1, _contour2, method, parameter) ⇒ Double
(also: matchShapes)
-
.match_template(image, templ, result, method, mask = Cv::Mat.new()) ⇒ Void
(also: matchTemplate)
-
.max(_src1, _src2, dst) ⇒ Void
-
.mean(src, mask = Cv::Mat.new()) ⇒ Cv::Scalar
-
.mean_shift(prob_image, window, criteria) ⇒ Fixnum
(also: meanShift)
-
.mean_std_dev(src, mean, stddev, mask = Cv::Mat.new()) ⇒ Void
(also: meanStdDev)
-
.median_blur(src, dst, ksize) ⇒ Void
(also: medianBlur)
-
.merge(mv, dst) ⇒ Void
-
.min(_src1, _src2, dst) ⇒ Void
-
.min_area_rect(points) ⇒ Cv::RotatedRect
(also: minAreaRect)
-
.min_enclosing_circle(points, center, radius) ⇒ Void
(also: minEnclosingCircle)
-
.min_enclosing_triangle(points, triangle) ⇒ Double
(also: minEnclosingTriangle)
-
.min_max_loc(src, min_val, max_val = 0/O, min_loc = Cv::Point::null, max_loc = Cv::Point::null, mask = Cv::Mat.new()) ⇒ Void
(also: minMaxLoc)
-
.mix_channels(src, dst, from_to) ⇒ Void
(also: mixChannels)
-
.moments(array, binary_image = false) ⇒ Cv::Moments
-
.morphology_default_border_value ⇒ Cv::Scalar
(also: morphologyDefaultBorderValue)
-
.morphology_ex(src, dst, op, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value()) ⇒ Void
(also: morphologyEx)
-
.move_window(winname, x, y) ⇒ Void
(also: moveWindow)
-
.mul_spectrums(a, b, c, flags, conj_b = false) ⇒ Void
(also: mulSpectrums)
-
.mul_transposed(src, dst, a_ta, delta = Cv::Mat.new(), scale = 1, dtype = -1)) ⇒ Void
(also: mulTransposed)
-
.multiply(_src1, _src2, dst, scale = 1, dtype = -1)) ⇒ Void
-
.named_window(winname, flags = WINDOW_AUTOSIZE) ⇒ Void
(also: namedWindow)
-
.norm(*args) ⇒ Object
-
.normalize(src, dst, alpha = 1, beta = 0, norm_type = NORM_L2, dtype = -1,, mask = Cv::Mat.new()) ⇒ Void
-
.patch_na_ns(a, val = 0) ⇒ Void
(also: patchNaNs)
-
.pca_back_project(data, mean, eigenvectors, result) ⇒ Void
(also: PCABackProject)
-
.pca_compute(*args) ⇒ Object
-
.pca_compute2(data, mean, eigenvectors, eigenvalues, max_components = 0) ⇒ Void
(also: PCACompute2)
-
.pca_compute2_4(data, mean, eigenvectors, eigenvalues, retained_variance) ⇒ Void
(also: PCACompute2__4)
-
.pca_project(data, mean, eigenvectors, result) ⇒ Void
(also: PCAProject)
-
.pencil_sketch(src, _dst1, _dst2, sigma_s = 60, sigma_r = 0.07, shade_factor = 0.02) ⇒ Void
(also: pencilSketch)
-
.perspective_transform(src, dst, m) ⇒ Void
(also: perspectiveTransform)
-
.phase(x, y, angle, angle_in_degrees = false) ⇒ Void
-
.phase_correlate(_src1, _src2, window = Cv::Mat.new(), response = 0/O) ⇒ Cv::Point2d
(also: phaseCorrelate)
-
.point_polygon_test(contour, pt, measure_dist) ⇒ Double
(also: pointPolygonTest)
-
.polar_to_cart(magnitude, angle, x, y, angle_in_degrees = false) ⇒ Void
(also: polarToCart)
-
.poll_key ⇒ Fixnum
(also: pollKey)
-
.polylines(img, pts, is_closed, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
-
.pow(src, power, dst) ⇒ Void
-
.pre_corner_detect(src, dst, ksize, border_type = BORDER_DEFAULT) ⇒ Void
(also: preCornerDetect)
-
.project_points(object_points, rvec, tvec, camera_matrix, dist_coeffs, image_points, jacobian = Cv::Mat.new(), aspect_ratio = 0) ⇒ Void
(also: projectPoints)
-
.psnr(_src1, _src2, r = 255.0) ⇒ Double
(also: PSNR)
-
.put_text(img, text, org, font_face, font_scale, color, thickness = 1, line_type = LINE_8, bottom_left_origin = false) ⇒ Void
(also: putText)
-
.pyr_down(src, dst, dstsize = Cv::Size.new(), border_type = BORDER_DEFAULT) ⇒ Void
(also: pyrDown)
-
.pyr_mean_shift_filtering(src, dst, sp, sr, max_level = 1, termcrit = Cv::TermCriteria.new(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1)) ⇒ Void
(also: pyrMeanShiftFiltering)
-
.pyr_up(src, dst, dstsize = Cv::Size.new(), border_type = BORDER_DEFAULT) ⇒ Void
(also: pyrUp)
-
.rand_shuffle(dst, iter_factor = 1.0, rng = Cv::RNG::null) ⇒ Void
(also: randShuffle)
-
.randn(dst, mean, stddev) ⇒ Void
-
.randu(dst, low, high) ⇒ Void
-
.read_double(fn, val, default_val) ⇒ Void
-
.read_float(fn, val, default_val) ⇒ Void
-
.read_int(fn, val, default_val) ⇒ Void
-
.read_mat(fn, val, default_val) ⇒ Void
-
.read_optical_flow(path) ⇒ Cv::Mat
(also: readOpticalFlow)
-
.read_string(fn, val, default_val) ⇒ Void
-
.recover_pose(*args) ⇒ Object
-
.rectangle(*args) ⇒ Object
-
.rectify3_collinear(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, _camera_matrix3, _dist_coeffs3, _imgpt1, _imgpt3, image_size, _r12, _t12, _r13, _t13, _r1, _r2, _r3, _p1, _p2, _p3, q, alpha, new_img_size, _roi1, _roi2, flags) ⇒ Float
(also: rectify3Collinear)
-
.reduce(src, dst, dim, rtype, dtype = -1)) ⇒ Void
-
.remap(src, dst, _map1, _map2, interpolation, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new()) ⇒ Void
-
.repeat(src, ny, nx, dst) ⇒ Void
-
.reproject_image_to3d(disparity, __3d_image, q, handle_missing_values = false, ddepth = -1)) ⇒ Void
(also: reprojectImageTo3D)
-
.resize(src, dst, dsize, fx = 0, fy = 0, interpolation = INTER_LINEAR) ⇒ Void
-
.resize_window(*args) ⇒ Object
-
.rodrigues(src, dst, jacobian = Cv::Mat.new()) ⇒ Void
(also: Rodrigues)
-
.rotate(src, dst, rotate_code) ⇒ Void
-
.rotated_rectangle_intersection(_rect1, _rect2, intersecting_region) ⇒ Fixnum
(also: rotatedRectangleIntersection)
-
.rq_decomp_3x3(src, mtx_r, mtx_q, qx = Cv::Mat.new(), qy = Cv::Mat.new(), qz = Cv::Mat.new()) ⇒ Cv::Vec3d
(also: RQDecomp3x3)
-
.sampson_distance(_pt1, _pt2, f) ⇒ Double
(also: sampsonDistance)
-
.scale_add(_src1, alpha, _src2, dst) ⇒ Void
(also: scaleAdd)
-
.scharr(src, dst, ddepth, dx, dy, scale = 1, delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
(also: Scharr)
-
.seamless_clone(src, dst, mask, p, blend, flags) ⇒ Void
(also: seamlessClone)
-
.selectro_is(window_name, img, bounding_boxes, show_crosshair = true, from_center = false) ⇒ Void
(also: selectROIs)
-
.selectroi(*args) ⇒ Object
-
.sep_filter2d(src, dst, ddepth, kernel_x, kernel_y, anchor = Cv::Point.new(-1,-1), delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
(also: sepFilter2D)
-
.set_identity(mtx, s = Cv::Scalar.new(1)) ⇒ Void
(also: setIdentity)
-
.set_num_threads(nthreads) ⇒ Void
(also: setNumThreads)
-
.set_trackbar_max(trackbarname, winname, maxval) ⇒ Void
(also: setTrackbarMax)
-
.set_trackbar_min(trackbarname, winname, minval) ⇒ Void
(also: setTrackbarMin)
-
.set_trackbar_pos(trackbarname, winname, pos) ⇒ Void
(also: setTrackbarPos)
-
.set_use_optimized(onoff) ⇒ Void
(also: setUseOptimized)
-
.set_window_property(winname, prop_id, prop_value) ⇒ Void
(also: setWindowProperty)
-
.set_window_title(winname, title) ⇒ Void
(also: setWindowTitle)
-
.setrng_seed(seed) ⇒ Void
(also: setRNGSeed)
-
.sobel(src, dst, ddepth, dx, dy, ksize = 3, scale = 1, delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
(also: Sobel)
-
.solve(_src1, _src2, dst, flags = DECOMP_LU) ⇒ Bool
-
.solve_cubic(coeffs, roots) ⇒ Fixnum
(also: solveCubic)
-
.solve_pnp(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, use_extrinsic_guess = false, flags = SOLVEPNP_ITERATIVE) ⇒ Bool
(also: solvePnP)
-
.solve_pnp_generic(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, use_extrinsic_guess = false, flags = :SOLVEPNP_ITERATIVE, rvec = Cv::Mat.new(), tvec = Cv::Mat.new(), reprojection_error = Cv::Mat.new()) ⇒ Fixnum
(also: solvePnPGeneric)
-
.solve_pnp_ransac(*args) ⇒ Object
-
.solve_pnp_refinelm(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria = Cv::TermCriteria.new(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON)) ⇒ Void
(also: solvePnPRefineLM)
-
.solve_pnp_refinevvs(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria = Cv::TermCriteria.new(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON), v_v_slambda = 1) ⇒ Void
(also: solvePnPRefineVVS)
-
.solve_poly(coeffs, roots, max_iters = 300) ⇒ Double
(also: solvePoly)
-
.solvelp(func, constr, z) ⇒ Fixnum
(also: solveLP)
-
.solvep3p(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, flags) ⇒ Fixnum
(also: solveP3P)
-
.sort(src, dst, flags) ⇒ Void
-
.sort_idx(src, dst, flags) ⇒ Void
(also: sortIdx)
-
.spatial_gradient(src, dx, dy, ksize = 3, border_type = BORDER_DEFAULT) ⇒ Void
(also: spatialGradient)
-
.split(m, mv) ⇒ Void
-
.sqr_box_filter(src, dst, ddepth, ksize, anchor = Cv::Point.new(-1, -1), normalize = true, border_type = BORDER_DEFAULT) ⇒ Void
(also: sqrBoxFilter)
-
.sqrt(src, dst) ⇒ Void
-
.start_window_thread ⇒ Fixnum
(also: startWindowThread)
-
.stereo_calibrate(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, flags = CALIB_FIX_INTRINSIC, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6)) ⇒ Double
(also: stereoCalibrate)
-
.stereo_calibrate_extended(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, per_view_errors, flags = CALIB_FIX_INTRINSIC, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6)) ⇒ Double
(also: stereoCalibrateExtended)
-
.stereo_rectify(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, _r1, _r2, _p1, _p2, q, flags = CALIB_ZERO_DISPARITY, alpha = -1,, new_image_size = Cv::Size.new(), _valid_pix_r_o_i1 = Cv::Rect::null, _valid_pix_r_o_i2 = Cv::Rect::null) ⇒ Void
(also: stereoRectify)
-
.stereo_rectify_uncalibrated(_points1, _points2, f, img_size, _h1, _h2, threshold = 5) ⇒ Bool
(also: stereoRectifyUncalibrated)
-
.stylization(src, dst, sigma_s = 60, sigma_r = 0.45) ⇒ Void
-
.subtract(_src1, _src2, dst, mask = Cv::Mat.new(), dtype = -1)) ⇒ Void
-
.sum(src) ⇒ Cv::Mat
-
.sum_elems(src) ⇒ Cv::Scalar
(also: sumElems)
-
.sv_back_subst(w, u, vt, rhs, dst) ⇒ Void
(also: SVBackSubst)
-
.sv_decomp(src, w, u, vt, flags = 0) ⇒ Void
(also: SVDecomp)
-
.texture_flattening(src, mask, dst, low_threshold = 30, high_threshold = 45, kernel_size = 3) ⇒ Void
(also: textureFlattening)
-
.threshold(src, dst, thresh, maxval, type) ⇒ Double
-
.trace(mtx) ⇒ Cv::Scalar
-
.transform(src, dst, m) ⇒ Void
-
.transpose(src, dst) ⇒ Void
-
.triangulate_points(_proj_matr1, _proj_matr2, _proj_points1, _proj_points2, _points4_d) ⇒ Void
(also: triangulatePoints)
-
.undistort(src, dst, camera_matrix, dist_coeffs, new_camera_matrix = Cv::Mat.new()) ⇒ Void
-
.undistort_points(src, dst, camera_matrix, dist_coeffs, r = Cv::Mat.new(), p = Cv::Mat.new()) ⇒ Void
(also: undistortPoints)
-
.undistort_points_iter(src, dst, camera_matrix, dist_coeffs, r, p, criteria) ⇒ Void
(also: undistortPointsIter)
-
.use_optimized ⇒ Bool
(also: useOptimized)
-
.validate_disparity(disparity, cost, min_disparity, number_of_disparities, _disp12_max_disp = 1) ⇒ Void
(also: validateDisparity)
-
.vconcat(src, dst) ⇒ Void
-
.wait_key(delay = 0) ⇒ Fixnum
(also: waitKey)
-
.wait_key_ex(delay = 0) ⇒ Fixnum
(also: waitKeyEx)
-
.warp_affine(src, dst, m, dsize, flags = INTER_LINEAR, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new()) ⇒ Void
(also: warpAffine)
-
.warp_perspective(src, dst, m, dsize, flags = INTER_LINEAR, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new()) ⇒ Void
(also: warpPerspective)
-
.warp_polar(src, dst, dsize, center, max_radius, flags) ⇒ Void
(also: warpPolar)
-
.watershed(image, markers) ⇒ Void
-
.write_double(fs, name, val) ⇒ Void
-
.write_float(fs, name, val) ⇒ Void
-
.write_int(fs, name, val) ⇒ Void
-
.write_mat(fs, name, val) ⇒ Void
-
.write_optical_flow(path, flow) ⇒ Bool
(also: writeOpticalFlow)
-
.write_point(fs, name, val) ⇒ Void
-
.write_point_2d(fs, name, val) ⇒ Void
(also: write_point2d)
-
.write_point_2f(fs, name, val) ⇒ Void
(also: write_point2f)
-
.write_point_3d(fs, name, val) ⇒ Void
(also: write_point3d)
-
.write_point_3f(fs, name, val) ⇒ Void
(also: write_point3f)
-
.write_range(fs, name, val) ⇒ Void
-
.write_rect(fs, name, val) ⇒ Void
-
.write_scalar(fs, name, val) ⇒ Void
-
.write_scalar_double(fs, val) ⇒ Void
-
.write_scalar_float(fs, val) ⇒ Void
-
.write_scalar_int(fs, val) ⇒ Void
-
.write_scalar_string(fs, val) ⇒ Void
-
.write_size(fs, name, val) ⇒ Void
-
.write_string(fs, name, val) ⇒ Void
-
.write_vec_2d(fs, name, val) ⇒ Void
(also: write_vec2d)
-
.write_vec_2f(fs, name, val) ⇒ Void
(also: write_vec2f)
-
.write_vec_3d(fs, name, val) ⇒ Void
(also: write_vec3d)
-
.write_vec_3f(fs, name, val) ⇒ Void
(also: write_vec3f)
Class Method Details
Note:
wrapper for static method const cv::Mat cv::abs(const cv::Mat src)
6711
6712
6713
|
# File 'lib/ropencv/ropencv_types.rb', line 6711
def self.abs(src)
Rbind::cv_abs(src)
end
|
.absdiff(_src1, _src2, dst) ⇒ Void
Note:
wrapper for static method void cv::absdiff(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst)
1910
1911
1912
|
# File 'lib/ropencv/ropencv_types.rb', line 1910
def self.absdiff(_src1, _src2, dst)
Rbind::cv_absdiff(_src1, _src2, dst)
end
|
.accumulate(src, dst, mask = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::accumulate(const cv::Mat src, cv::Mat& dst, const cv::Mat mask = Mat())
3664
3665
3666
|
# File 'lib/ropencv/ropencv_types.rb', line 3664
def self.accumulate(src, dst, mask = Cv::Mat.new())
Rbind::cv_accumulate(src, dst, mask)
end
|
.accumulate_product(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
Also known as:
accumulateProduct
Note:
wrapper for static method void cv::accumulateProduct(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, const cv::Mat mask = Mat())
3684
3685
3686
|
# File 'lib/ropencv/ropencv_types.rb', line 3684
def self.accumulate_product(_src1, _src2, dst, mask = Cv::Mat.new())
Rbind::cv_accumulate_product(_src1, _src2, dst, mask)
end
|
.accumulate_square(src, dst, mask = Cv::Mat.new()) ⇒ Void
Also known as:
accumulateSquare
Note:
wrapper for static method void cv::accumulateSquare(const cv::Mat src, cv::Mat& dst, const cv::Mat mask = Mat())
3673
3674
3675
|
# File 'lib/ropencv/ropencv_types.rb', line 3673
def self.accumulate_square(src, dst, mask = Cv::Mat.new())
Rbind::cv_accumulate_square(src, dst, mask)
end
|
.accumulate_weighted(src, dst, alpha, mask = Cv::Mat.new()) ⇒ Void
Also known as:
accumulateWeighted
Note:
wrapper for static method void cv::accumulateWeighted(const cv::Mat src, cv::Mat& dst, double alpha, const cv::Mat mask = Mat())
3695
3696
3697
|
# File 'lib/ropencv/ropencv_types.rb', line 3695
def self.accumulate_weighted(src, dst, alpha, mask = Cv::Mat.new())
Rbind::cv_accumulate_weighted(src, dst, alpha, mask)
end
|
.adaptive_threshold(src, dst, max_value, adaptive_method, threshold_type, block_size, c) ⇒ Void
Also known as:
adaptiveThreshold
Note:
wrapper for static method void cv::adaptiveThreshold(const cv::Mat src, cv::Mat& dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)
3753
3754
3755
|
# File 'lib/ropencv/ropencv_types.rb', line 3753
def self.adaptive_threshold(src, dst, max_value, adaptive_method, threshold_type, block_size, c)
Rbind::cv_adaptive_threshold(src, dst, max_value, adaptive_method, threshold_type, block_size, c)
end
|
.add(_src1, _src2, dst, mask = Cv::Mat.new(), dtype = -1)) ⇒ Void
Note:
wrapper for static method void cv::add(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, const cv::Mat mask = Mat(), int dtype = -1)
1418
1419
1420
|
# File 'lib/ropencv/ropencv_types.rb', line 1418
def self.add(_src1, _src2, dst, mask = Cv::Mat.new(), dtype = -1)
Rbind::cv_add(_src1, _src2, dst, mask, dtype)
end
|
.add_text(img, text, org, name_font, point_size = -1,, color = Cv::Scalar::all(0), weight = QT_FONT_NORMAL, style = QT_STYLE_NORMAL, spacing = 0) ⇒ Void
Also known as:
addText
Note:
wrapper for static method void cv::addText(const cv::Mat img, const std::string text, const cv::Point org, const std::string nameFont, int pointSize = -1, const cv::Scalar color = Scalar::all(0), int weight = QT_FONT_NORMAL, int style = QT_STYLE_NORMAL, int spacing = 0)
4945
4946
4947
|
# File 'lib/ropencv/ropencv_types.rb', line 4945
def self.add_text(img, text, org, name_font, point_size = -1, color = Cv::Scalar::all(0), weight = QT_FONT_NORMAL, style = QT_STYLE_NORMAL, spacing = 0)
Rbind::cv_add_text(img, text, org, name_font, point_size, color, weight, style, spacing)
end
|
.add_weighted(_src1, alpha, _src2, beta, gamma, dst, dtype = -1)) ⇒ Void
Also known as:
addWeighted
Note:
wrapper for static method void cv::addWeighted(const cv::Mat src1, double alpha, const cv::Mat src2, double beta, double gamma, cv::Mat& dst, int dtype = -1)
1510
1511
1512
|
# File 'lib/ropencv/ropencv_types.rb', line 1510
def self.add_weighted(_src1, alpha, _src2, beta, gamma, dst, dtype = -1)
Rbind::cv_add_weighted(_src1, alpha, _src2, beta, gamma, dst, dtype)
end
|
.apply_color_map(src, dst, colormap) ⇒ Void
.apply_color_map(src, dst, user_color) ⇒ Void
Note:
wrapper for overloaded static method apply_color_map
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
|
# File 'lib/ropencv/ropencv_types.rb', line 4266
def self.apply_color_map(*args)
@@cv_apply_color_map_defaults0 ||= [nil, nil, nil]
if(args.size >= 3 && args.size <= 3)
targs = args.clone
targs.size.upto(2) do |i|
targs[i] = @@cv_apply_color_map_defaults0[i]
end
begin
return Rbind::cv_apply_color_map(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_apply_color_map__2_defaults1 ||= [nil, nil, nil]
if(args.size >= 3 && args.size <= 3)
targs = args.clone
targs.size.upto(2) do |i|
targs[i] = @@cv_apply_color_map__2_defaults1[i]
end
begin
return Rbind::cv_apply_color_map__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.approx_polydp(curve, approx_curve, epsilon, closed) ⇒ Void
Also known as:
approxPolyDP
Note:
wrapper for static method void cv::approxPolyDP(const cv::Mat curve, cv::Mat& approxCurve, double epsilon, bool closed)
4065
4066
4067
|
# File 'lib/ropencv/ropencv_types.rb', line 4065
def self.approx_polydp(curve, approx_curve, epsilon, closed)
Rbind::cv_approx_polydp(curve, approx_curve, epsilon, closed)
end
|
.arc_length(curve, closed) ⇒ Double
Also known as:
arcLength
Note:
wrapper for static method double cv::arcLength(const cv::Mat curve, bool closed)
4074
4075
4076
|
# File 'lib/ropencv/ropencv_types.rb', line 4074
def self.arc_length(curve, closed)
Rbind::cv_arc_length(curve, closed)
end
|
.arrowed_line(img, _pt1, _pt2, color, thickness = 1, line_type = 8, shift = 0, tip_length = 0.1) ⇒ Void
Also known as:
arrowedLine
Note:
wrapper for static method void cv::arrowedLine(cv::Mat& img, const cv::Point pt1, const cv::Point pt2, const cv::Scalar color, int thickness = 1, int line_type = 8, int shift = 0, double tipLength = 0.1)
4320
4321
4322
|
# File 'lib/ropencv/ropencv_types.rb', line 4320
def self.arrowed_line(img, _pt1, _pt2, color, thickness = 1, line_type = 8, shift = 0, tip_length = 0.1)
Rbind::cv_arrowed_line(img, _pt1, _pt2, color, thickness, line_type, shift, tip_length)
end
|
.batch_distance(_src1, _src2, dist, dtype, nidx, norm_type = NORM_L2, k = 0, mask = Cv::Mat.new(), update = 0, crosscheck = false) ⇒ Void
Also known as:
batchDistance
Note:
wrapper for static method void cv::batchDistance(const cv::Mat src1, const cv::Mat src2, cv::Mat& dist, int dtype, cv::Mat& nidx, int normType = NORM_L2, int K = 0, const cv::Mat mask = Mat(), int update = 0, bool crosscheck = false)
1734
1735
1736
|
# File 'lib/ropencv/ropencv_types.rb', line 1734
def self.batch_distance(_src1, _src2, dist, dtype, nidx, norm_type = NORM_L2, k = 0, mask = Cv::Mat.new(), update = 0, crosscheck = false)
Rbind::cv_batch_distance(_src1, _src2, dist, dtype, nidx, norm_type, k, mask, update, crosscheck)
end
|
.bilateral_filter(src, dst, d, sigma_color, sigma_space, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
bilateralFilter
Note:
wrapper for static method void cv::bilateralFilter(const cv::Mat src, cv::Mat& dst, int d, double sigmaColor, double sigmaSpace, int borderType = BORDER_DEFAULT)
3057
3058
3059
|
# File 'lib/ropencv/ropencv_types.rb', line 3057
def self.bilateral_filter(src, dst, d, sigma_color, sigma_space, border_type = BORDER_DEFAULT)
Rbind::cv_bilateral_filter(src, dst, d, sigma_color, sigma_space, border_type)
end
|
.bitwise_and(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::bitwise_and(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, const cv::Mat mask = Mat())
1872
1873
1874
|
# File 'lib/ropencv/ropencv_types.rb', line 1872
def self.bitwise_and(_src1, _src2, dst, mask = Cv::Mat.new())
Rbind::cv_bitwise_and(_src1, _src2, dst, mask)
end
|
.bitwise_not(src, dst, mask = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::bitwise_not(const cv::Mat src, cv::Mat& dst, const cv::Mat mask = Mat())
1901
1902
1903
|
# File 'lib/ropencv/ropencv_types.rb', line 1901
def self.bitwise_not(src, dst, mask = Cv::Mat.new())
Rbind::cv_bitwise_not(src, dst, mask)
end
|
.bitwise_or(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::bitwise_or(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, const cv::Mat mask = Mat())
1882
1883
1884
|
# File 'lib/ropencv/ropencv_types.rb', line 1882
def self.bitwise_or(_src1, _src2, dst, mask = Cv::Mat.new())
Rbind::cv_bitwise_or(_src1, _src2, dst, mask)
end
|
.bitwise_xor(_src1, _src2, dst, mask = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::bitwise_xor(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, const cv::Mat mask = Mat())
1892
1893
1894
|
# File 'lib/ropencv/ropencv_types.rb', line 1892
def self.bitwise_xor(_src1, _src2, dst, mask = Cv::Mat.new())
Rbind::cv_bitwise_xor(_src1, _src2, dst, mask)
end
|
.blend_linear(_src1, _src2, _weights1, _weights2, dst) ⇒ Void
Also known as:
blendLinear
Note:
wrapper for static method void cv::blendLinear(const cv::Mat src1, const cv::Mat src2, const cv::Mat weights1, const cv::Mat weights2, cv::Mat& dst)
3930
3931
3932
|
# File 'lib/ropencv/ropencv_types.rb', line 3930
def self.blend_linear(_src1, _src2, _weights1, _weights2, dst)
Rbind::cv_blend_linear(_src1, _src2, _weights1, _weights2, dst)
end
|
.blur(src, dst, ksize, anchor = Cv::Point.new(-1,-1), border_type = BORDER_DEFAULT) ⇒ Void
Note:
wrapper for static method void cv::blur(const cv::Mat src, cv::Mat& dst, const cv::Size ksize, const cv::Point anchor = Point(-1,-1), int borderType = BORDER_DEFAULT)
3097
3098
3099
|
# File 'lib/ropencv/ropencv_types.rb', line 3097
def self.blur(src, dst, ksize, anchor = Cv::Point.new(-1,-1), border_type = BORDER_DEFAULT)
Rbind::cv_blur(src, dst, ksize, anchor, border_type)
end
|
.border_interpolate(p, len, border_type) ⇒ Fixnum
Also known as:
borderInterpolate
Note:
wrapper for static method int cv::borderInterpolate(int p, int len, int borderType)
1391
1392
1393
|
# File 'lib/ropencv/ropencv_types.rb', line 1391
def self.border_interpolate(p, len, border_type)
Rbind::cv_border_interpolate(p, len, border_type)
end
|
.bounding_rect(array) ⇒ Cv::Rect
Also known as:
boundingRect
Note:
wrapper for static method const cv::Rect cv::boundingRect(const cv::Mat array)
4082
4083
4084
|
# File 'lib/ropencv/ropencv_types.rb', line 4082
def self.bounding_rect(array)
Rbind::cv_bounding_rect(array)
end
|
.box_filter(src, dst, ddepth, ksize, anchor = Cv::Point.new(-1,-1), normalize = true, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
boxFilter
Note:
wrapper for static method void cv::boxFilter(const cv::Mat src, cv::Mat& dst, int ddepth, const cv::Size ksize, const cv::Point anchor = Point(-1,-1), bool normalize = true, int borderType = BORDER_DEFAULT)
3071
3072
3073
|
# File 'lib/ropencv/ropencv_types.rb', line 3071
def self.box_filter(src, dst, ddepth, ksize, anchor = Cv::Point.new(-1,-1), normalize = true, border_type = BORDER_DEFAULT)
Rbind::cv_box_filter(src, dst, ddepth, ksize, anchor, normalize, border_type)
end
|
.box_points(box, points) ⇒ Void
Also known as:
boxPoints
Note:
wrapper for static method void cv::boxPoints(const cv::RotatedRect box, cv::Mat& points)
4108
4109
4110
|
# File 'lib/ropencv/ropencv_types.rb', line 4108
def self.box_points(box, points)
Rbind::cv_box_points(box, points)
end
|
.build_optical_flow_pyramid(img, pyramid, win_size, max_level, with_derivatives = true, pyr_border = BORDER_REFLECT_101, deriv_border = BORDER_CONSTANT, try_reuse_input_image = true) ⇒ Fixnum
Also known as:
buildOpticalFlowPyramid
Note:
wrapper for static method int cv::buildOpticalFlowPyramid(const cv::Mat img, std::vectorcv::Mat& pyramid, const cv::Size winSize, int maxLevel, bool withDerivatives = true, int pyrBorder = BORDER_REFLECT_101, int derivBorder = BORDER_CONSTANT, bool tryReuseInputImage = true)
5020
5021
5022
|
# File 'lib/ropencv/ropencv_types.rb', line 5020
def self.build_optical_flow_pyramid(img, pyramid, win_size, max_level, with_derivatives = true, pyr_border = BORDER_REFLECT_101, deriv_border = BORDER_CONSTANT, try_reuse_input_image = true)
Rbind::cv_build_optical_flow_pyramid(img, pyramid, win_size, max_level, with_derivatives, pyr_border, deriv_border, try_reuse_input_image)
end
|
.calc_back_project(images, channels, hist, dst, ranges, scale) ⇒ Void
Also known as:
calcBackProject
Note:
wrapper for static method void cv::calcBackProject(const std::vectorcv::Mat images, const std::vector channels, const cv::Mat hist, cv::Mat& dst, const std::vector ranges, double scale)
3802
3803
3804
|
# File 'lib/ropencv/ropencv_types.rb', line 3802
def self.calc_back_project(images, channels, hist, dst, ranges, scale)
Rbind::cv_calc_back_project(images, channels, hist, dst, ranges, scale)
end
|
.calc_covar_matrix(samples, covar, mean, flags, ctype = CV_64F) ⇒ Void
Also known as:
calcCovarMatrix
Note:
wrapper for static method void cv::calcCovarMatrix(const cv::Mat samples, cv::Mat& covar, cv::Mat& mean, int flags, int ctype = CV_64F)
2228
2229
2230
|
# File 'lib/ropencv/ropencv_types.rb', line 2228
def self.calc_covar_matrix(samples, covar, mean, flags, ctype = CV_64F)
Rbind::cv_calc_covar_matrix(samples, covar, mean, flags, ctype)
end
|
.calc_hist(images, channels, mask, hist, hist_size, ranges, accumulate = false) ⇒ Void
Also known as:
calcHist
Note:
wrapper for static method void cv::calcHist(const std::vectorcv::Mat images, const std::vector channels, const cv::Mat mask, cv::Mat& hist, const std::vector histSize, const std::vector ranges, bool accumulate = false)
3789
3790
3791
|
# File 'lib/ropencv/ropencv_types.rb', line 3789
def self.calc_hist(images, channels, mask, hist, hist_size, ranges, accumulate = false)
Rbind::cv_calc_hist(images, channels, mask, hist, hist_size, ranges, accumulate)
end
|
.calc_optical_flow_farneback(prev, next_, flow, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags) ⇒ Void
Also known as:
calcOpticalFlowFarneback
Note:
wrapper for static method void cv::calcOpticalFlowFarneback(const cv::Mat prev, const cv::Mat next, cv::Mat& flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags)
5055
5056
5057
|
# File 'lib/ropencv/ropencv_types.rb', line 5055
def self.calc_optical_flow_farneback(prev, next_, flow, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags)
Rbind::cv_calc_optical_flow_farneback(prev, next_, flow, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags)
end
|
.calc_optical_flow_pyrlk(prev_img, next_img, prev_pts, next_pts, status, err, win_size = Cv::Size.new(21,21), max_level = 3, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), flags = 0, min_eig_threshold = 1e-4) ⇒ Void
Also known as:
calcOpticalFlowPyrLK
Note:
wrapper for static method void cv::calcOpticalFlowPyrLK(const cv::Mat prevImg, const cv::Mat nextImg, const cv::Mat prevPts, cv::Mat& nextPts, cv::Mat& status, cv::Mat& err, const cv::Size winSize = Size(21,21), int maxLevel = 3, const cv::TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4)
5038
5039
5040
|
# File 'lib/ropencv/ropencv_types.rb', line 5038
def self.calc_optical_flow_pyrlk(prev_img, next_img, prev_pts, next_pts, status, err, win_size = Cv::Size.new(21,21), max_level = 3, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), flags = 0, min_eig_threshold = 1e-4)
Rbind::cv_calc_optical_flow_pyrlk(prev_img, next_img, prev_pts, next_pts, status, err, win_size, max_level, criteria, flags, min_eig_threshold)
end
|
.calibrate_camera(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
Also known as:
calibrateCamera
Note:
wrapper for static method double cv::calibrateCamera(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints, const cv::Size imageSize, cv::Mat& cameraMatrix, cv::Mat& distCoeffs, std::vectorcv::Mat& rvecs, std::vectorcv::Mat& tvecs, int flags = 0, const cv::TermCriteria criteria = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
5676
5677
5678
|
# File 'lib/ropencv/ropencv_types.rb', line 5676
def self.calibrate_camera(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
Rbind::cv_calibrate_camera(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, flags, criteria)
end
|
.calibrate_camera_extended(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, std_deviations_intrinsics, std_deviations_extrinsics, per_view_errors, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
Also known as:
calibrateCameraExtended
Note:
wrapper for static method double cv::calibrateCamera(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints, const cv::Size imageSize, cv::Mat& cameraMatrix, cv::Mat& distCoeffs, std::vectorcv::Mat& rvecs, std::vectorcv::Mat& tvecs, cv::Mat& stdDeviationsIntrinsics, cv::Mat& stdDeviationsExtrinsics, cv::Mat& perViewErrors, int flags = 0, const cv::TermCriteria criteria = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
5660
5661
5662
|
# File 'lib/ropencv/ropencv_types.rb', line 5660
def self.calibrate_camera_extended(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, std_deviations_intrinsics, std_deviations_extrinsics, per_view_errors, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
Rbind::cv_calibrate_camera_extended(object_points, image_points, image_size, camera_matrix, dist_coeffs, rvecs, tvecs, std_deviations_intrinsics, std_deviations_extrinsics, per_view_errors, flags, criteria)
end
|
.calibrate_cameraro(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
Also known as:
calibrateCameraRO
Note:
wrapper for static method double cv::calibrateCameraRO(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints, const cv::Size imageSize, int iFixedPoint, cv::Mat& cameraMatrix, cv::Mat& distCoeffs, std::vectorcv::Mat& rvecs, std::vectorcv::Mat& tvecs, cv::Mat& newObjPoints, int flags = 0, const cv::TermCriteria criteria = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
5716
5717
5718
|
# File 'lib/ropencv/ropencv_types.rb', line 5716
def self.calibrate_cameraro(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
Rbind::cv_calibrate_cameraro(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, flags, criteria)
end
|
.calibrate_cameraro_extended(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, std_deviations_intrinsics, std_deviations_extrinsics, std_deviations_obj_points, per_view_errors, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) ⇒ Double
Also known as:
calibrateCameraROExtended
Note:
wrapper for static method double cv::calibrateCameraRO(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints, const cv::Size imageSize, int iFixedPoint, cv::Mat& cameraMatrix, cv::Mat& distCoeffs, std::vectorcv::Mat& rvecs, std::vectorcv::Mat& tvecs, cv::Mat& newObjPoints, cv::Mat& stdDeviationsIntrinsics, cv::Mat& stdDeviationsExtrinsics, cv::Mat& stdDeviationsObjPoints, cv::Mat& perViewErrors, int flags = 0, const cv::TermCriteria criteria = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
5698
5699
5700
|
# File 'lib/ropencv/ropencv_types.rb', line 5698
def self.calibrate_cameraro_extended(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, std_deviations_intrinsics, std_deviations_extrinsics, std_deviations_obj_points, per_view_errors, flags = 0, criteria = Cv::TermCriteria.new( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON))
Rbind::cv_calibrate_cameraro_extended(object_points, image_points, image_size, i_fixed_point, camera_matrix, dist_coeffs, rvecs, tvecs, new_obj_points, std_deviations_intrinsics, std_deviations_extrinsics, std_deviations_obj_points, per_view_errors, flags, criteria)
end
|
.calibrate_hand_eye(_r_gripper2base, _t_gripper2base, _r_target2cam, _t_target2cam, _r_cam2gripper, _t_cam2gripper, method = :CALIB_HAND_EYE_TSAI) ⇒ Void
Also known as:
calibrateHandEye
Note:
wrapper for static method void cv::calibrateHandEye(const std::vectorcv::Mat R_gripper2base, const std::vectorcv::Mat t_gripper2base, const std::vectorcv::Mat R_target2cam, const std::vectorcv::Mat t_target2cam, cv::Mat& R_cam2gripper, cv::Mat& t_cam2gripper, cv::HandEyeCalibrationMethod method = CALIB_HAND_EYE_TSAI)
5873
5874
5875
|
# File 'lib/ropencv/ropencv_types.rb', line 5873
def self.calibrate_hand_eye(_r_gripper2base, _t_gripper2base, _r_target2cam, _t_target2cam, _r_cam2gripper, _t_cam2gripper, method = :CALIB_HAND_EYE_TSAI)
Rbind::cv_calibrate_hand_eye(_r_gripper2base, _t_gripper2base, _r_target2cam, _t_target2cam, _r_cam2gripper, _t_cam2gripper, method)
end
|
.calibrate_robot_world_hand_eye(_r_world2cam, _t_world2cam, _r_base2gripper, _t_base2gripper, _r_base2world, _t_base2world, _r_gripper2cam, _t_gripper2cam, method = :CALIB_ROBOT_WORLD_HAND_EYE_SHAH) ⇒ Void
Also known as:
calibrateRobotWorldHandEye
Note:
wrapper for static method void cv::calibrateRobotWorldHandEye(const std::vectorcv::Mat R_world2cam, const std::vectorcv::Mat t_world2cam, const std::vectorcv::Mat R_base2gripper, const std::vectorcv::Mat t_base2gripper, cv::Mat& R_base2world, cv::Mat& t_base2world, cv::Mat& R_gripper2cam, cv::Mat& t_gripper2cam, cv::RobotWorldHandEyeCalibrationMethod method = CALIB_ROBOT_WORLD_HAND_EYE_SHAH)
5889
5890
5891
|
# File 'lib/ropencv/ropencv_types.rb', line 5889
def self.calibrate_robot_world_hand_eye(_r_world2cam, _t_world2cam, _r_base2gripper, _t_base2gripper, _r_base2world, _t_base2world, _r_gripper2cam, _t_gripper2cam, method = :CALIB_ROBOT_WORLD_HAND_EYE_SHAH)
Rbind::cv_calibrate_robot_world_hand_eye(_r_world2cam, _t_world2cam, _r_base2gripper, _t_base2gripper, _r_base2world, _t_base2world, _r_gripper2cam, _t_gripper2cam, method)
end
|
.calibration_matrix_values(camera_matrix, image_size, aperture_width, aperture_height, fovx, fovy, focal_length, principal_point, aspect_ratio) ⇒ Void
Also known as:
calibrationMatrixValues
Note:
wrapper for static method void cv::calibrationMatrixValues(const cv::Mat cameraMatrix, const cv::Size imageSize, double apertureWidth, double apertureHeight, double& fovx, double& fovy, double& focalLength, cv::Point2d& principalPoint, double& aspectRatio)
5732
5733
5734
|
# File 'lib/ropencv/ropencv_types.rb', line 5732
def self.calibration_matrix_values(camera_matrix, image_size, aperture_width, aperture_height, fovx, fovy, focal_length, principal_point, aspect_ratio)
Rbind::cv_calibration_matrix_values(camera_matrix, image_size, aperture_width, aperture_height, fovx, fovy, focal_length, principal_point, aspect_ratio)
end
|
.cam_shift(prob_image, window, criteria) ⇒ Cv::RotatedRect
Also known as:
CamShift
Note:
wrapper for static method const cv::RotatedRect cv::CamShift(const cv::Mat probImage, cv::Rect& window, const cv::TermCriteria criteria)
4995
4996
4997
|
# File 'lib/ropencv/ropencv_types.rb', line 4995
def self.cam_shift(prob_image, window, criteria)
Rbind::cv_cam_shift(prob_image, window, criteria)
end
|
.canny(image, edges, _threshold1, _threshold2, aperture_size = 3, _l2gradient = false) ⇒ Void
.canny(dx, dy, edges, _threshold1, _threshold2, _l2gradient = false) ⇒ Void
Note:
wrapper for overloaded static method canny
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
|
# File 'lib/ropencv/ropencv_types.rb', line 3205
def self.canny(*args)
@@cv_canny_defaults0 ||= [nil, nil, nil, nil, 3, false]
if(args.size >= 4 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_canny_defaults0[i]
end
begin
return Rbind::cv_canny(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_canny__2_defaults1 ||= [nil, nil, nil, nil, nil, false]
if(args.size >= 5 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_canny__2_defaults1[i]
end
begin
return Rbind::cv_canny__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.cart_to_polar(x, y, magnitude, angle, angle_in_degrees = false) ⇒ Void
Also known as:
cartToPolar
Note:
wrapper for static method void cv::cartToPolar(const cv::Mat x, const cv::Mat y, cv::Mat& magnitude, cv::Mat& angle, bool angleInDegrees = false)
2015
2016
2017
|
# File 'lib/ropencv/ropencv_types.rb', line 2015
def self.cart_to_polar(x, y, magnitude, angle, angle_in_degrees = false)
Rbind::cv_cart_to_polar(x, y, magnitude, angle, angle_in_degrees)
end
|
.check_chessboard(img, size) ⇒ Bool
Also known as:
checkChessboard
Note:
wrapper for static method bool cv::checkChessboard(const cv::Mat img, const cv::Size size)
5522
5523
5524
|
# File 'lib/ropencv/ropencv_types.rb', line 5522
def self.check_chessboard(img, size)
Rbind::cv_check_chessboard(img, size)
end
|
.check_hardware_support(feature) ⇒ Bool
Also known as:
checkHardwareSupport
Note:
wrapper for static method bool cv::checkHardwareSupport(int feature)
2573
2574
2575
|
# File 'lib/ropencv/ropencv_types.rb', line 2573
def self.check_hardware_support(feature)
Rbind::cv_check_hardware_support(feature)
end
|
.check_range(a, quiet = true, pos = Cv::Point::null, min_val = -DBL_MAX,, max_val = DBL_MAX) ⇒ Bool
Also known as:
checkRange
Note:
wrapper for static method bool cv::checkRange(const cv::Mat a, bool quiet = true, const cv::Point* pos = 0/O, double minVal = -DBL_MAX, double maxVal = DBL_MAX)
2046
2047
2048
|
# File 'lib/ropencv/ropencv_types.rb', line 2046
def self.check_range(a, quiet = true, pos = Cv::Point::null, min_val = -DBL_MAX, max_val = DBL_MAX)
Rbind::cv_check_range(a, quiet, pos, min_val, max_val)
end
|
.circle(img, center, radius, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
Note:
wrapper for static method void cv::circle(cv::Mat& img, const cv::Point center, int radius, const cv::Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0)
4384
4385
4386
|
# File 'lib/ropencv/ropencv_types.rb', line 4384
def self.circle(img, center, radius, color, thickness = 1, line_type = LINE_8, shift = 0)
Rbind::cv_circle(img, center, radius, color, thickness, line_type, shift)
end
|
.clip_line(img_rect, _pt1, _pt2) ⇒ Bool
Also known as:
clipLine
Note:
wrapper for static method bool cv::clipLine(const cv::Rect imgRect, cv::Point& pt1, cv::Point& pt2)
4513
4514
4515
|
# File 'lib/ropencv/ropencv_types.rb', line 4513
def self.clip_line(img_rect, _pt1, _pt2)
Rbind::cv_clip_line(img_rect, _pt1, _pt2)
end
|
.color_change(src, mask, dst, red_mul = 1.0, green_mul = 1.0, blue_mul = 1.0) ⇒ Void
Also known as:
colorChange
Note:
wrapper for static method void cv::colorChange(const cv::Mat src, const cv::Mat mask, cv::Mat& dst, float red_mul = 1.0f, float green_mul = 1.0f, float blue_mul = 1.0f)
2887
2888
2889
|
# File 'lib/ropencv/ropencv_types.rb', line 2887
def self.color_change(src, mask, dst, red_mul = 1.0, green_mul = 1.0, blue_mul = 1.0)
Rbind::cv_color_change(src, mask, dst, red_mul, green_mul, blue_mul)
end
|
.compare(_src1, _src2, dst, cmpop) ⇒ Void
Note:
wrapper for static method void cv::compare(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, int cmpop)
1941
1942
1943
|
# File 'lib/ropencv/ropencv_types.rb', line 1941
def self.compare(_src1, _src2, dst, cmpop)
Rbind::cv_compare(_src1, _src2, dst, cmpop)
end
|
.compare_hist(_h1, _h2, method) ⇒ Double
Also known as:
compareHist
Note:
wrapper for static method double cv::compareHist(const cv::Mat H1, const cv::Mat H2, int method)
3812
3813
3814
|
# File 'lib/ropencv/ropencv_types.rb', line 3812
def self.compare_hist(_h1, _h2, method)
Rbind::cv_compare_hist(_h1, _h2, method)
end
|
.complete_symm(m, lower_to_upper = false) ⇒ Void
Also known as:
completeSymm
Note:
wrapper for static method void cv::completeSymm(cv::Mat& m, bool lowerToUpper = false)
2117
2118
2119
|
# File 'lib/ropencv/ropencv_types.rb', line 2117
def self.complete_symm(m, lower_to_upper = false)
Rbind::cv_complete_symm(m, lower_to_upper)
end
|
.composert(_rvec1, _tvec1, _rvec2, _tvec2, _rvec3, _tvec3, _dr3dr1 = Cv::Mat.new(), _dr3dt1 = Cv::Mat.new(), _dr3dr2 = Cv::Mat.new(), _dr3dt2 = Cv::Mat.new(), _dt3dr1 = Cv::Mat.new(), _dt3dt1 = Cv::Mat.new(), _dt3dr2 = Cv::Mat.new(), _dt3dt2 = Cv::Mat.new()) ⇒ Void
Also known as:
composeRT
Note:
wrapper for static method void cv::composeRT(const cv::Mat rvec1, const cv::Mat tvec1, const cv::Mat rvec2, const cv::Mat tvec2, cv::Mat& rvec3, cv::Mat& tvec3, const cv::Mat dr3dr1 = Mat()/O, const cv::Mat dr3dt1 = Mat()/O, const cv::Mat dr3dr2 = Mat()/O, const cv::Mat dr3dt2 = Mat()/O, const cv::Mat dt3dr1 = Mat()/O, const cv::Mat dt3dt1 = Mat()/O, const cv::Mat dt3dr2 = Mat()/O, const cv::Mat dt3dt2 = Mat()/O)
5343
5344
5345
|
# File 'lib/ropencv/ropencv_types.rb', line 5343
def self.composert(_rvec1, _tvec1, _rvec2, _tvec2, _rvec3, _tvec3, _dr3dr1 = Cv::Mat.new(), _dr3dt1 = Cv::Mat.new(), _dr3dr2 = Cv::Mat.new(), _dr3dt2 = Cv::Mat.new(), _dt3dr1 = Cv::Mat.new(), _dt3dt1 = Cv::Mat.new(), _dt3dr2 = Cv::Mat.new(), _dt3dt2 = Cv::Mat.new())
Rbind::cv_composert(_rvec1, _tvec1, _rvec2, _tvec2, _rvec3, _tvec3, _dr3dr1, _dr3dt1, _dr3dr2, _dr3dt2, _dt3dr1, _dt3dt1, _dt3dr2, _dt3dt2)
end
|
.compute_correspond_epilines(points, which_image, f, lines) ⇒ Void
Also known as:
computeCorrespondEpilines
Note:
wrapper for static method void cv::computeCorrespondEpilines(const cv::Mat points, int whichImage, const cv::Mat F, cv::Mat& lines)
6288
6289
6290
|
# File 'lib/ropencv/ropencv_types.rb', line 6288
def self.compute_correspond_epilines(points, which_image, f, lines)
Rbind::cv_compute_correspond_epilines(points, which_image, f, lines)
end
|
.computeecc(template_image, input_image, input_mask = Cv::Mat.new()) ⇒ Double
Also known as:
computeECC
Note:
wrapper for static method double cv::computeECC(const cv::Mat templateImage, const cv::Mat inputImage, const cv::Mat inputMask = Mat())
5065
5066
5067
|
# File 'lib/ropencv/ropencv_types.rb', line 5065
def self.computeecc(template_image, input_image, input_mask = Cv::Mat.new())
Rbind::cv_computeecc(template_image, input_image, input_mask)
end
|
.connected_components(image, labels, connectivity = 8, ltype = CV_32S) ⇒ Fixnum
Also known as:
connectedComponents
Note:
wrapper for static method int cv::connectedComponents(const cv::Mat image, cv::Mat& labels, int connectivity = 8, int ltype = CV_32S)
4014
4015
4016
|
# File 'lib/ropencv/ropencv_types.rb', line 4014
def self.connected_components(image, labels, connectivity = 8, ltype = CV_32S)
Rbind::cv_connected_components(image, labels, connectivity, ltype)
end
|
.connected_components_with_algorithm(image, labels, connectivity, ltype, ccltype) ⇒ Fixnum
Also known as:
connectedComponentsWithAlgorithm
Note:
wrapper for static method int cv::connectedComponents(const cv::Mat image, cv::Mat& labels, int connectivity, int ltype, int ccltype)
4003
4004
4005
|
# File 'lib/ropencv/ropencv_types.rb', line 4003
def self.connected_components_with_algorithm(image, labels, connectivity, ltype, ccltype)
Rbind::cv_connected_components_with_algorithm(image, labels, connectivity, ltype, ccltype)
end
|
.connected_components_with_stats(image, labels, stats, centroids, connectivity = 8, ltype = CV_32S) ⇒ Fixnum
Also known as:
connectedComponentsWithStats
Note:
wrapper for static method int cv::connectedComponentsWithStats(const cv::Mat image, cv::Mat& labels, cv::Mat& stats, cv::Mat& centroids, int connectivity = 8, int ltype = CV_32S)
4041
4042
4043
|
# File 'lib/ropencv/ropencv_types.rb', line 4041
def self.connected_components_with_stats(image, labels, stats, centroids, connectivity = 8, ltype = CV_32S)
Rbind::cv_connected_components_with_stats(image, labels, stats, centroids, connectivity, ltype)
end
|
.connected_components_with_stats_with_algorithm(image, labels, stats, centroids, connectivity, ltype, ccltype) ⇒ Fixnum
Also known as:
connectedComponentsWithStatsWithAlgorithm
Note:
wrapper for static method int cv::connectedComponentsWithStats(const cv::Mat image, cv::Mat& labels, cv::Mat& stats, cv::Mat& centroids, int connectivity, int ltype, int ccltype)
4028
4029
4030
|
# File 'lib/ropencv/ropencv_types.rb', line 4028
def self.connected_components_with_stats_with_algorithm(image, labels, stats, centroids, connectivity, ltype, ccltype)
Rbind::cv_connected_components_with_stats_with_algorithm(image, labels, stats, centroids, connectivity, ltype, ccltype)
end
|
.contour_area(contour, oriented = false) ⇒ Double
Also known as:
contourArea
Note:
wrapper for static method double cv::contourArea(const cv::Mat contour, bool oriented = false)
4091
4092
4093
|
# File 'lib/ropencv/ropencv_types.rb', line 4091
def self.contour_area(contour, oriented = false)
Rbind::cv_contour_area(contour, oriented)
end
|
.convert_fp16(src, dst) ⇒ Void
Also known as:
convertFp16
Note:
wrapper for static method void cv::convertFp16(const cv::Mat src, cv::Mat& dst)
1530
1531
1532
|
# File 'lib/ropencv/ropencv_types.rb', line 1530
def self.convert_fp16(src, dst)
Rbind::cv_convert_fp16(src, dst)
end
|
.convert_maps(_map1, _map2, _dstmap1, _dstmap2, _dstmap1type, nninterpolation = false) ⇒ Void
Also known as:
convertMaps
Note:
wrapper for static method void cv::convertMaps(const cv::Mat map1, const cv::Mat map2, cv::Mat& dstmap1, cv::Mat& dstmap2, int dstmap1type, bool nninterpolation = false)
3535
3536
3537
|
# File 'lib/ropencv/ropencv_types.rb', line 3535
def self.convert_maps(_map1, _map2, _dstmap1, _dstmap2, _dstmap1type, nninterpolation = false)
Rbind::cv_convert_maps(_map1, _map2, _dstmap1, _dstmap2, _dstmap1type, nninterpolation)
end
|
.convert_points_from_homogeneous(src, dst) ⇒ Void
Also known as:
convertPointsFromHomogeneous
Note:
wrapper for static method void cv::convertPointsFromHomogeneous(const cv::Mat src, cv::Mat& dst)
5907
5908
5909
|
# File 'lib/ropencv/ropencv_types.rb', line 5907
def self.convert_points_from_homogeneous(src, dst)
Rbind::cv_convert_points_from_homogeneous(src, dst)
end
|
.convert_points_to_homogeneous(src, dst) ⇒ Void
Also known as:
convertPointsToHomogeneous
Note:
wrapper for static method void cv::convertPointsToHomogeneous(const cv::Mat src, cv::Mat& dst)
5898
5899
5900
|
# File 'lib/ropencv/ropencv_types.rb', line 5898
def self.convert_points_to_homogeneous(src, dst)
Rbind::cv_convert_points_to_homogeneous(src, dst)
end
|
.convert_scale_abs(src, dst, alpha = 1, beta = 0) ⇒ Void
Also known as:
convertScaleAbs
Note:
wrapper for static method void cv::convertScaleAbs(const cv::Mat src, cv::Mat& dst, double alpha = 1, double beta = 0)
1521
1522
1523
|
# File 'lib/ropencv/ropencv_types.rb', line 1521
def self.convert_scale_abs(src, dst, alpha = 1, beta = 0)
Rbind::cv_convert_scale_abs(src, dst, alpha, beta)
end
|
.convex_hull(points, hull, clockwise = false, return_points = true) ⇒ Void
Also known as:
convexHull
Note:
wrapper for static method void cv::convexHull(const cv::Mat points, cv::Mat& hull, bool clockwise = false, bool returnPoints = true)
4149
4150
4151
|
# File 'lib/ropencv/ropencv_types.rb', line 4149
def self.convex_hull(points, hull, clockwise = false, return_points = true)
Rbind::cv_convex_hull(points, hull, clockwise, return_points)
end
|
.convexity_defects(contour, convexhull, convexity_defects) ⇒ Void
Also known as:
convexityDefects
Note:
wrapper for static method void cv::convexityDefects(const cv::Mat contour, const cv::Mat convexhull, cv::Mat& convexityDefects)
4159
4160
4161
|
# File 'lib/ropencv/ropencv_types.rb', line 4159
def self.convexity_defects(contour, convexhull, convexity_defects)
Rbind::cv_convexity_defects(contour, convexhull, convexity_defects)
end
|
.copy_make_border(src, dst, top, bottom, left, right, border_type, value = Cv::Scalar.new()) ⇒ Void
Also known as:
copyMakeBorder
Note:
wrapper for static method void cv::copyMakeBorder(const cv::Mat src, cv::Mat& dst, int top, int bottom, int left, int right, int borderType, const cv::Scalar value = Scalar())
1406
1407
1408
|
# File 'lib/ropencv/ropencv_types.rb', line 1406
def self.copy_make_border(src, dst, top, bottom, left, right, border_type, value = Cv::Scalar.new())
Rbind::cv_copy_make_border(src, dst, top, bottom, left, right, border_type, value)
end
|
.copy_to(src, dst, mask) ⇒ Void
Also known as:
copyTo
Note:
wrapper for static method void cv::copyTo(const cv::Mat src, cv::Mat& dst, const cv::Mat mask)
1919
1920
1921
|
# File 'lib/ropencv/ropencv_types.rb', line 1919
def self.copy_to(src, dst, mask)
Rbind::cv_copy_to(src, dst, mask)
end
|
.corner_eigen_vals_and_vecs(src, dst, block_size, ksize, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
cornerEigenValsAndVecs
Note:
wrapper for static method void cv::cornerEigenValsAndVecs(const cv::Mat src, cv::Mat& dst, int blockSize, int ksize, int borderType = BORDER_DEFAULT)
3268
3269
3270
|
# File 'lib/ropencv/ropencv_types.rb', line 3268
def self.corner_eigen_vals_and_vecs(src, dst, block_size, ksize, border_type = BORDER_DEFAULT)
Rbind::cv_corner_eigen_vals_and_vecs(src, dst, block_size, ksize, border_type)
end
|
.corner_harris(src, dst, block_size, ksize, k, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
cornerHarris
Note:
wrapper for static method void cv::cornerHarris(const cv::Mat src, cv::Mat& dst, int blockSize, int ksize, double k, int borderType = BORDER_DEFAULT)
3256
3257
3258
|
# File 'lib/ropencv/ropencv_types.rb', line 3256
def self.corner_harris(src, dst, block_size, ksize, k, border_type = BORDER_DEFAULT)
Rbind::cv_corner_harris(src, dst, block_size, ksize, k, border_type)
end
|
.corner_min_eigen_val(src, dst, block_size, ksize = 3, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
cornerMinEigenVal
Note:
wrapper for static method void cv::cornerMinEigenVal(const cv::Mat src, cv::Mat& dst, int blockSize, int ksize = 3, int borderType = BORDER_DEFAULT)
3243
3244
3245
|
# File 'lib/ropencv/ropencv_types.rb', line 3243
def self.corner_min_eigen_val(src, dst, block_size, ksize = 3, border_type = BORDER_DEFAULT)
Rbind::cv_corner_min_eigen_val(src, dst, block_size, ksize, border_type)
end
|
.corner_sub_pix(image, corners, win_size, zero_zone, criteria) ⇒ Void
Also known as:
cornerSubPix
Note:
wrapper for static method void cv::cornerSubPix(const cv::Mat image, cv::Mat& corners, const cv::Size winSize, const cv::Size zeroZone, const cv::TermCriteria criteria)
3291
3292
3293
|
# File 'lib/ropencv/ropencv_types.rb', line 3291
def self.corner_sub_pix(image, corners, win_size, zero_zone, criteria)
Rbind::cv_corner_sub_pix(image, corners, win_size, zero_zone, criteria)
end
|
.correct_matches(f, _points1, _points2, _new_points1, _new_points2) ⇒ Void
Also known as:
correctMatches
Note:
wrapper for static method void cv::correctMatches(const cv::Mat F, const cv::Mat points1, const cv::Mat points2, cv::Mat& newPoints1, cv::Mat& newPoints2)
6312
6313
6314
|
# File 'lib/ropencv/ropencv_types.rb', line 6312
def self.correct_matches(f, _points1, _points2, _new_points1, _new_points2)
Rbind::cv_correct_matches(f, _points1, _points2, _new_points1, _new_points2)
end
|
.count_non_zero(src) ⇒ Fixnum
Also known as:
countNonZero
Note:
wrapper for static method int cv::countNonZero(const cv::Mat src)
1563
1564
1565
|
# File 'lib/ropencv/ropencv_types.rb', line 1563
def self.count_non_zero(src)
Rbind::cv_count_non_zero(src)
end
|
Note:
wrapper for static method const cv::Ptrcv::AffineTransformer cv::createAffineTransformer(bool fullAffine)
6673
6674
6675
|
# File 'lib/ropencv/ropencv_types.rb', line 6673
def self.create_affine_transformer(full_affine)
Rbind::cv_create_affine_transformer(full_affine)
end
|
.create_alignmtb(max_bits = 6, exclude_range = 4, cut = true) ⇒ Cv::Ptr::Cv_AlignMTB
Also known as:
createAlignMTB
Note:
wrapper for static method const cv::Ptrcv::AlignMTB cv::createAlignMTB(int max_bits = 6, int exclude_range = 4, bool cut = true)
2809
2810
2811
|
# File 'lib/ropencv/ropencv_types.rb', line 2809
def self.create_alignmtb(max_bits = 6, exclude_range = 4, cut = true)
Rbind::cv_create_alignmtb(max_bits, exclude_range, cut)
end
|
.create_background_subtractorknn(history = 500, _dist2_threshold = 400.0, detect_shadows = true) ⇒ Cv::Ptr::Cv_BackgroundSubtractorKNN
Also known as:
createBackgroundSubtractorKNN
Note:
wrapper for static method const cv::Ptrcv::BackgroundSubtractorKNN cv::createBackgroundSubtractorKNN(int history = 500, double dist2Threshold = 400.0, bool detectShadows = true)
4985
4986
4987
|
# File 'lib/ropencv/ropencv_types.rb', line 4985
def self.create_background_subtractorknn(history = 500, _dist2_threshold = 400.0, detect_shadows = true)
Rbind::cv_create_background_subtractorknn(history, _dist2_threshold, detect_shadows)
end
|
.create_background_subtractormog2(history = 500, var_threshold = 16, detect_shadows = true) ⇒ Cv::Ptr::Cv_BackgroundSubtractorMOG2
Also known as:
createBackgroundSubtractorMOG2
Note:
wrapper for static method const cv::Ptrcv::BackgroundSubtractorMOG2 cv::createBackgroundSubtractorMOG2(int history = 500, double varThreshold = 16, bool detectShadows = true)
4975
4976
4977
|
# File 'lib/ropencv/ropencv_types.rb', line 4975
def self.create_background_subtractormog2(history = 500, var_threshold = 16, detect_shadows = true)
Rbind::cv_create_background_subtractormog2(history, var_threshold, detect_shadows)
end
|
.create_calibrate_debevec(samples = 70, lambda = 10.0, random = false) ⇒ Cv::Ptr::Cv_CalibrateDebevec
Also known as:
createCalibrateDebevec
Note:
wrapper for static method const cv::Ptrcv::CalibrateDebevec cv::createCalibrateDebevec(int samples = 70, float lambda = 10.0f, bool random = false)
2819
2820
2821
|
# File 'lib/ropencv/ropencv_types.rb', line 2819
def self.create_calibrate_debevec(samples = 70, lambda = 10.0, random = false)
Rbind::cv_create_calibrate_debevec(samples, lambda, random)
end
|
.create_calibrate_robertson(max_iter = 30, threshold = 0.01) ⇒ Cv::Ptr::Cv_CalibrateRobertson
Also known as:
createCalibrateRobertson
Note:
wrapper for static method const cv::Ptrcv::CalibrateRobertson cv::createCalibrateRobertson(int max_iter = 30, float threshold = 0.01f)
2828
2829
2830
|
# File 'lib/ropencv/ropencv_types.rb', line 2828
def self.create_calibrate_robertson(max_iter = 30, threshold = 0.01)
Rbind::cv_create_calibrate_robertson(max_iter, threshold)
end
|
Note:
wrapper for static method const cv::Ptrcv::HistogramCostExtractor cv::createChiHistogramCostExtractor(int nDummies = 25, float defaultCost = 0.2f)
6648
6649
6650
|
# File 'lib/ropencv/ropencv_types.rb', line 6648
def self.(n_dummies = 25, default_cost = 0.2)
Rbind::(n_dummies, default_cost)
end
|
.create_generalized_hough_ballard ⇒ Cv::Ptr::Cv_GeneralizedHoughBallard
Also known as:
createGeneralizedHoughBallard
4242
4243
4244
|
# File 'lib/ropencv/ropencv_types.rb', line 4242
def self.create_generalized_hough_ballard()
Rbind::cv_create_generalized_hough_ballard()
end
|
.create_generalized_hough_guil ⇒ Cv::Ptr::Cv_GeneralizedHoughGuil
Also known as:
createGeneralizedHoughGuil
4249
4250
4251
|
# File 'lib/ropencv/ropencv_types.rb', line 4249
def self.create_generalized_hough_guil()
Rbind::cv_create_generalized_hough_guil()
end
|
.create_hanning_window(dst, win_size, type) ⇒ Void
Also known as:
createHanningWindow
Note:
wrapper for static method void cv::createHanningWindow(cv::Mat& dst, const cv::Size winSize, int type)
3716
3717
3718
|
# File 'lib/ropencv/ropencv_types.rb', line 3716
def self.create_hanning_window(dst, win_size, type)
Rbind::cv_create_hanning_window(dst, win_size, type)
end
|
Note:
wrapper for static method const cv::Ptrcv::HausdorffDistanceExtractor cv::createHausdorffDistanceExtractor(int distanceFlag = cv::NORM_L2, float rankProp = 0.6f)
6696
6697
6698
|
# File 'lib/ropencv/ropencv_types.rb', line 6696
def self.(distance_flag = Cv::NORM_L2, rank_prop = 0.6)
Rbind::(distance_flag, rank_prop)
end
|
.create_line_segment_detector(refine = LSD_REFINE_STD, scale = 0.8, sigma_scale = 0.6, quant = 2.0, ang_th = 22.5, log_eps = 0, density_th = 0.7, n_bins = 1024) ⇒ Cv::Ptr::Cv_LineSegmentDetector
Also known as:
createLineSegmentDetector
Note:
wrapper for static method const cv::Ptrcv::LineSegmentDetector cv::createLineSegmentDetector(int refine = LSD_REFINE_STD, double scale = 0.8, double sigma_scale = 0.6, double quant = 2.0, double ang_th = 22.5, double log_eps = 0, double density_th = 0.7, int n_bins = 1024)
2973
2974
2975
|
# File 'lib/ropencv/ropencv_types.rb', line 2973
def self.create_line_segment_detector(refine = LSD_REFINE_STD, scale = 0.8, sigma_scale = 0.6, quant = 2.0, ang_th = 22.5, log_eps = 0, density_th = 0.7, n_bins = 1024)
Rbind::cv_create_line_segment_detector(refine, scale, sigma_scale, quant, ang_th, log_eps, density_th, n_bins)
end
|
.create_merge_debevec ⇒ Cv::Ptr::Cv_MergeDebevec
Also known as:
createMergeDebevec
Note:
wrapper for static method const cv::Ptrcv::MergeDebevec cv::createMergeDebevec()
2835
2836
2837
|
# File 'lib/ropencv/ropencv_types.rb', line 2835
def self.create_merge_debevec()
Rbind::cv_create_merge_debevec()
end
|
.create_merge_mertens(contrast_weight = 1.0, saturation_weight = 1.0, exposure_weight = 0.0) ⇒ Cv::Ptr::Cv_MergeMertens
Also known as:
createMergeMertens
Note:
wrapper for static method const cv::Ptrcv::MergeMertens cv::createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f)
2845
2846
2847
|
# File 'lib/ropencv/ropencv_types.rb', line 2845
def self.create_merge_mertens(contrast_weight = 1.0, saturation_weight = 1.0, exposure_weight = 0.0)
Rbind::cv_create_merge_mertens(contrast_weight, saturation_weight, exposure_weight)
end
|
.create_merge_robertson ⇒ Cv::Ptr::Cv_MergeRobertson
Also known as:
createMergeRobertson
2852
2853
2854
|
# File 'lib/ropencv/ropencv_types.rb', line 2852
def self.create_merge_robertson()
Rbind::cv_create_merge_robertson()
end
|
Note:
wrapper for static method const cv::Ptrcv::HistogramCostExtractor cv::createNormHistogramCostExtractor(int flag = DIST_L2, int nDummies = 25, float defaultCost = 0.2f)
6629
6630
6631
|
# File 'lib/ropencv/ropencv_types.rb', line 6629
def self.(flag = DIST_L2, n_dummies = 25, default_cost = 0.2)
Rbind::(flag, n_dummies, default_cost)
end
|
Note:
wrapper for static method const cv::Ptrcv::ShapeContextDistanceExtractor cv::createShapeContextDistanceExtractor(int nAngularBins = 12, int nRadialBins = 4, float innerRadius = 0.2f, float outerRadius = 2, int iterations = 3, const cv::Ptrcv::HistogramCostExtractor comparer = createChiHistogramCostExtractor(), const cv::Ptrcv::ShapeTransformer transformer = createThinPlateSplineShapeTransformer())
6687
6688
6689
|
# File 'lib/ropencv/ropencv_types.rb', line 6687
def self.(n_angular_bins = 12, n_radial_bins = 4, inner_radius = 0.2, outer_radius = 2, iterations = 3, comparer = (), transformer = create_thin_plate_spline_shape_transformer())
Rbind::(n_angular_bins, n_radial_bins, inner_radius, outer_radius, iterations, comparer, transformer)
end
|
6665
6666
6667
|
# File 'lib/ropencv/ropencv_types.rb', line 6665
def self.create_thin_plate_spline_shape_transformer(regularization_parameter = 0)
Rbind::cv_create_thin_plate_spline_shape_transformer(regularization_parameter)
end
|
.create_tonemap(gamma = 1.0) ⇒ Cv::Ptr::Cv_Tonemap
Also known as:
createTonemap
Note:
wrapper for static method const cv::Ptrcv::Tonemap cv::createTonemap(float gamma = 1.0f)
2768
2769
2770
|
# File 'lib/ropencv/ropencv_types.rb', line 2768
def self.create_tonemap(gamma = 1.0)
Rbind::cv_create_tonemap(gamma)
end
|
.create_tonemap_drago(gamma = 1.0, saturation = 1.0, bias = 0.85) ⇒ Cv::Ptr::Cv_TonemapDrago
Also known as:
createTonemapDrago
Note:
wrapper for static method const cv::Ptrcv::TonemapDrago cv::createTonemapDrago(float gamma = 1.0f, float saturation = 1.0f, float bias = 0.85f)
2778
2779
2780
|
# File 'lib/ropencv/ropencv_types.rb', line 2778
def self.create_tonemap_drago(gamma = 1.0, saturation = 1.0, bias = 0.85)
Rbind::cv_create_tonemap_drago(gamma, saturation, bias)
end
|
.create_tonemap_mantiuk(gamma = 1.0, scale = 0.7, saturation = 1.0) ⇒ Cv::Ptr::Cv_TonemapMantiuk
Also known as:
createTonemapMantiuk
Note:
wrapper for static method const cv::Ptrcv::TonemapMantiuk cv::createTonemapMantiuk(float gamma = 1.0f, float scale = 0.7f, float saturation = 1.0f)
2799
2800
2801
|
# File 'lib/ropencv/ropencv_types.rb', line 2799
def self.create_tonemap_mantiuk(gamma = 1.0, scale = 0.7, saturation = 1.0)
Rbind::cv_create_tonemap_mantiuk(gamma, scale, saturation)
end
|
.create_tonemap_reinhard(gamma = 1.0, intensity = 0.0, light_adapt = 1.0, color_adapt = 0.0) ⇒ Cv::Ptr::Cv_TonemapReinhard
Also known as:
createTonemapReinhard
Note:
wrapper for static method const cv::Ptrcv::TonemapReinhard cv::createTonemapReinhard(float gamma = 1.0f, float intensity = 0.0f, float light_adapt = 1.0f, float color_adapt = 0.0f)
2789
2790
2791
|
# File 'lib/ropencv/ropencv_types.rb', line 2789
def self.create_tonemap_reinhard(gamma = 1.0, intensity = 0.0, light_adapt = 1.0, color_adapt = 0.0)
Rbind::cv_create_tonemap_reinhard(gamma, intensity, light_adapt, color_adapt)
end
|
.createclahe(clip_limit = 40.0, tile_grid_size = Cv::Size.new(8, 8)) ⇒ Cv::Ptr::Cv_CLAHE
Also known as:
createCLAHE
Note:
wrapper for static method const cv::Ptrcv::CLAHE cv::createCLAHE(double clipLimit = 40.0, const cv::Size tileGridSize = Size(8, 8))
3830
3831
3832
|
# File 'lib/ropencv/ropencv_types.rb', line 3830
def self.createclahe(clip_limit = 40.0, tile_grid_size = Cv::Size.new(8, 8))
Rbind::cv_createclahe(clip_limit, tile_grid_size)
end
|
Note:
wrapper for static method const cv::Ptrcv::HistogramCostExtractor cv::createEMDHistogramCostExtractor(int flag = DIST_L2, int nDummies = 25, float defaultCost = 0.2f)
6639
6640
6641
|
# File 'lib/ropencv/ropencv_types.rb', line 6639
def self.(flag = DIST_L2, n_dummies = 25, default_cost = 0.2)
Rbind::(flag, n_dummies, default_cost)
end
|
Note:
wrapper for static method const cv::Ptrcv::HistogramCostExtractor cv::createEMDL1HistogramCostExtractor(int nDummies = 25, float defaultCost = 0.2f)
6657
6658
6659
|
# File 'lib/ropencv/ropencv_types.rb', line 6657
def self.(n_dummies = 25, default_cost = 0.2)
Rbind::(n_dummies, default_cost)
end
|
.cube_root(val) ⇒ Float
Also known as:
cubeRoot
Note:
wrapper for static method float cv::cubeRoot(float val)
2468
2469
2470
|
# File 'lib/ropencv/ropencv_types.rb', line 2468
def self.cube_root(val)
Rbind::cv_cube_root(val)
end
|
.cvt_color(src, dst, code, dst_cn = 0) ⇒ Void
Also known as:
cvtColor
Note:
wrapper for static method void cv::cvtColor(const cv::Mat src, cv::Mat& dst, int code, int dstCn = 0)
3941
3942
3943
|
# File 'lib/ropencv/ropencv_types.rb', line 3941
def self.cvt_color(src, dst, code, dst_cn = 0)
Rbind::cv_cvt_color(src, dst, code, dst_cn)
end
|
.cvt_color_two_plane(_src1, _src2, dst, code) ⇒ Void
Also known as:
cvtColorTwoPlane
Note:
wrapper for static method void cv::cvtColorTwoPlane(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, int code)
3952
3953
3954
|
# File 'lib/ropencv/ropencv_types.rb', line 3952
def self.cvt_color_two_plane(_src1, _src2, dst, code)
Rbind::cv_cvt_color_two_plane(_src1, _src2, dst, code)
end
|
.dct(src, dst, flags = 0) ⇒ Void
Note:
wrapper for static method void cv::dct(const cv::Mat src, cv::Mat& dst, int flags = 0)
2383
2384
2385
|
# File 'lib/ropencv/ropencv_types.rb', line 2383
def self.dct(src, dst, flags = 0)
Rbind::cv_dct(src, dst, flags)
end
|
.decolor(src, grayscale, color_boost) ⇒ Void
Note:
wrapper for static method void cv::decolor(const cv::Mat src, cv::Mat& grayscale, cv::Mat& color_boost)
2862
2863
2864
|
# File 'lib/ropencv/ropencv_types.rb', line 2862
def self.decolor(src, grayscale, color_boost)
Rbind::cv_decolor(src, grayscale, color_boost)
end
|
.decompose_essential_mat(e, _r1, _r2, t) ⇒ Void
Also known as:
decomposeEssentialMat
Note:
wrapper for static method void cv::decomposeEssentialMat(const cv::Mat E, cv::Mat& R1, cv::Mat& R2, cv::Mat& t)
6144
6145
6146
|
# File 'lib/ropencv/ropencv_types.rb', line 6144
def self.decompose_essential_mat(e, _r1, _r2, t)
Rbind::cv_decompose_essential_mat(e, _r1, _r2, t)
end
|
.decompose_homography_mat(h, k, rotations, translations, normals) ⇒ Fixnum
Also known as:
decomposeHomographyMat
Note:
wrapper for static method int cv::decomposeHomographyMat(const cv::Mat H, const cv::Mat K, std::vectorcv::Mat& rotations, std::vectorcv::Mat& translations, std::vectorcv::Mat& normals)
6517
6518
6519
|
# File 'lib/ropencv/ropencv_types.rb', line 6517
def self.decompose_homography_mat(h, k, rotations, translations, normals)
Rbind::cv_decompose_homography_mat(h, k, rotations, translations, normals)
end
|
.decompose_projection_matrix(proj_matrix, camera_matrix, rot_matrix, trans_vect, rot_matrix_x = Cv::Mat.new(), rot_matrix_y = Cv::Mat.new(), rot_matrix_z = Cv::Mat.new(), euler_angles = Cv::Mat.new()) ⇒ Void
Also known as:
decomposeProjectionMatrix
Note:
wrapper for static method void cv::decomposeProjectionMatrix(const cv::Mat projMatrix, cv::Mat& cameraMatrix, cv::Mat& rotMatrix, cv::Mat& transVect, const cv::Mat rotMatrixX = Mat()/O, const cv::Mat rotMatrixY = Mat()/O, const cv::Mat rotMatrixZ = Mat()/O, const cv::Mat eulerAngles = Mat()/O)
5311
5312
5313
|
# File 'lib/ropencv/ropencv_types.rb', line 5311
def self.decompose_projection_matrix(proj_matrix, camera_matrix, rot_matrix, trans_vect, rot_matrix_x = Cv::Mat.new(), rot_matrix_y = Cv::Mat.new(), rot_matrix_z = Cv::Mat.new(), euler_angles = Cv::Mat.new())
Rbind::cv_decompose_projection_matrix(proj_matrix, camera_matrix, rot_matrix, trans_vect, rot_matrix_x, rot_matrix_y, rot_matrix_z, euler_angles)
end
|
.demosaicing(src, dst, code, dst_cn = 0) ⇒ Void
Note:
wrapper for static method void cv::demosaicing(const cv::Mat src, cv::Mat& dst, int code, int dstCn = 0)
3963
3964
3965
|
# File 'lib/ropencv/ropencv_types.rb', line 3963
def self.demosaicing(src, dst, code, dst_cn = 0)
Rbind::cv_demosaicing(src, dst, code, dst_cn)
end
|
.denoise_tvl1(observations, result, lambda = 1.0, niters = 30) ⇒ Void
Also known as:
denoise_TVL1
Note:
wrapper for static method void cv::denoise_TVL1(const std::vectorcv::Mat observations, const cv::Mat result, double lambda = 1.0, int niters = 30)
2760
2761
2762
|
# File 'lib/ropencv/ropencv_types.rb', line 2760
def self.denoise_tvl1(observations, result, lambda = 1.0, niters = 30)
Rbind::cv_denoise_tvl1(observations, result, lambda, niters)
end
|
.destroy_all_windows ⇒ Void
Also known as:
destroyAllWindows
Note:
wrapper for static method void cv::destroyAllWindows()
4702
4703
4704
|
# File 'lib/ropencv/ropencv_types.rb', line 4702
def self.destroy_all_windows()
Rbind::cv_destroy_all_windows()
end
|
.destroy_window(winname) ⇒ Void
Also known as:
destroyWindow
Note:
wrapper for static method void cv::destroyWindow(const std::string winname)
4695
4696
4697
|
# File 'lib/ropencv/ropencv_types.rb', line 4695
def self.destroy_window(winname)
Rbind::cv_destroy_window(winname)
end
|
.detail_enhance(src, dst, sigma_s = 10, sigma_r = 0.15) ⇒ Void
Also known as:
detailEnhance
Note:
wrapper for static method void cv::detailEnhance(const cv::Mat src, cv::Mat& dst, float sigma_s = 10, float sigma_r = 0.15f)
2935
2936
2937
|
# File 'lib/ropencv/ropencv_types.rb', line 2935
def self.detail_enhance(src, dst, sigma_s = 10, sigma_r = 0.15)
Rbind::cv_detail_enhance(src, dst, sigma_s, sigma_r)
end
|
.determinant(mtx) ⇒ Double
Note:
wrapper for static method double cv::determinant(const cv::Mat mtx)
2134
2135
2136
|
# File 'lib/ropencv/ropencv_types.rb', line 2134
def self.determinant(mtx)
Rbind::cv_determinant(mtx)
end
|
.dft(src, dst, flags = 0, nonzero_rows = 0) ⇒ Void
Note:
wrapper for static method void cv::dft(const cv::Mat src, cv::Mat& dst, int flags = 0, int nonzeroRows = 0)
2364
2365
2366
|
# File 'lib/ropencv/ropencv_types.rb', line 2364
def self.dft(src, dst, flags = 0, nonzero_rows = 0)
Rbind::cv_dft(src, dst, flags, nonzero_rows)
end
|
.dilate(src, dst, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value()) ⇒ Void
Note:
wrapper for static method void cv::dilate(const cv::Mat src, cv::Mat& dst, const cv::Mat kernel, const cv::Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, const cv::Scalar borderValue = morphologyDefaultBorderValue())
3455
3456
3457
|
# File 'lib/ropencv/ropencv_types.rb', line 3455
def self.dilate(src, dst, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value())
Rbind::cv_dilate(src, dst, kernel, anchor, iterations, border_type, border_value)
end
|
.display_overlay(winname, text, delayms = 0) ⇒ Void
Also known as:
displayOverlay
Note:
wrapper for static method void cv::displayOverlay(const std::string winname, const std::string text, int delayms = 0)
4955
4956
4957
|
# File 'lib/ropencv/ropencv_types.rb', line 4955
def self.display_overlay(winname, text, delayms = 0)
Rbind::cv_display_overlay(winname, text, delayms)
end
|
.display_status_bar(winname, text, delayms = 0) ⇒ Void
Also known as:
displayStatusBar
Note:
wrapper for static method void cv::displayStatusBar(const std::string winname, const std::string text, int delayms = 0)
4965
4966
4967
|
# File 'lib/ropencv/ropencv_types.rb', line 4965
def self.display_status_bar(winname, text, delayms = 0)
Rbind::cv_display_status_bar(winname, text, delayms)
end
|
Note:
wrapper for static method void cv::distanceTransform(const cv::Mat src, cv::Mat& dst, int distanceType, int maskSize, int dstType = CV_32F)
3903
3904
3905
|
# File 'lib/ropencv/ropencv_types.rb', line 3903
def self.distance_transform(src, dst, distance_type, mask_size, dst_type = CV_32F)
Rbind::cv_distance_transform(src, dst, distance_type, mask_size, dst_type)
end
|
Note:
wrapper for static method void cv::distanceTransform(const cv::Mat src, cv::Mat& dst, cv::Mat& labels, int distanceType, int maskSize, int labelType = DIST_LABEL_CCOMP)
3891
3892
3893
|
# File 'lib/ropencv/ropencv_types.rb', line 3891
def self.distance_transform_with_labels(src, dst, labels, distance_type, mask_size, label_type = DIST_LABEL_CCOMP)
Rbind::cv_distance_transform_with_labels(src, dst, labels, distance_type, mask_size, label_type)
end
|
.div_spectrums(a, b, c, flags, conj_b = false) ⇒ Void
Also known as:
divSpectrums
Note:
wrapper for static method void cv::divSpectrums(const cv::Mat a, const cv::Mat b, cv::Mat& c, int flags, bool conjB = false)
3728
3729
3730
|
# File 'lib/ropencv/ropencv_types.rb', line 3728
def self.div_spectrums(a, b, c, flags, conj_b = false)
Rbind::cv_div_spectrums(a, b, c, flags, conj_b)
end
|
.divide(_src1, _src2, dst, scale = 1, dtype = -1) ⇒ Void
.divide(scale, _src2, dst, dtype = -1) ⇒ Void
Note:
wrapper for overloaded static method divide
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
|
# File 'lib/ropencv/ropencv_types.rb', line 1459
def self.divide(*args)
@@cv_divide_defaults0 ||= [nil, nil, nil, 1, -1]
if(args.size >= 3 && args.size <= 5)
targs = args.clone
targs.size.upto(4) do |i|
targs[i] = @@cv_divide_defaults0[i]
end
begin
return Rbind::cv_divide(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_divide__2_defaults1 ||= [nil, nil, nil, -1]
if(args.size >= 3 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_divide__2_defaults1[i]
end
begin
return Rbind::cv_divide__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.draw_chessboard_corners(image, pattern_size, corners, pattern_was_found) ⇒ Void
Also known as:
drawChessboardCorners
Note:
wrapper for static method void cv::drawChessboardCorners(cv::Mat& image, const cv::Size patternSize, const cv::Mat corners, bool patternWasFound)
5579
5580
5581
|
# File 'lib/ropencv/ropencv_types.rb', line 5579
def self.draw_chessboard_corners(image, pattern_size, corners, pattern_was_found)
Rbind::cv_draw_chessboard_corners(image, pattern_size, corners, pattern_was_found)
end
|
.draw_contours(image, contours, contour_idx, color, thickness = 1, line_type = LINE_8, hierarchy = Cv::Mat.new(), max_level = INT_MAX, offset = Cv::Point.new()) ⇒ Void
Also known as:
drawContours
Note:
wrapper for static method void cv::drawContours(cv::Mat& image, const std::vectorcv::Mat contours, int contourIdx, const cv::Scalar color, int thickness = 1, int lineType = LINE_8, const cv::Mat hierarchy = Mat(), int maxLevel = INT_MAX, const cv::Point offset = Point())
4503
4504
4505
|
# File 'lib/ropencv/ropencv_types.rb', line 4503
def self.draw_contours(image, contours, contour_idx, color, thickness = 1, line_type = LINE_8, hierarchy = Cv::Mat.new(), max_level = INT_MAX, offset = Cv::Point.new())
Rbind::cv_draw_contours(image, contours, contour_idx, color, thickness, line_type, hierarchy, max_level, offset)
end
|
.draw_frame_axes(image, camera_matrix, dist_coeffs, rvec, tvec, length, thickness = 3) ⇒ Void
Also known as:
drawFrameAxes
Note:
wrapper for static method void cv::drawFrameAxes(cv::Mat& image, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Mat rvec, const cv::Mat tvec, float length, int thickness = 3)
5593
5594
5595
|
# File 'lib/ropencv/ropencv_types.rb', line 5593
def self.draw_frame_axes(image, camera_matrix, dist_coeffs, rvec, tvec, length, thickness = 3)
Rbind::cv_draw_frame_axes(image, camera_matrix, dist_coeffs, rvec, tvec, length, thickness)
end
|
.draw_keypoints(image, keypoints, out_image, color = Cv::Scalar::all(-1), flags = :DEFAULT) ⇒ Void
Also known as:
drawKeypoints
Note:
wrapper for static method void cv::drawKeypoints(const cv::Mat image, const std::vectorcv::KeyPoint keypoints, cv::Mat& outImage, const cv::Scalar color = Scalar::all(-1), cv::DrawMatchesFlags flags = DrawMatchesFlags::DEFAULT)
5144
5145
5146
|
# File 'lib/ropencv/ropencv_types.rb', line 5144
def self.draw_keypoints(image, keypoints, out_image, color = Cv::Scalar::all(-1), flags = :DEFAULT)
Rbind::cv_draw_keypoints(image, keypoints, out_image, color, flags)
end
|
.draw_marker(img, position, color, marker_type = MARKER_CROSS, marker_size = 20, thickness = 1, line_type = 8) ⇒ Void
Also known as:
drawMarker
Note:
wrapper for static method void cv::drawMarker(cv::Mat& img, const cv::Point position, const cv::Scalar color, int markerType = MARKER_CROSS, int markerSize = 20, int thickness = 1, int line_type = 8)
4449
4450
4451
|
# File 'lib/ropencv/ropencv_types.rb', line 4449
def self.draw_marker(img, position, color, marker_type = MARKER_CROSS, marker_size = 20, thickness = 1, line_type = 8)
Rbind::cv_draw_marker(img, position, color, marker_type, marker_size, thickness, line_type)
end
|
.draw_matches(_img1, _keypoints1, _img2, _keypoints2, _matches1to2, out_img, match_color = Cv::Scalar::all(-1), single_point_color = Cv::Scalar::all(-1), matches_mask = Std::Vector::Char.new(), flags = :DEFAULT) ⇒ Void
.draw_matches(_img1, _keypoints1, _img2, _keypoints2, _matches1to2, out_img, matches_thickness, match_color = Cv::Scalar::all(-1), single_point_color = Cv::Scalar::all(-1), matches_mask = Std::Vector::Char.new(), flags = :DEFAULT) ⇒ Void
Note:
wrapper for overloaded static method draw_matches
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
|
# File 'lib/ropencv/ropencv_types.rb', line 5176
def self.draw_matches(*args)
@@cv_draw_matches_defaults0 ||= [nil, nil, nil, nil, nil, nil, Cv::Scalar::all(-1), Cv::Scalar::all(-1), Std::Vector::Char.new(), :DEFAULT]
if(args.size >= 6 && args.size <= 10)
targs = args.clone
targs.size.upto(9) do |i|
targs[i] = @@cv_draw_matches_defaults0[i]
end
begin
return Rbind::cv_draw_matches(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_draw_matches__2_defaults1 ||= [nil, nil, nil, nil, nil, nil, nil, Cv::Scalar::all(-1), Cv::Scalar::all(-1), Std::Vector::Char.new(), :DEFAULT]
if(args.size >= 7 && args.size <= 11)
targs = args.clone
targs.size.upto(10) do |i|
targs[i] = @@cv_draw_matches__2_defaults1[i]
end
begin
return Rbind::cv_draw_matches__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.draw_matches_knn(_img1, _keypoints1, _img2, _keypoints2, _matches1to2, out_img, match_color = Cv::Scalar::all(-1), single_point_color = Cv::Scalar::all(-1), matches_mask = Std::Vector::Std_Vector_Char.new(), flags = :DEFAULT) ⇒ Void
Also known as:
drawMatchesKnn
Note:
wrapper for static method void cv::drawMatches(const cv::Mat img1, const std::vectorcv::KeyPoint keypoints1, const cv::Mat img2, const std::vectorcv::KeyPoint keypoints2, const std::vectorstd::vector<cv::DMatch > matches1to2, cv::Mat& outImg, const cv::Scalar matchColor = Scalar::all(-1), const cv::Scalar singlePointColor = Scalar::all(-1), const std::vectorstd::vector<char > matchesMask = std::vectorstd::vector<char >(), cv::DrawMatchesFlags flags = DrawMatchesFlags::DEFAULT)
5219
5220
5221
|
# File 'lib/ropencv/ropencv_types.rb', line 5219
def self.draw_matches_knn(_img1, _keypoints1, _img2, _keypoints2, _matches1to2, out_img, match_color = Cv::Scalar::all(-1), single_point_color = Cv::Scalar::all(-1), matches_mask = Std::Vector::Std_Vector_Char.new(), flags = :DEFAULT)
Rbind::cv_draw_matches_knn(_img1, _keypoints1, _img2, _keypoints2, _matches1to2, out_img, match_color, single_point_color, matches_mask, flags)
end
|
.edge_preserving_filter(src, dst, flags = 1, sigma_s = 60, sigma_r = 0.4) ⇒ Void
Also known as:
edgePreservingFilter
Note:
wrapper for static method void cv::edgePreservingFilter(const cv::Mat src, cv::Mat& dst, int flags = 1, float sigma_s = 60, float sigma_r = 0.4f)
2924
2925
2926
|
# File 'lib/ropencv/ropencv_types.rb', line 2924
def self.edge_preserving_filter(src, dst, flags = 1, sigma_s = 60, sigma_r = 0.4)
Rbind::cv_edge_preserving_filter(src, dst, flags, sigma_s, sigma_r)
end
|
.eigen(src, eigenvalues, eigenvectors = Cv::Mat.new()) ⇒ Bool
Note:
wrapper for static method bool cv::eigen(const cv::Mat src, cv::Mat& eigenvalues, const cv::Mat eigenvectors = Mat()/O)
2207
2208
2209
|
# File 'lib/ropencv/ropencv_types.rb', line 2207
def self.eigen(src, eigenvalues, eigenvectors = Cv::Mat.new())
Rbind::cv_eigen(src, eigenvalues, eigenvectors)
end
|
.eigen_non_symmetric(src, eigenvalues, eigenvectors) ⇒ Void
Also known as:
eigenNonSymmetric
Note:
wrapper for static method void cv::eigenNonSymmetric(const cv::Mat src, cv::Mat& eigenvalues, cv::Mat& eigenvectors)
2216
2217
2218
|
# File 'lib/ropencv/ropencv_types.rb', line 2216
def self.eigen_non_symmetric(src, eigenvalues, eigenvectors)
Rbind::cv_eigen_non_symmetric(src, eigenvalues, eigenvectors)
end
|
.ellipse(img, center, axes, angle, start_angle, end_angle, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
.ellipse(img, box, color, thickness = 1, line_type = LINE_8) ⇒ Void
Note:
wrapper for overloaded static method ellipse
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
|
# File 'lib/ropencv/ropencv_types.rb', line 4409
def self.ellipse(*args)
@@cv_ellipse_defaults0 ||= [nil, nil, nil, nil, nil, nil, nil, 1, LINE_8, 0]
if(args.size >= 7 && args.size <= 10)
targs = args.clone
targs.size.upto(9) do |i|
targs[i] = @@cv_ellipse_defaults0[i]
end
begin
return Rbind::cv_ellipse(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_ellipse__2_defaults1 ||= [nil, nil, nil, 1, LINE_8]
if(args.size >= 3 && args.size <= 5)
targs = args.clone
targs.size.upto(4) do |i|
targs[i] = @@cv_ellipse__2_defaults1[i]
end
begin
return Rbind::cv_ellipse__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.ellipse2_poly(center, axes, angle, arc_start, arc_end, delta, pts) ⇒ Void
Also known as:
ellipse2Poly
Note:
wrapper for static method void cv::ellipse2Poly(const cv::Point center, const cv::Size axes, int angle, int arcStart, int arcEnd, int delta, std::vectorcv::Point& pts)
4527
4528
4529
|
# File 'lib/ropencv/ropencv_types.rb', line 4527
def self.ellipse2_poly(center, axes, angle, arc_start, arc_end, delta, pts)
Rbind::cv_ellipse2_poly(center, axes, angle, arc_start, arc_end, delta, pts)
end
|
.emd(_signature1, _signature2, dist_type, cost = Cv::Mat.new(), lower_bound = Cv::Ptr::Float.new(), flow = Cv::Mat.new()) ⇒ Float
Also known as:
EMD
Note:
wrapper for static method float cv::wrapperEMD(const cv::Mat signature1, const cv::Mat signature2, int distType, const cv::Mat cost = Mat(), const cv::Ptr lowerBound = Ptr()/IO, const cv::Mat flow = Mat()/O)
3843
3844
3845
|
# File 'lib/ropencv/ropencv_types.rb', line 3843
def self.emd(_signature1, _signature2, dist_type, cost = Cv::Mat.new(), lower_bound = Cv::Ptr::Float.new(), flow = Cv::Mat.new())
Rbind::cv_emd(_signature1, _signature2, dist_type, cost, lower_bound, flow)
end
|
.equalize_hist(src, dst) ⇒ Void
Also known as:
equalizeHist
Note:
wrapper for static method void cv::equalizeHist(const cv::Mat src, cv::Mat& dst)
3821
3822
3823
|
# File 'lib/ropencv/ropencv_types.rb', line 3821
def self.equalize_hist(src, dst)
Rbind::cv_equalize_hist(src, dst)
end
|
.erode(src, dst, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value()) ⇒ Void
Note:
wrapper for static method void cv::erode(const cv::Mat src, cv::Mat& dst, const cv::Mat kernel, const cv::Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, const cv::Scalar borderValue = morphologyDefaultBorderValue())
3442
3443
3444
|
# File 'lib/ropencv/ropencv_types.rb', line 3442
def self.erode(src, dst, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value())
Rbind::cv_erode(src, dst, kernel, anchor, iterations, border_type, border_value)
end
|
.estimate_affine2d(from, to, inliers = Cv::Mat.new(), method = RANSAC, ransac_reproj_threshold = 3, max_iters = 2000, confidence = 0.99, refine_iters = 10) ⇒ Cv::Mat
.estimate_affine2d(_pts1, _pts2, inliers, params) ⇒ Cv::Mat
Also known as:
estimate_affine2d
Note:
wrapper for overloaded static method estimate_affine_2d
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
|
# File 'lib/ropencv/ropencv_types.rb', line 6457
def self.estimate_affine_2d(*args)
@@cv_estimate_affine2d_defaults0 ||= [nil, nil, Cv::Mat.new(), RANSAC, 3, 2000, 0.99, 10]
if(args.size >= 2 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_estimate_affine2d_defaults0[i]
end
begin
result = Rbind::cv_estimate_affine2d(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_estimate_affine2d__2_defaults1 ||= [nil, nil, nil, nil]
if(args.size >= 4 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_estimate_affine2d__2_defaults1[i]
end
begin
result = Rbind::cv_estimate_affine2d__2(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.estimate_affine3d(src, dst, out, inliers, ransac_threshold = 3, confidence = 0.99) ⇒ Fixnum
.estimate_affine3d(src, dst, scale = nullptr/O, force_rotation = true) ⇒ Cv::Mat
Also known as:
estimate_affine3d
Note:
wrapper for overloaded static method estimate_affine_3d
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
|
# File 'lib/ropencv/ropencv_types.rb', line 6391
def self.estimate_affine_3d(*args)
@@cv_estimate_affine3d_defaults0 ||= [nil, nil, nil, nil, 3, 0.99]
if(args.size >= 4 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_estimate_affine3d_defaults0[i]
end
begin
return Rbind::cv_estimate_affine3d(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_estimate_affine3d__2_defaults1 ||= [nil, nil, nullptr/O, true]
if(args.size >= 2 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_estimate_affine3d__2_defaults1[i]
end
begin
result = Rbind::cv_estimate_affine3d__2(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.estimate_affine_partial2d(from, to, inliers = Cv::Mat.new(), method = RANSAC, ransac_reproj_threshold = 3, max_iters = 2000, confidence = 0.99, refine_iters = 10) ⇒ Cv::Mat
Also known as:
estimateAffinePartial2D
Note:
wrapper for static method const cv::Mat cv::estimateAffinePartial2D(const cv::Mat from, const cv::Mat to, const cv::Mat inliers = Mat()/O, int method = RANSAC, double ransacReprojThreshold = 3, size_t maxIters = 2000, double confidence = 0.99, size_t refineIters = 10)
6505
6506
6507
|
# File 'lib/ropencv/ropencv_types.rb', line 6505
def self.estimate_affine_partial2d(from, to, inliers = Cv::Mat.new(), method = RANSAC, ransac_reproj_threshold = 3, max_iters = 2000, confidence = 0.99, refine_iters = 10)
Rbind::cv_estimate_affine_partial2d(from, to, inliers, method, ransac_reproj_threshold, max_iters, confidence, refine_iters)
end
|
.estimate_chessboard_sharpness(image, pattern_size, corners, rise_distance = 0.8, vertical = false, sharpness = Cv::Mat.new()) ⇒ Cv::Scalar
Also known as:
estimateChessboardSharpness
Note:
wrapper for static method const cv::Scalar cv::estimateChessboardSharpness(const cv::Mat image, const cv::Size patternSize, const cv::Mat corners, float rise_distance = 0.8F, bool vertical = false, const cv::Mat sharpness = Mat()/O)
5558
5559
5560
|
# File 'lib/ropencv/ropencv_types.rb', line 5558
def self.estimate_chessboard_sharpness(image, pattern_size, corners, rise_distance = 0.8, vertical = false, sharpness = Cv::Mat.new())
Rbind::cv_estimate_chessboard_sharpness(image, pattern_size, corners, rise_distance, vertical, sharpness)
end
|
.estimate_translation3d(src, dst, out, inliers, ransac_threshold = 3, confidence = 0.99) ⇒ Fixnum
Also known as:
estimateTranslation3D
Note:
wrapper for static method int cv::estimateTranslation3D(const cv::Mat src, const cv::Mat dst, cv::Mat& out, cv::Mat& inliers, double ransacThreshold = 3, double confidence = 0.99)
6434
6435
6436
|
# File 'lib/ropencv/ropencv_types.rb', line 6434
def self.estimate_translation3d(src, dst, out, inliers, ransac_threshold = 3, confidence = 0.99)
Rbind::cv_estimate_translation3d(src, dst, out, inliers, ransac_threshold, confidence)
end
|
.exp(src, dst) ⇒ Void
Note:
wrapper for static method void cv::exp(const cv::Mat src, cv::Mat& dst)
1984
1985
1986
|
# File 'lib/ropencv/ropencv_types.rb', line 1984
def self.exp(src, dst)
Rbind::cv_exp(src, dst)
end
|
Note:
wrapper for static method void cv::extractChannel(const cv::Mat src, cv::Mat& dst, int coi)
1807
1808
1809
|
# File 'lib/ropencv/ropencv_types.rb', line 1807
def self.(src, dst, coi)
Rbind::(src, dst, coi)
end
|
.fast_atan2(y, x) ⇒ Float
Also known as:
fastAtan2
Note:
wrapper for static method float cv::fastAtan2(float y, float x)
2477
2478
2479
|
# File 'lib/ropencv/ropencv_types.rb', line 2477
def self.fast_atan2(y, x)
Rbind::cv_fast_atan2(y, x)
end
|
.fast_nl_means_denoising(src, dst, h = 3, template_window_size = 7, search_window_size = 21) ⇒ Void
.fast_nl_means_denoising(src, dst, h, template_window_size = 7, search_window_size = 21, norm_type = NORM_L2) ⇒ Void
Note:
wrapper for overloaded static method fast_nl_means_denoising
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
|
# File 'lib/ropencv/ropencv_types.rb', line 2643
def self.fast_nl_means_denoising(*args)
@@cv_fast_nl_means_denoising_defaults0 ||= [nil, nil, 3, 7, 21]
if(args.size >= 2 && args.size <= 5)
targs = args.clone
targs.size.upto(4) do |i|
targs[i] = @@cv_fast_nl_means_denoising_defaults0[i]
end
begin
return Rbind::cv_fast_nl_means_denoising(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_fast_nl_means_denoising__2_defaults1 ||= [nil, nil, nil, 7, 21, NORM_L2]
if(args.size >= 3 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_fast_nl_means_denoising__2_defaults1[i]
end
begin
return Rbind::cv_fast_nl_means_denoising__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.fast_nl_means_denoising_colored(src, dst, h = 3, h_color = 3, template_window_size = 7, search_window_size = 21) ⇒ Void
Also known as:
fastNlMeansDenoisingColored
Note:
wrapper for static method void cv::fastNlMeansDenoisingColored(const cv::Mat src, cv::Mat& dst, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21)
2682
2683
2684
|
# File 'lib/ropencv/ropencv_types.rb', line 2682
def self.fast_nl_means_denoising_colored(src, dst, h = 3, h_color = 3, template_window_size = 7, search_window_size = 21)
Rbind::cv_fast_nl_means_denoising_colored(src, dst, h, h_color, template_window_size, search_window_size)
end
|
.fast_nl_means_denoising_colored_multi(src_imgs, dst, img_to_denoise_index, temporal_window_size, h = 3, h_color = 3, template_window_size = 7, search_window_size = 21) ⇒ Void
Also known as:
fastNlMeansDenoisingColoredMulti
Note:
wrapper for static method void cv::fastNlMeansDenoisingColoredMulti(const std::vectorcv::Mat srcImgs, cv::Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21)
2749
2750
2751
|
# File 'lib/ropencv/ropencv_types.rb', line 2749
def self.fast_nl_means_denoising_colored_multi(src_imgs, dst, img_to_denoise_index, temporal_window_size, h = 3, h_color = 3, template_window_size = 7, search_window_size = 21)
Rbind::cv_fast_nl_means_denoising_colored_multi(src_imgs, dst, img_to_denoise_index, temporal_window_size, h, h_color, template_window_size, search_window_size)
end
|
.fast_nl_means_denoising_multi(src_imgs, dst, img_to_denoise_index, temporal_window_size, h = 3, template_window_size = 7, search_window_size = 21) ⇒ Void
.fast_nl_means_denoising_multi(src_imgs, dst, img_to_denoise_index, temporal_window_size, h, template_window_size = 7, search_window_size = 21, norm_type = NORM_L2) ⇒ Void
Note:
wrapper for overloaded static method fast_nl_means_denoising_multi
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
|
# File 'lib/ropencv/ropencv_types.rb', line 2708
def self.fast_nl_means_denoising_multi(*args)
@@cv_fast_nl_means_denoising_multi_defaults0 ||= [nil, nil, nil, nil, 3, 7, 21]
if(args.size >= 4 && args.size <= 7)
targs = args.clone
targs.size.upto(6) do |i|
targs[i] = @@cv_fast_nl_means_denoising_multi_defaults0[i]
end
begin
return Rbind::cv_fast_nl_means_denoising_multi(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_fast_nl_means_denoising_multi__2_defaults1 ||= [nil, nil, nil, nil, nil, 7, 21, NORM_L2]
if(args.size >= 5 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_fast_nl_means_denoising_multi__2_defaults1[i]
end
begin
return Rbind::cv_fast_nl_means_denoising_multi__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.fill_convex_poly(img, points, color, line_type = LINE_8, shift = 0) ⇒ Void
Also known as:
fillConvexPoly
Note:
wrapper for static method void cv::fillConvexPoly(cv::Mat& img, const cv::Mat points, const cv::Scalar color, int lineType = LINE_8, int shift = 0)
4461
4462
4463
|
# File 'lib/ropencv/ropencv_types.rb', line 4461
def self.fill_convex_poly(img, points, color, line_type = LINE_8, shift = 0)
Rbind::cv_fill_convex_poly(img, points, color, line_type, shift)
end
|
.fill_poly(img, pts, color, line_type = LINE_8, shift = 0, offset = Cv::Point.new()) ⇒ Void
Also known as:
fillPoly
Note:
wrapper for static method void cv::fillPoly(cv::Mat& img, const std::vectorcv::Mat pts, const cv::Scalar color, int lineType = LINE_8, int shift = 0, const cv::Point offset = Point())
4474
4475
4476
|
# File 'lib/ropencv/ropencv_types.rb', line 4474
def self.fill_poly(img, pts, color, line_type = LINE_8, shift = 0, offset = Cv::Point.new())
Rbind::cv_fill_poly(img, pts, color, line_type, shift, offset)
end
|
.filter2d(src, dst, ddepth, kernel, anchor = Cv::Point.new(-1,-1), delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
filter2D
Note:
wrapper for static method void cv::filter2D(const cv::Mat src, cv::Mat& dst, int ddepth, const cv::Mat kernel, const cv::Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT)
3110
3111
3112
|
# File 'lib/ropencv/ropencv_types.rb', line 3110
def self.filter2d(src, dst, ddepth, kernel, anchor = Cv::Point.new(-1,-1), delta = 0, border_type = BORDER_DEFAULT)
Rbind::cv_filter2d(src, dst, ddepth, kernel, anchor, delta, border_type)
end
|
.filter_homography_decomp_by_visible_refpoints(rotations, normals, before_points, after_points, possible_solutions, points_mask = Cv::Mat.new()) ⇒ Void
Also known as:
filterHomographyDecompByVisibleRefpoints
Note:
wrapper for static method void cv::filterHomographyDecompByVisibleRefpoints(const std::vectorcv::Mat rotations, const std::vectorcv::Mat normals, const cv::Mat beforePoints, const cv::Mat afterPoints, cv::Mat& possibleSolutions, const cv::Mat pointsMask = Mat())
6530
6531
6532
|
# File 'lib/ropencv/ropencv_types.rb', line 6530
def self.filter_homography_decomp_by_visible_refpoints(rotations, normals, before_points, after_points, possible_solutions, points_mask = Cv::Mat.new())
Rbind::cv_filter_homography_decomp_by_visible_refpoints(rotations, normals, before_points, after_points, possible_solutions, points_mask)
end
|
.filter_speckles(img, new_val, max_speckle_size, max_diff, buf = Cv::Mat.new()) ⇒ Void
Also known as:
filterSpeckles
Note:
wrapper for static method void cv::filterSpeckles(cv::Mat& img, double newVal, int maxSpeckleSize, double maxDiff, const cv::Mat buf = Mat()/IO)
6324
6325
6326
|
# File 'lib/ropencv/ropencv_types.rb', line 6324
def self.filter_speckles(img, new_val, max_speckle_size, max_diff, buf = Cv::Mat.new())
Rbind::cv_filter_speckles(img, new_val, max_speckle_size, max_diff, buf)
end
|
.find4_quad_corner_subpix(img, corners, region_size) ⇒ Bool
Also known as:
find4QuadCornerSubpix
Note:
wrapper for static method bool cv::find4QuadCornerSubpix(const cv::Mat img, cv::Mat& corners, const cv::Size region_size)
5568
5569
5570
|
# File 'lib/ropencv/ropencv_types.rb', line 5568
def self.find4_quad_corner_subpix(img, corners, region_size)
Rbind::cv_find4_quad_corner_subpix(img, corners, region_size)
end
|
.find_chessboard_corners(image, pattern_size, corners, flags = CALIB_CB_ADAPTIVE_THRESH+CALIB_CB_NORMALIZE_IMAGE) ⇒ Bool
Also known as:
findChessboardCorners
Note:
wrapper for static method bool cv::findChessboardCorners(const cv::Mat image, const cv::Size patternSize, cv::Mat& corners, int flags = CALIB_CB_ADAPTIVE_THRESH + CALIB_CB_NORMALIZE_IMAGE)
5513
5514
5515
|
# File 'lib/ropencv/ropencv_types.rb', line 5513
def self.find_chessboard_corners(image, pattern_size, corners, flags = CALIB_CB_ADAPTIVE_THRESH+CALIB_CB_NORMALIZE_IMAGE)
Rbind::cv_find_chessboard_corners(image, pattern_size, corners, flags)
end
|
Note:
wrapper for static method bool cv::findChessboardCornersSB(const cv::Mat image, const cv::Size patternSize, cv::Mat& corners, int flags = 0)
5545
5546
5547
|
# File 'lib/ropencv/ropencv_types.rb', line 5545
def self.(image, pattern_size, corners, flags = 0)
Rbind::(image, pattern_size, corners, flags)
end
|
Note:
wrapper for static method bool cv::findChessboardCornersSB(const cv::Mat image, const cv::Size patternSize, cv::Mat& corners, int flags, cv::Mat& meta)
5534
5535
5536
|
# File 'lib/ropencv/ropencv_types.rb', line 5534
def self.(image, pattern_size, corners, flags, meta)
Rbind::(image, pattern_size, corners, flags, meta)
end
|
.find_circles_grid(image, pattern_size, centers, flags, blob_detector, parameters) ⇒ Bool
.find_circles_grid(image, pattern_size, centers, flags = CALIB_CB_SYMMETRIC_GRID, blob_detector = Cv::SimpleBlobDetector::create()) ⇒ Bool
Note:
wrapper for overloaded static method find_circles_grid
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
|
# File 'lib/ropencv/ropencv_types.rb', line 5615
def self.find_circles_grid(*args)
@@cv_find_circles_grid_defaults0 ||= [nil, nil, nil, nil, nil, nil]
if(args.size >= 6 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_find_circles_grid_defaults0[i]
end
begin
return Rbind::cv_find_circles_grid(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_find_circles_grid__2_defaults1 ||= [nil, nil, nil, CALIB_CB_SYMMETRIC_GRID, Cv::SimpleBlobDetector::create()]
if(args.size >= 3 && args.size <= 5)
targs = args.clone
targs.size.upto(4) do |i|
targs[i] = @@cv_find_circles_grid__2_defaults1[i]
end
begin
return Rbind::cv_find_circles_grid__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.find_contours(image, contours, hierarchy, mode, method, offset = Cv::Point.new()) ⇒ Void
Also known as:
findContours
Note:
wrapper for static method void cv::findContours(const cv::Mat image, std::vectorcv::Mat& contours, cv::Mat& hierarchy, int mode, int method, const cv::Point offset = Point())
4054
4055
4056
|
# File 'lib/ropencv/ropencv_types.rb', line 4054
def self.find_contours(image, contours, hierarchy, mode, method, offset = Cv::Point.new())
Rbind::cv_find_contours(image, contours, hierarchy, mode, method, offset)
end
|
.find_essential_mat(_points1, _points2, camera_matrix, method = RANSAC, prob = 0.999, threshold = 1.0, max_iters = 1000, mask = Cv::Mat.new()) ⇒ Cv::Mat
.find_essential_mat(_points1, _points2, focal = 1.0, pp = Cv::Point2d.new(0, 0), method = RANSAC, prob = 0.999, threshold = 1.0, max_iters = 1000, mask = Cv::Mat.new()) ⇒ Cv::Mat
.find_essential_mat(_points1, _points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, method = RANSAC, prob = 0.999, threshold = 1.0, mask = Cv::Mat.new()) ⇒ Cv::Mat
.find_essential_mat(_points1, _points2, _camera_matrix1, _camera_matrix2, _dist_coeff1, _dist_coeff2, mask, params) ⇒ Cv::Mat
.find_essential_mat(_points1, _points2, focal = 1.0, pp = Cv::Point2d.new(0, 0), method = RANSAC, prob = 0.999, threshold = 1.0, mask = Cv::Mat.new()) ⇒ Cv::Mat
Note:
wrapper for overloaded static method find_essential_mat
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
|
# File 'lib/ropencv/ropencv_types.rb', line 6050
def self.find_essential_mat(*args)
@@cv_find_essential_mat_defaults0 ||= [nil, nil, nil, RANSAC, 0.999, 1.0, 1000, Cv::Mat.new()]
if(args.size >= 3 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_find_essential_mat_defaults0[i]
end
begin
result = Rbind::cv_find_essential_mat(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_essential_mat__2_defaults1 ||= [nil, nil, 1.0, Cv::Point2d.new(0, 0), RANSAC, 0.999, 1.0, 1000, Cv::Mat.new()]
if(args.size >= 2 && args.size <= 9)
targs = args.clone
targs.size.upto(8) do |i|
targs[i] = @@cv_find_essential_mat__2_defaults1[i]
end
begin
result = Rbind::cv_find_essential_mat__2(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_essential_mat__3_defaults2 ||= [nil, nil, nil, nil, nil, nil, RANSAC, 0.999, 1.0, Cv::Mat.new()]
if(args.size >= 6 && args.size <= 10)
targs = args.clone
targs.size.upto(9) do |i|
targs[i] = @@cv_find_essential_mat__3_defaults2[i]
end
begin
result = Rbind::cv_find_essential_mat__3(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_essential_mat__4_defaults3 ||= [nil, nil, nil, nil, nil, nil, nil, nil]
if(args.size >= 8 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_find_essential_mat__4_defaults3[i]
end
begin
result = Rbind::cv_find_essential_mat__4(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_essential_mat__5_defaults4 ||= [nil, nil, 1.0, Cv::Point2d.new(0, 0), RANSAC, 0.999, 1.0, Cv::Mat.new()]
if(args.size >= 2 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_find_essential_mat__5_defaults4[i]
end
begin
result = Rbind::cv_find_essential_mat__5(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.find_fundamental_mat(_points1, _points2, method, ransac_reproj_threshold, confidence, max_iters, mask = Cv::Mat.new()) ⇒ Cv::Mat
.find_fundamental_mat(_points1, _points2, method = FM_RANSAC, ransac_reproj_threshold = 3.0, confidence = 0.99, mask = Cv::Mat.new()) ⇒ Cv::Mat
.find_fundamental_mat(_points1, _points2, mask, params) ⇒ Cv::Mat
Note:
wrapper for overloaded static method find_fundamental_mat
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
|
# File 'lib/ropencv/ropencv_types.rb', line 5938
def self.find_fundamental_mat(*args)
@@cv_find_fundamental_mat_defaults0 ||= [nil, nil, nil, nil, nil, nil, Cv::Mat.new()]
if(args.size >= 6 && args.size <= 7)
targs = args.clone
targs.size.upto(6) do |i|
targs[i] = @@cv_find_fundamental_mat_defaults0[i]
end
begin
result = Rbind::cv_find_fundamental_mat(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_fundamental_mat__2_defaults1 ||= [nil, nil, FM_RANSAC, 3.0, 0.99, Cv::Mat.new()]
if(args.size >= 2 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_find_fundamental_mat__2_defaults1[i]
end
begin
result = Rbind::cv_find_fundamental_mat__2(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_fundamental_mat__3_defaults2 ||= [nil, nil, nil, nil]
if(args.size >= 4 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_find_fundamental_mat__3_defaults2[i]
end
begin
result = Rbind::cv_find_fundamental_mat__3(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.find_homography(src_points, dst_points, method = 0, ransac_reproj_threshold = 3, mask = Cv::Mat.new(), max_iters = 2000, confidence = 0.995) ⇒ Cv::Mat
.find_homography(src_points, dst_points, mask, params) ⇒ Cv::Mat
Note:
wrapper for overloaded static method find_homography
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
|
# File 'lib/ropencv/ropencv_types.rb', line 5251
def self.find_homography(*args)
@@cv_find_homography_defaults0 ||= [nil, nil, 0, 3, Cv::Mat.new(), 2000, 0.995]
if(args.size >= 2 && args.size <= 7)
targs = args.clone
targs.size.upto(6) do |i|
targs[i] = @@cv_find_homography_defaults0[i]
end
begin
result = Rbind::cv_find_homography(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_find_homography__2_defaults1 ||= [nil, nil, nil, nil]
if(args.size >= 4 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_find_homography__2_defaults1[i]
end
begin
result = Rbind::cv_find_homography__2(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.find_non_zero(src, idx) ⇒ Void
Also known as:
findNonZero
Note:
wrapper for static method void cv::findNonZero(const cv::Mat src, cv::Mat& idx)
1572
1573
1574
|
# File 'lib/ropencv/ropencv_types.rb', line 1572
def self.find_non_zero(src, idx)
Rbind::cv_find_non_zero(src, idx)
end
|
Note:
wrapper for overloaded static method find_transformecc
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
|
# File 'lib/ropencv/ropencv_types.rb', line 5089
def self.find_transformecc(*args)
@@cv_find_transformecc_defaults0 ||= [nil, nil, nil, nil, nil, nil, nil]
if(args.size >= 7 && args.size <= 7)
targs = args.clone
targs.size.upto(6) do |i|
targs[i] = @@cv_find_transformecc_defaults0[i]
end
begin
return Rbind::cv_find_transformecc(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_find_transformecc_2_defaults1 ||= [nil, nil, nil, MOTION_AFFINE, Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001), Cv::Mat.new()]
if(args.size >= 3 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_find_transformecc_2_defaults1[i]
end
begin
return Rbind::cv_find_transformecc_2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.fit_ellipse(points) ⇒ Cv::RotatedRect
Also known as:
fitEllipse
Note:
wrapper for static method const cv::RotatedRect cv::fitEllipse(const cv::Mat points)
4186
4187
4188
|
# File 'lib/ropencv/ropencv_types.rb', line 4186
def self.fit_ellipse(points)
Rbind::cv_fit_ellipse(points)
end
|
.fit_ellipse_direct(points) ⇒ Cv::RotatedRect
Also known as:
fitEllipseDirect
Note:
wrapper for static method const cv::RotatedRect cv::fitEllipseDirect(const cv::Mat points)
4202
4203
4204
|
# File 'lib/ropencv/ropencv_types.rb', line 4202
def self.fit_ellipse_direct(points)
Rbind::cv_fit_ellipse_direct(points)
end
|
.fit_ellipseams(points) ⇒ Cv::RotatedRect
Also known as:
fitEllipseAMS
Note:
wrapper for static method const cv::RotatedRect cv::fitEllipseAMS(const cv::Mat points)
4194
4195
4196
|
# File 'lib/ropencv/ropencv_types.rb', line 4194
def self.fit_ellipseams(points)
Rbind::cv_fit_ellipseams(points)
end
|
.fit_line(points, line, dist_type, param, reps, aeps) ⇒ Void
Also known as:
fitLine
Note:
wrapper for static method void cv::fitLine(const cv::Mat points, cv::Mat& line, int distType, double param, double reps, double aeps)
4215
4216
4217
|
# File 'lib/ropencv/ropencv_types.rb', line 4215
def self.fit_line(points, line, dist_type, param, reps, aeps)
Rbind::cv_fit_line(points, line, dist_type, param, reps, aeps)
end
|
.flip(src, dst, flip_code) ⇒ Void
Note:
wrapper for static method void cv::flip(const cv::Mat src, cv::Mat& dst, int flipCode)
1827
1828
1829
|
# File 'lib/ropencv/ropencv_types.rb', line 1827
def self.flip(src, dst, flip_code)
Rbind::cv_flip(src, dst, flip_code)
end
|
.flood_fill(image, mask, seed_point, new_val, rect = Cv::Rect::null, lo_diff = Cv::Scalar.new(), up_diff = Cv::Scalar.new(), flags = 4) ⇒ Fixnum
Also known as:
floodFill
Note:
wrapper for static method int cv::floodFill(cv::Mat& image, cv::Mat& mask, const cv::Point seedPoint, const cv::Scalar newVal, const cv::Rect* rect = 0/O, const cv::Scalar loDiff = Scalar(), const cv::Scalar upDiff = Scalar(), int flags = 4)
3918
3919
3920
|
# File 'lib/ropencv/ropencv_types.rb', line 3918
def self.flood_fill(image, mask, seed_point, new_val, rect = Cv::Rect::null, lo_diff = Cv::Scalar.new(), up_diff = Cv::Scalar.new(), flags = 4)
Rbind::cv_flood_fill(image, mask, seed_point, new_val, rect, lo_diff, up_diff, flags)
end
|
.gaussian_blur(src, dst, ksize, sigma_x, sigma_y = 0, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
GaussianBlur
Note:
wrapper for static method void cv::GaussianBlur(const cv::Mat src, cv::Mat& dst, const cv::Size ksize, double sigmaX, double sigmaY = 0, int borderType = BORDER_DEFAULT)
3044
3045
3046
|
# File 'lib/ropencv/ropencv_types.rb', line 3044
def self.gaussian_blur(src, dst, ksize, sigma_x, sigma_y = 0, border_type = BORDER_DEFAULT)
Rbind::cv_gaussian_blur(src, dst, ksize, sigma_x, sigma_y, border_type)
end
|
.gemm(_src1, _src2, alpha, _src3, beta, dst, flags = 0) ⇒ Void
Note:
wrapper for static method void cv::gemm(const cv::Mat src1, const cv::Mat src2, double alpha, const cv::Mat src3, double beta, cv::Mat& dst, int flags = 0)
2069
2070
2071
|
# File 'lib/ropencv/ropencv_types.rb', line 2069
def self.gemm(_src1, _src2, alpha, _src3, beta, dst, flags = 0)
Rbind::cv_gemm(_src1, _src2, alpha, _src3, beta, dst, flags)
end
|
Note:
wrapper for static method const cv::Mat cv::getAffineTransform(const cv::Mat src, const cv::Mat dst)
3573
3574
3575
|
# File 'lib/ropencv/ropencv_types.rb', line 3573
def self.get_affine_transform(src, dst)
Rbind::cv_get_affine_transform(src, dst)
end
|
Note:
wrapper for static method const std::string cv::getBuildInformation()
2516
2517
2518
|
# File 'lib/ropencv/ropencv_types.rb', line 2516
def self.get_build_information()
Rbind::cv_get_build_information()
end
|
.get_default_new_camera_matrix(camera_matrix, imgsize = Cv::Size.new(), center_principal_point = false) ⇒ Cv::Mat
Also known as:
getDefaultNewCameraMatrix
Note:
wrapper for static method const cv::Mat cv::getDefaultNewCameraMatrix(const cv::Mat cameraMatrix, const cv::Size imgsize = Size(), bool centerPrincipalPoint = false)
6581
6582
6583
|
# File 'lib/ropencv/ropencv_types.rb', line 6581
def self.get_default_new_camera_matrix(camera_matrix, imgsize = Cv::Size.new(), center_principal_point = false)
Rbind::cv_get_default_new_camera_matrix(camera_matrix, imgsize, center_principal_point)
end
|
.get_deriv_kernels(kx, ky, dx, dy, ksize, normalize = false, ktype = CV_32F) ⇒ Void
Also known as:
getDerivKernels
Note:
wrapper for static method void cv::getDerivKernels(cv::Mat& kx, cv::Mat& ky, int dx, int dy, int ksize, bool normalize = false, int ktype = CV_32F)
2997
2998
2999
|
# File 'lib/ropencv/ropencv_types.rb', line 2997
def self.get_deriv_kernels(kx, ky, dx, dy, ksize, normalize = false, ktype = CV_32F)
Rbind::cv_get_deriv_kernels(kx, ky, dx, dy, ksize, normalize, ktype)
end
|
.get_font_scale_from_height(font_face, pixel_height, thickness = 1) ⇒ Double
Also known as:
getFontScaleFromHeight
Note:
wrapper for static method double cv::getFontScaleFromHeight(int fontFace, int pixelHeight, int thickness = 1)
4565
4566
4567
|
# File 'lib/ropencv/ropencv_types.rb', line 4565
def self.get_font_scale_from_height(font_face, pixel_height, thickness = 1)
Rbind::cv_get_font_scale_from_height(font_face, pixel_height, thickness)
end
|
.get_gabor_kernel(ksize, sigma, theta, lambd, gamma, psi = CV_PI*0.5, ktype = CV_64F) ⇒ Cv::Mat
Also known as:
getGaborKernel
Note:
wrapper for static method const cv::Mat cv::getGaborKernel(const cv::Size ksize, double sigma, double theta, double lambd, double gamma, double psi = CV_PI*0.5, int ktype = CV_64F)
3011
3012
3013
|
# File 'lib/ropencv/ropencv_types.rb', line 3011
def self.get_gabor_kernel(ksize, sigma, theta, lambd, gamma, psi = CV_PI*0.5, ktype = CV_64F)
Rbind::cv_get_gabor_kernel(ksize, sigma, theta, lambd, gamma, psi, ktype)
end
|
.get_gaussian_kernel(ksize, sigma, ktype = CV_64F) ⇒ Cv::Mat
Also known as:
getGaussianKernel
Note:
wrapper for static method const cv::Mat cv::getGaussianKernel(int ksize, double sigma, int ktype = CV_64F)
2983
2984
2985
|
# File 'lib/ropencv/ropencv_types.rb', line 2983
def self.get_gaussian_kernel(ksize, sigma, ktype = CV_64F)
Rbind::cv_get_gaussian_kernel(ksize, sigma, ktype)
end
|
.get_hardware_feature_name(feature) ⇒ Std::String
Also known as:
getHardwareFeatureName
Note:
wrapper for static method const std::string cv::getHardwareFeatureName(int feature)
2581
2582
2583
|
# File 'lib/ropencv/ropencv_types.rb', line 2581
def self.get_hardware_feature_name(feature)
Rbind::cv_get_hardware_feature_name(feature)
end
|
.get_num_threads ⇒ Fixnum
Also known as:
getNumThreads
Note:
wrapper for static method int cv::getNumThreads()
2502
2503
2504
|
# File 'lib/ropencv/ropencv_types.rb', line 2502
def self.get_num_threads()
Rbind::cv_get_num_threads()
end
|
.get_number_ofcp_us ⇒ Fixnum
Also known as:
getNumberOfCPUs
Note:
wrapper for static method int cv::getNumberOfCPUs()
2595
2596
2597
|
# File 'lib/ropencv/ropencv_types.rb', line 2595
def self.get_number_ofcp_us()
Rbind::cv_get_number_ofcp_us()
end
|
.get_optimal_new_camera_matrix(camera_matrix, dist_coeffs, image_size, alpha, new_img_size = Cv::Size.new(), valid_pix_r_o_i = Cv::Rect::null, center_principal_point = false) ⇒ Cv::Mat
Also known as:
getOptimalNewCameraMatrix
Note:
wrapper for static method const cv::Mat cv::getOptimalNewCameraMatrix(const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Size imageSize, double alpha, const cv::Size newImgSize = Size(), const cv::Rect* validPixROI = 0/O, bool centerPrincipalPoint = false)
5859
5860
5861
|
# File 'lib/ropencv/ropencv_types.rb', line 5859
def self.get_optimal_new_camera_matrix(camera_matrix, dist_coeffs, image_size, alpha, new_img_size = Cv::Size.new(), valid_pix_r_o_i = Cv::Rect::null, center_principal_point = false)
Rbind::cv_get_optimal_new_camera_matrix(camera_matrix, dist_coeffs, image_size, alpha, new_img_size, valid_pix_r_o_i, center_principal_point)
end
|
.get_optimaldft_size(vecsize) ⇒ Fixnum
Also known as:
getOptimalDFTSize
Note:
wrapper for static method int cv::getOptimalDFTSize(int vecsize)
2411
2412
2413
|
# File 'lib/ropencv/ropencv_types.rb', line 2411
def self.get_optimaldft_size(vecsize)
Rbind::cv_get_optimaldft_size(vecsize)
end
|
Note:
wrapper for static method const cv::Mat cv::getPerspectiveTransform(const cv::Mat src, const cv::Mat dst, int solveMethod = DECOMP_LU)
3564
3565
3566
|
# File 'lib/ropencv/ropencv_types.rb', line 3564
def self.get_perspective_transform(src, dst, solve_method = DECOMP_LU)
Rbind::cv_get_perspective_transform(src, dst, solve_method)
end
|
.get_rect_sub_pix(image, patch_size, center, patch, patch_type = -1)) ⇒ Void
Also known as:
getRectSubPix
Note:
wrapper for static method void cv::getRectSubPix(const cv::Mat image, const cv::Size patchSize, const cv::Point2f center, cv::Mat& patch, int patchType = -1)
3585
3586
3587
|
# File 'lib/ropencv/ropencv_types.rb', line 3585
def self.get_rect_sub_pix(image, patch_size, center, patch, patch_type = -1)
Rbind::cv_get_rect_sub_pix(image, patch_size, center, patch, patch_type)
end
|
.get_rotation_matrix2d(center, angle, scale) ⇒ Cv::Mat
Also known as:
getRotationMatrix2D
Note:
wrapper for static method const cv::Mat cv::getRotationMatrix2D(const cv::Point2f center, double angle, double scale)
3545
3546
3547
|
# File 'lib/ropencv/ropencv_types.rb', line 3545
def self.get_rotation_matrix2d(center, angle, scale)
Rbind::cv_get_rotation_matrix2d(center, angle, scale)
end
|
.get_structuring_element(shape, ksize, anchor = Cv::Point.new(-1,-1)) ⇒ Cv::Mat
Also known as:
getStructuringElement
Note:
wrapper for static method const cv::Mat cv::getStructuringElement(int shape, const cv::Size ksize, const cv::Point anchor = Point(-1,-1))
3021
3022
3023
|
# File 'lib/ropencv/ropencv_types.rb', line 3021
def self.get_structuring_element(shape, ksize, anchor = Cv::Point.new(-1,-1))
Rbind::cv_get_structuring_element(shape, ksize, anchor)
end
|
.get_text_size(text, font_face, font_scale, thickness, base_line) ⇒ Cv::Size
Also known as:
getTextSize
Note:
wrapper for static method const cv::Size cv::getTextSize(const std::string text, int fontFace, double fontScale, int thickness, int* baseLine)
4555
4556
4557
|
# File 'lib/ropencv/ropencv_types.rb', line 4555
def self.get_text_size(text, font_face, font_scale, thickness, base_line)
Rbind::cv_get_text_size(text, font_face, font_scale, thickness, base_line)
end
|
.get_thread_num ⇒ Fixnum
Also known as:
getThreadNum
Note:
wrapper for static method int cv::getThreadNum()
2509
2510
2511
|
# File 'lib/ropencv/ropencv_types.rb', line 2509
def self.get_thread_num()
Rbind::cv_get_thread_num()
end
|
.get_tick_count ⇒ Fixnum
Also known as:
getTickCount
Note:
wrapper for static method int64 cv::getTickCount()
2551
2552
2553
|
# File 'lib/ropencv/ropencv_types.rb', line 2551
def self.get_tick_count()
Rbind::cv_get_tick_count()
end
|
.get_tick_frequency ⇒ Double
Also known as:
getTickFrequency
Note:
wrapper for static method double cv::getTickFrequency()
2558
2559
2560
|
# File 'lib/ropencv/ropencv_types.rb', line 2558
def self.get_tick_frequency()
Rbind::cv_get_tick_frequency()
end
|
.get_trackbar_pos(trackbarname, winname) ⇒ Fixnum
Also known as:
getTrackbarPos
Note:
wrapper for static method int cv::getTrackbarPos(const std::string trackbarname, const std::string winname)
4899
4900
4901
|
# File 'lib/ropencv/ropencv_types.rb', line 4899
def self.get_trackbar_pos(trackbarname, winname)
Rbind::cv_get_trackbar_pos(trackbarname, winname)
end
|
.get_valid_disparityroi(_roi1, _roi2, min_disparity, number_of_disparities, block_size) ⇒ Cv::Rect
Also known as:
getValidDisparityROI
Note:
wrapper for static method const cv::Rect cv::getValidDisparityROI(const cv::Rect roi1, const cv::Rect roi2, int minDisparity, int numberOfDisparities, int blockSize)
6336
6337
6338
|
# File 'lib/ropencv/ropencv_types.rb', line 6336
def self.get_valid_disparityroi(_roi1, _roi2, min_disparity, number_of_disparities, block_size)
Rbind::cv_get_valid_disparityroi(_roi1, _roi2, min_disparity, number_of_disparities, block_size)
end
|
.get_version_major ⇒ Fixnum
Also known as:
getVersionMajor
Note:
wrapper for static method int cv::getVersionMajor()
2530
2531
2532
|
# File 'lib/ropencv/ropencv_types.rb', line 2530
def self.get_version_major()
Rbind::cv_get_version_major()
end
|
.get_version_minor ⇒ Fixnum
Also known as:
getVersionMinor
Note:
wrapper for static method int cv::getVersionMinor()
2537
2538
2539
|
# File 'lib/ropencv/ropencv_types.rb', line 2537
def self.get_version_minor()
Rbind::cv_get_version_minor()
end
|
.get_version_revision ⇒ Fixnum
Also known as:
getVersionRevision
Note:
wrapper for static method int cv::getVersionRevision()
2544
2545
2546
|
# File 'lib/ropencv/ropencv_types.rb', line 2544
def self.get_version_revision()
Rbind::cv_get_version_revision()
end
|
.get_version_string ⇒ Std::String
Also known as:
getVersionString
Note:
wrapper for static method const std::string cv::getVersionString()
2523
2524
2525
|
# File 'lib/ropencv/ropencv_types.rb', line 2523
def self.get_version_string()
Rbind::cv_get_version_string()
end
|
.get_window_image_rect(winname) ⇒ Cv::Rect
Also known as:
getWindowImageRect
Note:
wrapper for static method const cv::Rect cv::getWindowImageRect(const std::string winname)
4828
4829
4830
|
# File 'lib/ropencv/ropencv_types.rb', line 4828
def self.get_window_image_rect(winname)
Rbind::cv_get_window_image_rect(winname)
end
|
.get_window_property(winname, prop_id) ⇒ Double
Also known as:
getWindowProperty
Note:
wrapper for static method double cv::getWindowProperty(const std::string winname, int prop_id)
4820
4821
4822
|
# File 'lib/ropencv/ropencv_types.rb', line 4820
def self.get_window_property(winname, prop_id)
Rbind::cv_get_window_property(winname, prop_id)
end
|
.getcpu_features_line ⇒ Std::String
Also known as:
getCPUFeaturesLine
Note:
wrapper for static method const std::string cv::getCPUFeaturesLine()
2588
2589
2590
|
# File 'lib/ropencv/ropencv_types.rb', line 2588
def self.getcpu_features_line()
Rbind::cv_getcpu_features_line()
end
|
.getcpu_tick_count ⇒ Fixnum
Also known as:
getCPUTickCount
Note:
wrapper for static method int64 cv::getCPUTickCount()
2565
2566
2567
|
# File 'lib/ropencv/ropencv_types.rb', line 2565
def self.getcpu_tick_count()
Rbind::cv_getcpu_tick_count()
end
|
.good_features_to_track(image, corners, max_corners, quality_level, min_distance, mask = Cv::Mat.new(), block_size = 3, use_harris_detector = false, k = 0.04) ⇒ Void
.good_features_to_track(image, corners, max_corners, quality_level, min_distance, mask, block_size, gradient_size, use_harris_detector = false, k = 0.04) ⇒ Void
Note:
wrapper for overloaded static method good_features_to_track
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
|
# File 'lib/ropencv/ropencv_types.rb', line 3321
def self.good_features_to_track(*args)
@@cv_good_features_to_track_defaults0 ||= [nil, nil, nil, nil, nil, Cv::Mat.new(), 3, false, 0.04]
if(args.size >= 5 && args.size <= 9)
targs = args.clone
targs.size.upto(8) do |i|
targs[i] = @@cv_good_features_to_track_defaults0[i]
end
begin
return Rbind::cv_good_features_to_track(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_good_features_to_track__2_defaults1 ||= [nil, nil, nil, nil, nil, nil, nil, nil, false, 0.04]
if(args.size >= 8 && args.size <= 10)
targs = args.clone
targs.size.upto(9) do |i|
targs[i] = @@cv_good_features_to_track__2_defaults1[i]
end
begin
return Rbind::cv_good_features_to_track__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.good_features_to_track_with_quality(image, corners, max_corners, quality_level, min_distance, mask, corners_quality, block_size = 3, gradient_size = 3, use_harris_detector = false, k = 0.04) ⇒ Void
Also known as:
goodFeaturesToTrackWithQuality
Note:
wrapper for static method void cv::goodFeaturesToTrack(const cv::Mat image, cv::Mat& corners, int maxCorners, double qualityLevel, double minDistance, const cv::Mat mask, cv::Mat& cornersQuality, int blockSize = 3, int gradientSize = 3, bool useHarrisDetector = false, double k = 0.04)
3365
3366
3367
|
# File 'lib/ropencv/ropencv_types.rb', line 3365
def self.good_features_to_track_with_quality(image, corners, max_corners, quality_level, min_distance, mask, corners_quality, block_size = 3, gradient_size = 3, use_harris_detector = false, k = 0.04)
Rbind::cv_good_features_to_track_with_quality(image, corners, max_corners, quality_level, min_distance, mask, corners_quality, block_size, gradient_size, use_harris_detector, k)
end
|
.grab_cut(img, mask, rect, bgd_model, fgd_model, iter_count, mode = GC_EVAL) ⇒ Void
Also known as:
grabCut
Note:
wrapper for static method void cv::grabCut(const cv::Mat img, cv::Mat& mask, const cv::Rect rect, cv::Mat& bgdModel, cv::Mat& fgdModel, int iterCount, int mode = GC_EVAL)
3878
3879
3880
|
# File 'lib/ropencv/ropencv_types.rb', line 3878
def self.grab_cut(img, mask, rect, bgd_model, fgd_model, iter_count, mode = GC_EVAL)
Rbind::cv_grab_cut(img, mask, rect, bgd_model, fgd_model, iter_count, mode)
end
|
.group_rectangles(rect_list, weights, group_threshold, eps = 0.2) ⇒ Void
Also known as:
groupRectangles
Note:
wrapper for static method void cv::groupRectangles(std::vectorcv::Rect& rectList, std::vector& weights, int groupThreshold, double eps = 0.2)
6619
6620
6621
|
# File 'lib/ropencv/ropencv_types.rb', line 6619
def self.group_rectangles(rect_list, weights, group_threshold, eps = 0.2)
Rbind::cv_group_rectangles(rect_list, weights, group_threshold, eps)
end
|
.have_image_reader(filename) ⇒ Bool
Also known as:
haveImageReader
Note:
wrapper for static method bool cv::haveImageReader(const std::string filename)
4670
4671
4672
|
# File 'lib/ropencv/ropencv_types.rb', line 4670
def self.have_image_reader(filename)
Rbind::cv_have_image_reader(filename)
end
|
.have_image_writer(filename) ⇒ Bool
Also known as:
haveImageWriter
Note:
wrapper for static method bool cv::haveImageWriter(const std::string filename)
4678
4679
4680
|
# File 'lib/ropencv/ropencv_types.rb', line 4678
def self.have_image_writer(filename)
Rbind::cv_have_image_writer(filename)
end
|
.hconcat(src, dst) ⇒ Void
Note:
wrapper for static method void cv::hconcat(const std::vectorcv::Mat src, cv::Mat& dst)
1854
1855
1856
|
# File 'lib/ropencv/ropencv_types.rb', line 1854
def self.hconcat(src, dst)
Rbind::cv_hconcat(src, dst)
end
|
.hough_circles(image, circles, method, dp, min_dist, _param1 = 100, _param2 = 100, min_radius = 0, max_radius = 0) ⇒ Void
Also known as:
HoughCircles
Note:
wrapper for static method void cv::HoughCircles(const cv::Mat image, cv::Mat& circles, int method, double dp, double minDist, double param1 = 100, double param2 = 100, int minRadius = 0, int maxRadius = 0)
3428
3429
3430
|
# File 'lib/ropencv/ropencv_types.rb', line 3428
def self.hough_circles(image, circles, method, dp, min_dist, _param1 = 100, _param2 = 100, min_radius = 0, max_radius = 0)
Rbind::cv_hough_circles(image, circles, method, dp, min_dist, _param1, _param2, min_radius, max_radius)
end
|
.hough_lines(image, lines, rho, theta, threshold, srn = 0, stn = 0, min_theta = 0, max_theta = CV_PI) ⇒ Void
Also known as:
HoughLines
Note:
wrapper for static method void cv::HoughLines(const cv::Mat image, cv::Mat& lines, double rho, double theta, int threshold, double srn = 0, double stn = 0, double min_theta = 0, double max_theta = CV_PI)
3381
3382
3383
|
# File 'lib/ropencv/ropencv_types.rb', line 3381
def self.hough_lines(image, lines, rho, theta, threshold, srn = 0, stn = 0, min_theta = 0, max_theta = CV_PI)
Rbind::cv_hough_lines(image, lines, rho, theta, threshold, srn, stn, min_theta, max_theta)
end
|
.hough_lines_point_set(point, lines, lines_max, threshold, min_rho, max_rho, rho_step, min_theta, max_theta, theta_step) ⇒ Void
Also known as:
HoughLinesPointSet
Note:
wrapper for static method void cv::HoughLinesPointSet(const cv::Mat point, cv::Mat& lines, int lines_max, int threshold, double min_rho, double max_rho, double rho_step, double min_theta, double max_theta, double theta_step)
3412
3413
3414
|
# File 'lib/ropencv/ropencv_types.rb', line 3412
def self.hough_lines_point_set(point, lines, lines_max, threshold, min_rho, max_rho, rho_step, min_theta, max_theta, theta_step)
Rbind::cv_hough_lines_point_set(point, lines, lines_max, threshold, min_rho, max_rho, rho_step, min_theta, max_theta, theta_step)
end
|
.hough_linesp(image, lines, rho, theta, threshold, min_line_length = 0, max_line_gap = 0) ⇒ Void
Also known as:
HoughLinesP
Note:
wrapper for static method void cv::HoughLinesP(const cv::Mat image, cv::Mat& lines, double rho, double theta, int threshold, double minLineLength = 0, double maxLineGap = 0)
3395
3396
3397
|
# File 'lib/ropencv/ropencv_types.rb', line 3395
def self.hough_linesp(image, lines, rho, theta, threshold, min_line_length = 0, max_line_gap = 0)
Rbind::cv_hough_linesp(image, lines, rho, theta, threshold, min_line_length, max_line_gap)
end
|
.hu_moments(m, hu) ⇒ Void
Also known as:
HuMoments
Note:
wrapper for static method void cv::HuMoments(const cv::Moments m, cv::Mat& hu)
3979
3980
3981
|
# File 'lib/ropencv/ropencv_types.rb', line 3979
def self.hu_moments(m, hu)
Rbind::cv_hu_moments(m, hu)
end
|
.idct(src, dst, flags = 0) ⇒ Void
Note:
wrapper for static method void cv::idct(const cv::Mat src, cv::Mat& dst, int flags = 0)
2392
2393
2394
|
# File 'lib/ropencv/ropencv_types.rb', line 2392
def self.idct(src, dst, flags = 0)
Rbind::cv_idct(src, dst, flags)
end
|
.idft(src, dst, flags = 0, nonzero_rows = 0) ⇒ Void
Note:
wrapper for static method void cv::idft(const cv::Mat src, cv::Mat& dst, int flags = 0, int nonzeroRows = 0)
2374
2375
2376
|
# File 'lib/ropencv/ropencv_types.rb', line 2374
def self.idft(src, dst, flags = 0, nonzero_rows = 0)
Rbind::cv_idft(src, dst, flags, nonzero_rows)
end
|
.illumination_change(src, mask, dst, alpha = 0.2, beta = 0.4) ⇒ Void
Also known as:
illuminationChange
Note:
wrapper for static method void cv::illuminationChange(const cv::Mat src, const cv::Mat mask, cv::Mat& dst, float alpha = 0.2f, float beta = 0.4f)
2899
2900
2901
|
# File 'lib/ropencv/ropencv_types.rb', line 2899
def self.illumination_change(src, mask, dst, alpha = 0.2, beta = 0.4)
Rbind::cv_illumination_change(src, mask, dst, alpha, beta)
end
|
.imcount(filename, flags = IMREAD_ANYCOLOR) ⇒ Size_T
Note:
wrapper for static method size_t cv::imcount(const std::string filename, int flags = IMREAD_ANYCOLOR)
4627
4628
4629
|
# File 'lib/ropencv/ropencv_types.rb', line 4627
def self.imcount(filename, flags = IMREAD_ANYCOLOR)
Rbind::cv_imcount(filename, flags)
end
|
.imdecode(buf, flags) ⇒ Cv::Mat
Note:
wrapper for static method const cv::Mat cv::imdecode(const cv::Mat buf, int flags)
4653
4654
4655
|
# File 'lib/ropencv/ropencv_types.rb', line 4653
def self.imdecode(buf, flags)
Rbind::cv_imdecode(buf, flags)
end
|
.imencode(ext, img, buf, params = Std::Vector::Int.new()) ⇒ Bool
Note:
wrapper for static method bool cv::imencode(const std::string ext, const cv::Mat img, std::vector& buf, const std::vector params = std::vector())
4663
4664
4665
|
# File 'lib/ropencv/ropencv_types.rb', line 4663
def self.imencode(ext, img, buf, params = Std::Vector::Int.new())
Rbind::cv_imencode(ext, img, buf, params)
end
|
.imread(filename, flags = IMREAD_COLOR) ⇒ Cv::Mat
Note:
wrapper for static method const cv::Mat cv::imread(const std::string filename, int flags = IMREAD_COLOR)
4574
4575
4576
|
# File 'lib/ropencv/ropencv_types.rb', line 4574
def self.imread(filename, flags = IMREAD_COLOR)
Rbind::cv_imread(filename, flags)
end
|
.imreadmulti(filename, mats, flags = IMREAD_ANYCOLOR) ⇒ Bool
.imreadmulti(filename, mats, start, count, flags = IMREAD_ANYCOLOR) ⇒ Bool
Note:
wrapper for overloaded static method imreadmulti
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
|
# File 'lib/ropencv/ropencv_types.rb', line 4592
def self.imreadmulti(*args)
@@cv_imreadmulti_defaults0 ||= [nil, nil, IMREAD_ANYCOLOR]
if(args.size >= 2 && args.size <= 3)
targs = args.clone
targs.size.upto(2) do |i|
targs[i] = @@cv_imreadmulti_defaults0[i]
end
begin
return Rbind::cv_imreadmulti(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_imreadmulti__2_defaults1 ||= [nil, nil, nil, nil, IMREAD_ANYCOLOR]
if(args.size >= 4 && args.size <= 5)
targs = args.clone
targs.size.upto(4) do |i|
targs[i] = @@cv_imreadmulti__2_defaults1[i]
end
begin
return Rbind::cv_imreadmulti__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.imshow(winname, mat) ⇒ Void
Note:
wrapper for static method void cv::imshow(const std::string winname, const cv::Mat mat)
4741
4742
4743
|
# File 'lib/ropencv/ropencv_types.rb', line 4741
def self.imshow(winname, mat)
Rbind::cv_imshow(winname, mat)
end
|
.imwrite(filename, img, params = Std::Vector::Int.new()) ⇒ Bool
Note:
wrapper for static method bool cv::imwrite(const std::string filename, const cv::Mat img, const std::vector params = std::vector())
4636
4637
4638
|
# File 'lib/ropencv/ropencv_types.rb', line 4636
def self.imwrite(filename, img, params = Std::Vector::Int.new())
Rbind::cv_imwrite(filename, img, params)
end
|
.imwritemulti(filename, img, params = Std::Vector::Int.new()) ⇒ Bool
Note:
wrapper for static method bool cv::imwritemulti(const std::string filename, const std::vectorcv::Mat img, const std::vector params = std::vector())
4645
4646
4647
|
# File 'lib/ropencv/ropencv_types.rb', line 4645
def self.imwritemulti(filename, img, params = Std::Vector::Int.new())
Rbind::cv_imwritemulti(filename, img, params)
end
|
.in_range(src, lowerb, upperb, dst) ⇒ Void
Also known as:
inRange
Note:
wrapper for static method void cv::inRange(const cv::Mat src, const cv::Mat lowerb, const cv::Mat upperb, cv::Mat& dst)
1930
1931
1932
|
# File 'lib/ropencv/ropencv_types.rb', line 1930
def self.in_range(src, lowerb, upperb, dst)
Rbind::cv_in_range(src, lowerb, upperb, dst)
end
|
.init_camera_matrix2d(object_points, image_points, image_size, aspect_ratio = 1.0) ⇒ Cv::Mat
Also known as:
initCameraMatrix2D
Note:
wrapper for static method const cv::Mat cv::initCameraMatrix2D(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints, const cv::Size imageSize, double aspectRatio = 1.0)
5502
5503
5504
|
# File 'lib/ropencv/ropencv_types.rb', line 5502
def self.init_camera_matrix2d(object_points, image_points, image_size, aspect_ratio = 1.0)
Rbind::cv_init_camera_matrix2d(object_points, image_points, image_size, aspect_ratio)
end
|
.init_inverse_rectification_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2) ⇒ Void
Also known as:
initInverseRectificationMap
Note:
wrapper for static method void cv::initInverseRectificationMap(const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Mat R, const cv::Mat newCameraMatrix, const cv::Size size, int m1type, cv::Mat& map1, cv::Mat& map2)
6571
6572
6573
|
# File 'lib/ropencv/ropencv_types.rb', line 6571
def self.init_inverse_rectification_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2)
Rbind::cv_init_inverse_rectification_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2)
end
|
.init_undistort_rectify_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2) ⇒ Void
Also known as:
initUndistortRectifyMap
Note:
wrapper for static method void cv::initUndistortRectifyMap(const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Mat R, const cv::Mat newCameraMatrix, const cv::Size size, int m1type, cv::Mat& map1, cv::Mat& map2)
6556
6557
6558
|
# File 'lib/ropencv/ropencv_types.rb', line 6556
def self.init_undistort_rectify_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2)
Rbind::cv_init_undistort_rectify_map(camera_matrix, dist_coeffs, r, new_camera_matrix, size, _m1type, _map1, _map2)
end
|
.inpaint(src, inpaint_mask, dst, inpaint_radius, flags) ⇒ Void
Note:
wrapper for static method void cv::inpaint(const cv::Mat src, const cv::Mat inpaintMask, cv::Mat& dst, double inpaintRadius, int flags)
2622
2623
2624
|
# File 'lib/ropencv/ropencv_types.rb', line 2622
def self.inpaint(src, inpaint_mask, dst, inpaint_radius, flags)
Rbind::cv_inpaint(src, inpaint_mask, dst, inpaint_radius, flags)
end
|
.insert_channel(src, dst, coi) ⇒ Void
Also known as:
insertChannel
Note:
wrapper for static method void cv::insertChannel(const cv::Mat src, cv::Mat& dst, int coi)
1817
1818
1819
|
# File 'lib/ropencv/ropencv_types.rb', line 1817
def self.insert_channel(src, dst, coi)
Rbind::cv_insert_channel(src, dst, coi)
end
|
.integral(src, sum, sdepth = -1)) ⇒ Void
Note:
wrapper for static method void cv::integral(const cv::Mat src, cv::Mat& sum, int sdepth = -1)
3644
3645
3646
|
# File 'lib/ropencv/ropencv_types.rb', line 3644
def self.integral(src, sum, sdepth = -1)
Rbind::cv_integral(src, sum, sdepth)
end
|
.integral2(src, sum, sqsum, sdepth = -1,, sqdepth = -1)) ⇒ Void
Note:
wrapper for static method void cv::integral(const cv::Mat src, cv::Mat& sum, cv::Mat& sqsum, int sdepth = -1, int sqdepth = -1)
3655
3656
3657
|
# File 'lib/ropencv/ropencv_types.rb', line 3655
def self.integral2(src, sum, sqsum, sdepth = -1, sqdepth = -1)
Rbind::cv_integral2(src, sum, sqsum, sdepth, sqdepth)
end
|
.integral3(src, sum, sqsum, tilted, sdepth = -1,, sqdepth = -1)) ⇒ Void
Note:
wrapper for static method void cv::integral(const cv::Mat src, cv::Mat& sum, cv::Mat& sqsum, cv::Mat& tilted, int sdepth = -1, int sqdepth = -1)
3635
3636
3637
|
# File 'lib/ropencv/ropencv_types.rb', line 3635
def self.integral3(src, sum, sqsum, tilted, sdepth = -1, sqdepth = -1)
Rbind::cv_integral3(src, sum, sqsum, tilted, sdepth, sqdepth)
end
|
.intersect_convex_convex(_p1, _p2, _p12, handle_nested = true) ⇒ Float
Also known as:
intersectConvexConvex
Note:
wrapper for static method float cv::intersectConvexConvex(const cv::Mat p1, const cv::Mat p2, cv::Mat& p12, bool handleNested = true)
4178
4179
4180
|
# File 'lib/ropencv/ropencv_types.rb', line 4178
def self.intersect_convex_convex(_p1, _p2, _p12, handle_nested = true)
Rbind::cv_intersect_convex_convex(_p1, _p2, _p12, handle_nested)
end
|
.invert(src, dst, flags = DECOMP_LU) ⇒ Double
Note:
wrapper for static method double cv::invert(const cv::Mat src, cv::Mat& dst, int flags = DECOMP_LU)
2150
2151
2152
|
# File 'lib/ropencv/ropencv_types.rb', line 2150
def self.invert(src, dst, flags = DECOMP_LU)
Rbind::cv_invert(src, dst, flags)
end
|
Note:
wrapper for static method void cv::invertAffineTransform(const cv::Mat M, cv::Mat& iM)
3554
3555
3556
|
# File 'lib/ropencv/ropencv_types.rb', line 3554
def self.invert_affine_transform(m, i_m)
Rbind::cv_invert_affine_transform(m, i_m)
end
|
.is_contour_convex(contour) ⇒ Bool
Also known as:
isContourConvex
Note:
wrapper for static method bool cv::isContourConvex(const cv::Mat contour)
4167
4168
4169
|
# File 'lib/ropencv/ropencv_types.rb', line 4167
def self.is_contour_convex(contour)
Rbind::cv_is_contour_convex(contour)
end
|
.kmeans(data, k, best_labels, criteria, attempts, flags, centers = Cv::Mat.new()) ⇒ Double
Note:
wrapper for static method double cv::kmeans(const cv::Mat data, int K, cv::Mat& bestLabels, const cv::TermCriteria criteria, int attempts, int flags, const cv::Mat centers = Mat()/O)
2461
2462
2463
|
# File 'lib/ropencv/ropencv_types.rb', line 2461
def self.kmeans(data, k, best_labels, criteria, attempts, flags, centers = Cv::Mat.new())
Rbind::cv_kmeans(data, k, best_labels, criteria, attempts, flags, centers)
end
|
.laplacian(src, dst, ddepth, ksize = 1, scale = 1, delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
Laplacian
Note:
wrapper for static method void cv::Laplacian(const cv::Mat src, cv::Mat& dst, int ddepth, int ksize = 1, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT)
3182
3183
3184
|
# File 'lib/ropencv/ropencv_types.rb', line 3182
def self.laplacian(src, dst, ddepth, ksize = 1, scale = 1, delta = 0, border_type = BORDER_DEFAULT)
Rbind::cv_laplacian(src, dst, ddepth, ksize, scale, delta, border_type)
end
|
.line(img, _pt1, _pt2, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
Note:
wrapper for static method void cv::line(cv::Mat& img, const cv::Point pt1, const cv::Point pt2, const cv::Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0)
4306
4307
4308
|
# File 'lib/ropencv/ropencv_types.rb', line 4306
def self.line(img, _pt1, _pt2, color, thickness = 1, line_type = LINE_8, shift = 0)
Rbind::cv_line(img, _pt1, _pt2, color, thickness, line_type, shift)
end
|
.linear_polar(src, dst, center, max_radius, flags) ⇒ Void
Also known as:
linearPolar
Note:
wrapper for static method void cv::linearPolar(const cv::Mat src, cv::Mat& dst, const cv::Point2f center, double maxRadius, int flags)
3609
3610
3611
|
# File 'lib/ropencv/ropencv_types.rb', line 3609
def self.linear_polar(src, dst, center, max_radius, flags)
Rbind::cv_linear_polar(src, dst, center, max_radius, flags)
end
|
.log(src, dst) ⇒ Void
Note:
wrapper for static method void cv::log(const cv::Mat src, cv::Mat& dst)
1992
1993
1994
|
# File 'lib/ropencv/ropencv_types.rb', line 1992
def self.log(src, dst)
Rbind::cv_log(src, dst)
end
|
.log_polar(src, dst, center, m, flags) ⇒ Void
Also known as:
logPolar
Note:
wrapper for static method void cv::logPolar(const cv::Mat src, cv::Mat& dst, const cv::Point2f center, double M, int flags)
3597
3598
3599
|
# File 'lib/ropencv/ropencv_types.rb', line 3597
def self.log_polar(src, dst, center, m, flags)
Rbind::cv_log_polar(src, dst, center, m, flags)
end
|
.lut(src, lut, dst) ⇒ Void
Also known as:
LUT
Note:
wrapper for static method void cv::LUT(const cv::Mat src, const cv::Mat lut, cv::Mat& dst)
1540
1541
1542
|
# File 'lib/ropencv/ropencv_types.rb', line 1540
def self.lut(src, lut, dst)
Rbind::cv_lut(src, lut, dst)
end
|
.magnitude(x, y, magnitude) ⇒ Void
Note:
wrapper for static method void cv::magnitude(const cv::Mat x, const cv::Mat y, cv::Mat& magnitude)
2035
2036
2037
|
# File 'lib/ropencv/ropencv_types.rb', line 2035
def self.magnitude(x, y, magnitude)
Rbind::cv_magnitude(x, y, magnitude)
end
|
.mahalanobis(_v1, _v2, icovar) ⇒ Double
Also known as:
Mahalanobis
Note:
wrapper for static method double cv::Mahalanobis(const cv::Mat v1, const cv::Mat v2, const cv::Mat icovar)
2353
2354
2355
|
# File 'lib/ropencv/ropencv_types.rb', line 2353
def self.mahalanobis(_v1, _v2, icovar)
Rbind::cv_mahalanobis(_v1, _v2, icovar)
end
|
.mat_mul_deriv(a, b, d_a_bd_a, d_a_bd_b) ⇒ Void
Also known as:
matMulDeriv
Note:
wrapper for static method void cv::matMulDeriv(const cv::Mat A, const cv::Mat B, cv::Mat& dABdA, cv::Mat& dABdB)
5322
5323
5324
|
# File 'lib/ropencv/ropencv_types.rb', line 5322
def self.mat_mul_deriv(a, b, d_a_bd_a, d_a_bd_b)
Rbind::cv_mat_mul_deriv(a, b, d_a_bd_a, d_a_bd_b)
end
|
.match_shapes(_contour1, _contour2, method, parameter) ⇒ Double
Also known as:
matchShapes
Note:
wrapper for static method double cv::matchShapes(const cv::Mat contour1, const cv::Mat contour2, int method, double parameter)
4138
4139
4140
|
# File 'lib/ropencv/ropencv_types.rb', line 4138
def self.match_shapes(_contour1, _contour2, method, parameter)
Rbind::cv_match_shapes(_contour1, _contour2, method, parameter)
end
|
.match_template(image, templ, result, method, mask = Cv::Mat.new()) ⇒ Void
Also known as:
matchTemplate
Note:
wrapper for static method void cv::matchTemplate(const cv::Mat image, const cv::Mat templ, cv::Mat& result, int method, const cv::Mat mask = Mat())
3991
3992
3993
|
# File 'lib/ropencv/ropencv_types.rb', line 3991
def self.match_template(image, templ, result, method, mask = Cv::Mat.new())
Rbind::cv_match_template(image, templ, result, method, mask)
end
|
.max(_src1, _src2, dst) ⇒ Void
Note:
wrapper for static method void cv::max(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst)
1959
1960
1961
|
# File 'lib/ropencv/ropencv_types.rb', line 1959
def self.max(_src1, _src2, dst)
Rbind::cv_max(_src1, _src2, dst)
end
|
.mean(src, mask = Cv::Mat.new()) ⇒ Cv::Scalar
Note:
wrapper for static method const cv::Scalar cv::mean(const cv::Mat src, const cv::Mat mask = Mat())
1581
1582
1583
|
# File 'lib/ropencv/ropencv_types.rb', line 1581
def self.mean(src, mask = Cv::Mat.new())
Rbind::cv_mean(src, mask)
end
|
.mean_shift(prob_image, window, criteria) ⇒ Fixnum
Also known as:
meanShift
Note:
wrapper for static method int cv::meanShift(const cv::Mat probImage, cv::Rect& window, const cv::TermCriteria criteria)
5005
5006
5007
|
# File 'lib/ropencv/ropencv_types.rb', line 5005
def self.mean_shift(prob_image, window, criteria)
Rbind::cv_mean_shift(prob_image, window, criteria)
end
|
.mean_std_dev(src, mean, stddev, mask = Cv::Mat.new()) ⇒ Void
Also known as:
meanStdDev
Note:
wrapper for static method void cv::meanStdDev(const cv::Mat src, cv::Mat& mean, cv::Mat& stddev, const cv::Mat mask = Mat())
1591
1592
1593
|
# File 'lib/ropencv/ropencv_types.rb', line 1591
def self.mean_std_dev(src, mean, stddev, mask = Cv::Mat.new())
Rbind::cv_mean_std_dev(src, mean, stddev, mask)
end
|
Note:
wrapper for static method void cv::medianBlur(const cv::Mat src, cv::Mat& dst, int ksize)
3031
3032
3033
|
# File 'lib/ropencv/ropencv_types.rb', line 3031
def self.median_blur(src, dst, ksize)
Rbind::cv_median_blur(src, dst, ksize)
end
|
.merge(mv, dst) ⇒ Void
Note:
wrapper for static method void cv::merge(const std::vectorcv::Mat mv, cv::Mat& dst)
1780
1781
1782
|
# File 'lib/ropencv/ropencv_types.rb', line 1780
def self.merge(mv, dst)
Rbind::cv_merge(mv, dst)
end
|
.min(_src1, _src2, dst) ⇒ Void
Note:
wrapper for static method void cv::min(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst)
1950
1951
1952
|
# File 'lib/ropencv/ropencv_types.rb', line 1950
def self.min(_src1, _src2, dst)
Rbind::cv_min(_src1, _src2, dst)
end
|
.min_area_rect(points) ⇒ Cv::RotatedRect
Also known as:
minAreaRect
Note:
wrapper for static method const cv::RotatedRect cv::minAreaRect(const cv::Mat points)
4099
4100
4101
|
# File 'lib/ropencv/ropencv_types.rb', line 4099
def self.min_area_rect(points)
Rbind::cv_min_area_rect(points)
end
|
.min_enclosing_circle(points, center, radius) ⇒ Void
Also known as:
minEnclosingCircle
Note:
wrapper for static method void cv::minEnclosingCircle(const cv::Mat points, cv::Point2f& center, float& radius)
4118
4119
4120
|
# File 'lib/ropencv/ropencv_types.rb', line 4118
def self.min_enclosing_circle(points, center, radius)
Rbind::cv_min_enclosing_circle(points, center, radius)
end
|
.min_enclosing_triangle(points, triangle) ⇒ Double
Also known as:
minEnclosingTriangle
Note:
wrapper for static method double cv::minEnclosingTriangle(const cv::Mat points, cv::Mat& triangle)
4127
4128
4129
|
# File 'lib/ropencv/ropencv_types.rb', line 4127
def self.min_enclosing_triangle(points, triangle)
Rbind::cv_min_enclosing_triangle(points, triangle)
end
|
.min_max_loc(src, min_val, max_val = 0/O, min_loc = Cv::Point::null, max_loc = Cv::Point::null, mask = Cv::Mat.new()) ⇒ Void
Also known as:
minMaxLoc
Note:
wrapper for static method void cv::minMaxLoc(const cv::Mat src, double* minVal, double* maxVal = 0/O, const cv::Point* minLoc = 0/O, const cv::Point* maxLoc = 0/O, const cv::Mat mask = Mat())
1760
1761
1762
1763
1764
|
# File 'lib/ropencv/ropencv_types.rb', line 1760
def self.min_max_loc(src,min_loc = Point.new,max_loc = Point.new,mask = Mat.new)
p = FFI::MemoryPointer.new(:double,2)
Rbind::cv_min_max_loc(src, p[0], p[1], min_loc, max_loc, mask)
[p[0].read_double,p[1].read_double]
end
|
.mix_channels(src, dst, from_to) ⇒ Void
Also known as:
mixChannels
Note:
wrapper for static method void cv::mixChannels(const std::vectorcv::Mat src, std::vectorcv::Mat& dst, const std::vector fromTo)
1797
1798
1799
|
# File 'lib/ropencv/ropencv_types.rb', line 1797
def self.mix_channels(src, dst, from_to)
Rbind::cv_mix_channels(src, dst, from_to)
end
|
.moments(array, binary_image = false) ⇒ Cv::Moments
Note:
wrapper for static method const cv::Moments cv::moments(const cv::Mat array, bool binaryImage = false)
3971
3972
3973
|
# File 'lib/ropencv/ropencv_types.rb', line 3971
def self.moments(array, binary_image = false)
Rbind::cv_moments(array, binary_image)
end
|
.morphology_default_border_value ⇒ Cv::Scalar
Also known as:
morphologyDefaultBorderValue
Note:
wrapper for static method const cv::Scalar cv::morphologyDefaultBorderValue()
6703
6704
6705
|
# File 'lib/ropencv/ropencv_types.rb', line 6703
def self.morphology_default_border_value()
Rbind::cv_morphology_default_border_value()
end
|
.morphology_ex(src, dst, op, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value()) ⇒ Void
Also known as:
morphologyEx
Note:
wrapper for static method void cv::morphologyEx(const cv::Mat src, cv::Mat& dst, int op, const cv::Mat kernel, const cv::Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, const cv::Scalar borderValue = morphologyDefaultBorderValue())
3469
3470
3471
|
# File 'lib/ropencv/ropencv_types.rb', line 3469
def self.morphology_ex(src, dst, op, kernel, anchor = Cv::Point.new(-1,-1), iterations = 1, border_type = BORDER_CONSTANT, border_value = morphology_default_border_value())
Rbind::cv_morphology_ex(src, dst, op, kernel, anchor, iterations, border_type, border_value)
end
|
.move_window(winname, x, y) ⇒ Void
Also known as:
moveWindow
Note:
wrapper for static method void cv::moveWindow(const std::string winname, int x, int y)
4792
4793
4794
|
# File 'lib/ropencv/ropencv_types.rb', line 4792
def self.move_window(winname, x, y)
Rbind::cv_move_window(winname, x, y)
end
|
.mul_spectrums(a, b, c, flags, conj_b = false) ⇒ Void
Also known as:
mulSpectrums
Note:
wrapper for static method void cv::mulSpectrums(const cv::Mat a, const cv::Mat b, cv::Mat& c, int flags, bool conjB = false)
2403
2404
2405
|
# File 'lib/ropencv/ropencv_types.rb', line 2403
def self.mul_spectrums(a, b, c, flags, conj_b = false)
Rbind::cv_mul_spectrums(a, b, c, flags, conj_b)
end
|
.mul_transposed(src, dst, a_ta, delta = Cv::Mat.new(), scale = 1, dtype = -1)) ⇒ Void
Also known as:
mulTransposed
Note:
wrapper for static method void cv::mulTransposed(const cv::Mat src, cv::Mat& dst, bool aTa, const cv::Mat delta = Mat(), double scale = 1, int dtype = -1)
2081
2082
2083
|
# File 'lib/ropencv/ropencv_types.rb', line 2081
def self.mul_transposed(src, dst, a_ta, delta = Cv::Mat.new(), scale = 1, dtype = -1)
Rbind::cv_mul_transposed(src, dst, a_ta, delta, scale, dtype)
end
|
.multiply(_src1, _src2, dst, scale = 1, dtype = -1)) ⇒ Void
Note:
wrapper for static method void cv::multiply(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, double scale = 1, int dtype = -1)
1440
1441
1442
|
# File 'lib/ropencv/ropencv_types.rb', line 1440
def self.multiply(_src1, _src2, dst, scale = 1, dtype = -1)
Rbind::cv_multiply(_src1, _src2, dst, scale, dtype)
end
|
.named_window(winname, flags = WINDOW_AUTOSIZE) ⇒ Void
Also known as:
namedWindow
Note:
wrapper for static method void cv::namedWindow(const std::string winname, int flags = WINDOW_AUTOSIZE)
4687
4688
4689
|
# File 'lib/ropencv/ropencv_types.rb', line 4687
def self.named_window(winname, flags = WINDOW_AUTOSIZE)
Rbind::cv_named_window(winname, flags)
end
|
.norm(_src1, norm_type = NORM_L2, mask = Cv::Mat.new()) ⇒ Double
.norm(_src1, _src2, norm_type = NORM_L2, mask = Cv::Mat.new()) ⇒ Double
.norm(pt) ⇒ Double
.norm(pt) ⇒ Double
.norm(vec) ⇒ Double
.norm(vec) ⇒ Double
Note:
wrapper for overloaded static method norm
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
|
# File 'lib/ropencv/ropencv_types.rb', line 1625
def self.norm(*args)
@@cv_norm_defaults0 ||= [nil, NORM_L2, Cv::Mat.new()]
if(args.size >= 1 && args.size <= 3)
targs = args.clone
targs.size.upto(2) do |i|
targs[i] = @@cv_norm_defaults0[i]
end
begin
return Rbind::cv_norm(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_norm__2_defaults1 ||= [nil, nil, NORM_L2, Cv::Mat.new()]
if(args.size >= 2 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_norm__2_defaults1[i]
end
begin
return Rbind::cv_norm__2(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_norm__3_defaults2 ||= [nil]
if(args.size >= 1 && args.size <= 1)
targs = args.clone
targs.size.upto(0) do |i|
targs[i] = @@cv_norm__3_defaults2[i]
end
begin
return Rbind::cv_norm__3(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_norm__4_defaults3 ||= [nil]
if(args.size >= 1 && args.size <= 1)
targs = args.clone
targs.size.upto(0) do |i|
targs[i] = @@cv_norm__4_defaults3[i]
end
begin
return Rbind::cv_norm__4(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_norm__5_defaults4 ||= [nil]
if(args.size >= 1 && args.size <= 1)
targs = args.clone
targs.size.upto(0) do |i|
targs[i] = @@cv_norm__5_defaults4[i]
end
begin
return Rbind::cv_norm__5(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_norm__6_defaults5 ||= [nil]
if(args.size >= 1 && args.size <= 1)
targs = args.clone
targs.size.upto(0) do |i|
targs[i] = @@cv_norm__6_defaults5[i]
end
begin
return Rbind::cv_norm__6(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.normalize(src, dst, alpha = 1, beta = 0, norm_type = NORM_L2, dtype = -1,, mask = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::normalize(const cv::Mat src, cv::Mat& dst, double alpha = 1, double beta = 0, int norm_type = NORM_L2, int dtype = -1, const cv::Mat mask = Mat())
1748
1749
1750
|
# File 'lib/ropencv/ropencv_types.rb', line 1748
def self.normalize(src, dst, alpha = 1, beta = 0, norm_type = NORM_L2, dtype = -1, mask = Cv::Mat.new())
Rbind::cv_normalize(src, dst, alpha, beta, norm_type, dtype, mask)
end
|
.patch_na_ns(a, val = 0) ⇒ Void
Also known as:
patchNaNs
Note:
wrapper for static method void cv::patchNaNs(cv::Mat& a, double val = 0)
2055
2056
2057
|
# File 'lib/ropencv/ropencv_types.rb', line 2055
def self.patch_na_ns(a, val = 0)
Rbind::cv_patch_na_ns(a, val)
end
|
.pca_back_project(data, mean, eigenvectors, result) ⇒ Void
Also known as:
PCABackProject
Note:
wrapper for static method void cv::PCABackProject(const cv::Mat data, const cv::Mat mean, const cv::Mat eigenvectors, cv::Mat& result)
2319
2320
2321
|
# File 'lib/ropencv/ropencv_types.rb', line 2319
def self.pca_back_project(data, mean, eigenvectors, result)
Rbind::cv_pca_back_project(data, mean, eigenvectors, result)
end
|
.pca_compute(data, mean, eigenvectors, max_components = 0) ⇒ Void
.pca_compute(data, mean, eigenvectors, retained_variance) ⇒ Void
Note:
wrapper for overloaded static method pca_compute
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
|
# File 'lib/ropencv/ropencv_types.rb', line 2247
def self.pca_compute(*args)
@@cv_pca_compute_defaults0 ||= [nil, nil, nil, 0]
if(args.size >= 3 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_pca_compute_defaults0[i]
end
begin
return Rbind::cv_pca_compute(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_pca_compute__3_defaults2 ||= [nil, nil, nil, nil]
if(args.size >= 4 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_pca_compute__3_defaults2[i]
end
begin
return Rbind::cv_pca_compute__3(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.pca_compute2(data, mean, eigenvectors, eigenvalues, max_components = 0) ⇒ Void
Also known as:
PCACompute2
Note:
wrapper for static method void cv::PCACompute(const cv::Mat data, cv::Mat& mean, cv::Mat& eigenvectors, cv::Mat& eigenvalues, int maxComponents = 0)
2285
2286
2287
|
# File 'lib/ropencv/ropencv_types.rb', line 2285
def self.pca_compute2(data, mean, eigenvectors, eigenvalues, max_components = 0)
Rbind::cv_pca_compute2(data, mean, eigenvectors, eigenvalues, max_components)
end
|
.pca_compute2_4(data, mean, eigenvectors, eigenvalues, retained_variance) ⇒ Void
Also known as:
PCACompute2__4
Note:
wrapper for static method void cv::PCACompute(const cv::Mat data, cv::Mat& mean, cv::Mat& eigenvectors, cv::Mat& eigenvalues, double retainedVariance)
2297
2298
2299
|
# File 'lib/ropencv/ropencv_types.rb', line 2297
def self.pca_compute2_4(data, mean, eigenvectors, eigenvalues, retained_variance)
Rbind::cv_pca_compute2_4(data, mean, eigenvectors, eigenvalues, retained_variance)
end
|
.pca_project(data, mean, eigenvectors, result) ⇒ Void
Also known as:
PCAProject
Note:
wrapper for static method void cv::PCAProject(const cv::Mat data, const cv::Mat mean, const cv::Mat eigenvectors, cv::Mat& result)
2308
2309
2310
|
# File 'lib/ropencv/ropencv_types.rb', line 2308
def self.pca_project(data, mean, eigenvectors, result)
Rbind::cv_pca_project(data, mean, eigenvectors, result)
end
|
.pencil_sketch(src, _dst1, _dst2, sigma_s = 60, sigma_r = 0.07, shade_factor = 0.02) ⇒ Void
Also known as:
pencilSketch
Note:
wrapper for static method void cv::pencilSketch(const cv::Mat src, cv::Mat& dst1, cv::Mat& dst2, float sigma_s = 60, float sigma_r = 0.07f, float shade_factor = 0.02f)
2948
2949
2950
|
# File 'lib/ropencv/ropencv_types.rb', line 2948
def self.pencil_sketch(src, _dst1, _dst2, sigma_s = 60, sigma_r = 0.07, shade_factor = 0.02)
Rbind::cv_pencil_sketch(src, _dst1, _dst2, sigma_s, sigma_r, shade_factor)
end
|
Note:
wrapper for static method void cv::perspectiveTransform(const cv::Mat src, cv::Mat& dst, const cv::Mat m)
2108
2109
2110
|
# File 'lib/ropencv/ropencv_types.rb', line 2108
def self.perspective_transform(src, dst, m)
Rbind::cv_perspective_transform(src, dst, m)
end
|
.phase(x, y, angle, angle_in_degrees = false) ⇒ Void
Note:
wrapper for static method void cv::phase(const cv::Mat x, const cv::Mat y, cv::Mat& angle, bool angleInDegrees = false)
2026
2027
2028
|
# File 'lib/ropencv/ropencv_types.rb', line 2026
def self.phase(x, y, angle, angle_in_degrees = false)
Rbind::cv_phase(x, y, angle, angle_in_degrees)
end
|
.phase_correlate(_src1, _src2, window = Cv::Mat.new(), response = 0/O) ⇒ Cv::Point2d
Also known as:
phaseCorrelate
Note:
wrapper for static method const cv::Point2d cv::phaseCorrelate(const cv::Mat src1, const cv::Mat src2, const cv::Mat window = Mat(), double* response = 0/O)
3706
3707
3708
|
# File 'lib/ropencv/ropencv_types.rb', line 3706
def self.phase_correlate(_src1, _src2, window = Cv::Mat.new(), response = 0/O)
Rbind::cv_phase_correlate(_src1, _src2, window, response)
end
|
.point_polygon_test(contour, pt, measure_dist) ⇒ Double
Also known as:
pointPolygonTest
Note:
wrapper for static method double cv::pointPolygonTest(const cv::Mat contour, const cv::Point2f pt, bool measureDist)
4225
4226
4227
|
# File 'lib/ropencv/ropencv_types.rb', line 4225
def self.point_polygon_test(contour, pt, measure_dist)
Rbind::cv_point_polygon_test(contour, pt, measure_dist)
end
|
.polar_to_cart(magnitude, angle, x, y, angle_in_degrees = false) ⇒ Void
Also known as:
polarToCart
Note:
wrapper for static method void cv::polarToCart(const cv::Mat magnitude, const cv::Mat angle, cv::Mat& x, cv::Mat& y, bool angleInDegrees = false)
2003
2004
2005
|
# File 'lib/ropencv/ropencv_types.rb', line 2003
def self.polar_to_cart(magnitude, angle, x, y, angle_in_degrees = false)
Rbind::cv_polar_to_cart(magnitude, angle, x, y, angle_in_degrees)
end
|
.poll_key ⇒ Fixnum
Also known as:
pollKey
Note:
wrapper for static method int cv::pollKey()
4732
4733
4734
|
# File 'lib/ropencv/ropencv_types.rb', line 4732
def self.poll_key()
Rbind::cv_poll_key()
end
|
.polylines(img, pts, is_closed, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
Note:
wrapper for static method void cv::polylines(cv::Mat& img, const std::vectorcv::Mat pts, bool isClosed, const cv::Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0)
4488
4489
4490
|
# File 'lib/ropencv/ropencv_types.rb', line 4488
def self.polylines(img, pts, is_closed, color, thickness = 1, line_type = LINE_8, shift = 0)
Rbind::cv_polylines(img, pts, is_closed, color, thickness, line_type, shift)
end
|
.pow(src, power, dst) ⇒ Void
Note:
wrapper for static method void cv::pow(const cv::Mat src, double power, cv::Mat& dst)
1976
1977
1978
|
# File 'lib/ropencv/ropencv_types.rb', line 1976
def self.pow(src, power, dst)
Rbind::cv_pow(src, power, dst)
end
|
.pre_corner_detect(src, dst, ksize, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
preCornerDetect
Note:
wrapper for static method void cv::preCornerDetect(const cv::Mat src, cv::Mat& dst, int ksize, int borderType = BORDER_DEFAULT)
3279
3280
3281
|
# File 'lib/ropencv/ropencv_types.rb', line 3279
def self.pre_corner_detect(src, dst, ksize, border_type = BORDER_DEFAULT)
Rbind::cv_pre_corner_detect(src, dst, ksize, border_type)
end
|
.project_points(object_points, rvec, tvec, camera_matrix, dist_coeffs, image_points, jacobian = Cv::Mat.new(), aspect_ratio = 0) ⇒ Void
Also known as:
projectPoints
Note:
wrapper for static method void cv::projectPoints(const cv::Mat objectPoints, const cv::Mat rvec, const cv::Mat tvec, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, cv::Mat& imagePoints, const cv::Mat jacobian = Mat()/O, double aspectRatio = 0)
5358
5359
5360
|
# File 'lib/ropencv/ropencv_types.rb', line 5358
def self.project_points(object_points, rvec, tvec, camera_matrix, dist_coeffs, image_points, jacobian = Cv::Mat.new(), aspect_ratio = 0)
Rbind::cv_project_points(object_points, rvec, tvec, camera_matrix, dist_coeffs, image_points, jacobian, aspect_ratio)
end
|
.psnr(_src1, _src2, r = 255.0) ⇒ Double
Also known as:
PSNR
Note:
wrapper for static method double cv::PSNR(const cv::Mat src1, const cv::Mat src2, double R = 255.)
1717
1718
1719
|
# File 'lib/ropencv/ropencv_types.rb', line 1717
def self.psnr(_src1, _src2, r = 255.0)
Rbind::cv_psnr(_src1, _src2, r)
end
|
.put_text(img, text, org, font_face, font_scale, color, thickness = 1, line_type = LINE_8, bottom_left_origin = false) ⇒ Void
Also known as:
putText
Note:
wrapper for static method void cv::putText(cv::Mat& img, const std::string text, const cv::Point org, int fontFace, double fontScale, const cv::Scalar color, int thickness = 1, int lineType = LINE_8, bool bottomLeftOrigin = false)
4543
4544
4545
|
# File 'lib/ropencv/ropencv_types.rb', line 4543
def self.put_text(img, text, org, font_face, font_scale, color, thickness = 1, line_type = LINE_8, bottom_left_origin = false)
Rbind::cv_put_text(img, text, org, font_face, font_scale, color, thickness, line_type, bottom_left_origin)
end
|
.pyr_down(src, dst, dstsize = Cv::Size.new(), border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
pyrDown
Note:
wrapper for static method void cv::pyrDown(const cv::Mat src, cv::Mat& dst, const cv::Size dstsize = Size(), int borderType = BORDER_DEFAULT)
3764
3765
3766
|
# File 'lib/ropencv/ropencv_types.rb', line 3764
def self.pyr_down(src, dst, dstsize = Cv::Size.new(), border_type = BORDER_DEFAULT)
Rbind::cv_pyr_down(src, dst, dstsize, border_type)
end
|
.pyr_mean_shift_filtering(src, dst, sp, sr, max_level = 1, termcrit = Cv::TermCriteria.new(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1)) ⇒ Void
Also known as:
pyrMeanShiftFiltering
Note:
wrapper for static method void cv::pyrMeanShiftFiltering(const cv::Mat src, cv::Mat& dst, double sp, double sr, int maxLevel = 1, const cv::TermCriteria termcrit = TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1))
3864
3865
3866
|
# File 'lib/ropencv/ropencv_types.rb', line 3864
def self.pyr_mean_shift_filtering(src, dst, sp, sr, max_level = 1, termcrit = Cv::TermCriteria.new(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1))
Rbind::cv_pyr_mean_shift_filtering(src, dst, sp, sr, max_level, termcrit)
end
|
.pyr_up(src, dst, dstsize = Cv::Size.new(), border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
pyrUp
Note:
wrapper for static method void cv::pyrUp(const cv::Mat src, cv::Mat& dst, const cv::Size dstsize = Size(), int borderType = BORDER_DEFAULT)
3775
3776
3777
|
# File 'lib/ropencv/ropencv_types.rb', line 3775
def self.pyr_up(src, dst, dstsize = Cv::Size.new(), border_type = BORDER_DEFAULT)
Rbind::cv_pyr_up(src, dst, dstsize, border_type)
end
|
.rand_shuffle(dst, iter_factor = 1.0, rng = Cv::RNG::null) ⇒ Void
Also known as:
randShuffle
Note:
wrapper for static method void cv::randShuffle(cv::Mat& dst, double iterFactor = 1., const cv::RNG* rng = 0)
2447
2448
2449
|
# File 'lib/ropencv/ropencv_types.rb', line 2447
def self.rand_shuffle(dst, iter_factor = 1.0, rng = Cv::RNG::null)
Rbind::cv_rand_shuffle(dst, iter_factor, rng)
end
|
.randn(dst, mean, stddev) ⇒ Void
Note:
wrapper for static method void cv::randn(cv::Mat& dst, const cv::Mat mean, const cv::Mat stddev)
2438
2439
2440
|
# File 'lib/ropencv/ropencv_types.rb', line 2438
def self.randn(dst, mean, stddev)
Rbind::cv_randn(dst, mean, stddev)
end
|
.randu(dst, low, high) ⇒ Void
Note:
wrapper for static method void cv::randu(cv::Mat& dst, const cv::Mat low, const cv::Mat high)
2429
2430
2431
|
# File 'lib/ropencv/ropencv_types.rb', line 2429
def self.randu(dst, low, high)
Rbind::cv_randu(dst, low, high)
end
|
.read_double(fn, val, default_val) ⇒ Void
Note:
wrapper for static method void cv::read(cv::FileNode& fn, double& val, double default_val)
1364
1365
1366
|
# File 'lib/ropencv/ropencv_types.rb', line 1364
def self.read_double(fn, val, default_val)
Rbind::cv_read_double(fn, val, default_val)
end
|
.read_float(fn, val, default_val) ⇒ Void
Note:
wrapper for static method void cv::read(cv::FileNode& fn, float& val, float default_val)
1355
1356
1357
|
# File 'lib/ropencv/ropencv_types.rb', line 1355
def self.read_float(fn, val, default_val)
Rbind::cv_read_float(fn, val, default_val)
end
|
.read_int(fn, val, default_val) ⇒ Void
Note:
wrapper for static method void cv::read(cv::FileNode& fn, int& val, int default_val)
1346
1347
1348
|
# File 'lib/ropencv/ropencv_types.rb', line 1346
def self.read_int(fn, val, default_val)
Rbind::cv_read_int(fn, val, default_val)
end
|
.read_mat(fn, val, default_val) ⇒ Void
Note:
wrapper for static method void cv::read(cv::FileNode& fn, cv::Mat& val, const cv::Mat default_val)
1382
1383
1384
|
# File 'lib/ropencv/ropencv_types.rb', line 1382
def self.read_mat(fn, val, default_val)
Rbind::cv_read_mat(fn, val, default_val)
end
|
.read_optical_flow(path) ⇒ Cv::Mat
Also known as:
readOpticalFlow
Note:
wrapper for static method const cv::Mat cv::readOpticalFlow(const std::string path)
5123
5124
5125
|
# File 'lib/ropencv/ropencv_types.rb', line 5123
def self.read_optical_flow(path)
Rbind::cv_read_optical_flow(path)
end
|
.read_string(fn, val, default_val) ⇒ Void
Note:
wrapper for static method void cv::read(cv::FileNode& fn, std::string& val, const std::string default_val)
1373
1374
1375
|
# File 'lib/ropencv/ropencv_types.rb', line 1373
def self.read_string(fn, val, default_val)
Rbind::cv_read_string(fn, val, default_val)
end
|
.recover_pose(_points1, _points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, e, r, t, method = Cv::RANSAC, prob = 0.999, threshold = 1.0, mask = Cv::Mat.new()) ⇒ Fixnum
.recover_pose(e, _points1, _points2, camera_matrix, r, t, mask = Cv::Mat.new()) ⇒ Fixnum
.recover_pose(e, _points1, _points2, r, t, focal = 1.0, pp = Cv::Point2d.new(0, 0), mask = Cv::Mat.new()) ⇒ Fixnum
.recover_pose(e, _points1, _points2, camera_matrix, r, t, distance_thresh, mask = Cv::Mat.new(), triangulated_points = Cv::Mat.new()) ⇒ Fixnum
.recover_pose(e, _points1, _points2, r, t, focal = 1.0, pp = Cv::Point2d.new(0, 0), mask = Cv::Mat.new()) ⇒ Fixnum
Note:
wrapper for overloaded static method recover_pose
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
|
# File 'lib/ropencv/ropencv_types.rb', line 6209
def self.recover_pose(*args)
@@cv_recover_pose_defaults0 ||= [nil, nil, nil, nil, nil, nil, nil, nil, nil, Cv::RANSAC, 0.999, 1.0, Cv::Mat.new()]
if(args.size >= 9 && args.size <= 13)
targs = args.clone
targs.size.upto(12) do |i|
targs[i] = @@cv_recover_pose_defaults0[i]
end
begin
return Rbind::cv_recover_pose(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_recover_pose__2_defaults1 ||= [nil, nil, nil, nil, nil, nil, Cv::Mat.new()]
if(args.size >= 6 && args.size <= 7)
targs = args.clone
targs.size.upto(6) do |i|
targs[i] = @@cv_recover_pose__2_defaults1[i]
end
begin
return Rbind::cv_recover_pose__2(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_recover_pose__3_defaults2 ||= [nil, nil, nil, nil, nil, 1.0, Cv::Point2d.new(0, 0), Cv::Mat.new()]
if(args.size >= 5 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_recover_pose__3_defaults2[i]
end
begin
return Rbind::cv_recover_pose__3(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_recover_pose__4_defaults3 ||= [nil, nil, nil, nil, nil, nil, nil, Cv::Mat.new(), Cv::Mat.new()]
if(args.size >= 7 && args.size <= 9)
targs = args.clone
targs.size.upto(8) do |i|
targs[i] = @@cv_recover_pose__4_defaults3[i]
end
begin
return Rbind::cv_recover_pose__4(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_recover_pose__5_defaults4 ||= [nil, nil, nil, nil, nil, 1.0, Cv::Point2d.new(0, 0), Cv::Mat.new()]
if(args.size >= 5 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_recover_pose__5_defaults4[i]
end
begin
return Rbind::cv_recover_pose__5(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.rectangle(img, _pt1, _pt2, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
.rectangle(img, rec, color, thickness = 1, line_type = LINE_8, shift = 0) ⇒ Void
Note:
wrapper for overloaded static method rectangle
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
|
# File 'lib/ropencv/ropencv_types.rb', line 4344
def self.rectangle(*args)
@@cv_rectangle_defaults0 ||= [nil, nil, nil, nil, 1, LINE_8, 0]
if(args.size >= 4 && args.size <= 7)
targs = args.clone
targs.size.upto(6) do |i|
targs[i] = @@cv_rectangle_defaults0[i]
end
begin
return Rbind::cv_rectangle(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_rectangle__2_defaults1 ||= [nil, nil, nil, 1, LINE_8, 0]
if(args.size >= 3 && args.size <= 6)
targs = args.clone
targs.size.upto(5) do |i|
targs[i] = @@cv_rectangle__2_defaults1[i]
end
begin
return Rbind::cv_rectangle__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.rectify3_collinear(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, _camera_matrix3, _dist_coeffs3, _imgpt1, _imgpt3, image_size, _r12, _t12, _r13, _t13, _r1, _r2, _r3, _p1, _p2, _p3, q, alpha, new_img_size, _roi1, _roi2, flags) ⇒ Float
Also known as:
rectify3Collinear
Note:
wrapper for static method float cv::rectify3Collinear(const cv::Mat cameraMatrix1, const cv::Mat distCoeffs1, const cv::Mat cameraMatrix2, const cv::Mat distCoeffs2, const cv::Mat cameraMatrix3, const cv::Mat distCoeffs3, const std::vectorcv::Mat imgpt1, const std::vectorcv::Mat imgpt3, const cv::Size imageSize, const cv::Mat R12, const cv::Mat T12, const cv::Mat R13, const cv::Mat T13, cv::Mat& R1, cv::Mat& R2, cv::Mat& R3, cv::Mat& P1, cv::Mat& P2, cv::Mat& P3, cv::Mat& Q, double alpha, const cv::Size newImgSize, cv::Rect* roi1, cv::Rect* roi2, int flags)
5845
5846
5847
|
# File 'lib/ropencv/ropencv_types.rb', line 5845
def self.rectify3_collinear(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, _camera_matrix3, _dist_coeffs3, _imgpt1, _imgpt3, image_size, _r12, _t12, _r13, _t13, _r1, _r2, _r3, _p1, _p2, _p3, q, alpha, new_img_size, _roi1, _roi2, flags)
Rbind::cv_rectify3_collinear(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, _camera_matrix3, _dist_coeffs3, _imgpt1, _imgpt3, image_size, _r12, _t12, _r13, _t13, _r1, _r2, _r3, _p1, _p2, _p3, q, alpha, new_img_size, _roi1, _roi2, flags)
end
|
.reduce(src, dst, dim, rtype, dtype = -1)) ⇒ Void
Note:
wrapper for static method void cv::reduce(const cv::Mat src, cv::Mat& dst, int dim, int rtype, int dtype = -1)
1772
1773
1774
|
# File 'lib/ropencv/ropencv_types.rb', line 1772
def self.reduce(src, dst, dim, rtype, dtype = -1)
Rbind::cv_reduce(src, dst, dim, rtype, dtype)
end
|
.remap(src, dst, _map1, _map2, interpolation, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new()) ⇒ Void
Note:
wrapper for static method void cv::remap(const cv::Mat src, cv::Mat& dst, const cv::Mat map1, const cv::Mat map2, int interpolation, int borderMode = BORDER_CONSTANT, const cv::Scalar borderValue = Scalar())
3523
3524
3525
|
# File 'lib/ropencv/ropencv_types.rb', line 3523
def self.remap(src, dst, _map1, _map2, interpolation, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new())
Rbind::cv_remap(src, dst, _map1, _map2, interpolation, border_mode, border_value)
end
|
.repeat(src, ny, nx, dst) ⇒ Void
Note:
wrapper for static method void cv::repeat(const cv::Mat src, int ny, int nx, cv::Mat& dst)
1846
1847
1848
|
# File 'lib/ropencv/ropencv_types.rb', line 1846
def self.repeat(src, ny, nx, dst)
Rbind::cv_repeat(src, ny, nx, dst)
end
|
.reproject_image_to3d(disparity, __3d_image, q, handle_missing_values = false, ddepth = -1)) ⇒ Void
Also known as:
reprojectImageTo3D
Note:
wrapper for static method void cv::reprojectImageTo3D(const cv::Mat disparity, cv::Mat& _3dImage, const cv::Mat Q, bool handleMissingValues = false, int ddepth = -1)
6360
6361
6362
|
# File 'lib/ropencv/ropencv_types.rb', line 6360
def self.reproject_image_to3d(disparity, __3d_image, q, handle_missing_values = false, ddepth = -1)
Rbind::cv_reproject_image_to3d(disparity, __3d_image, q, handle_missing_values, ddepth)
end
|
.resize(src, dst, dsize, fx = 0, fy = 0, interpolation = INTER_LINEAR) ⇒ Void
Note:
wrapper for static method void cv::resize(const cv::Mat src, cv::Mat& dst, const cv::Size dsize, double fx = 0, double fy = 0, int interpolation = INTER_LINEAR)
3482
3483
3484
|
# File 'lib/ropencv/ropencv_types.rb', line 3482
def self.resize(src, dst, dsize, fx = 0, fy = 0, interpolation = INTER_LINEAR)
Rbind::cv_resize(src, dst, dsize, fx, fy, interpolation)
end
|
.resize_window(winname, width, height) ⇒ Void
.resize_window(winname, size) ⇒ Void
Note:
wrapper for overloaded static method resize_window
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
|
# File 'lib/ropencv/ropencv_types.rb', line 4756
def self.resize_window(*args)
@@cv_resize_window_defaults0 ||= [nil, nil, nil]
if(args.size >= 3 && args.size <= 3)
targs = args.clone
targs.size.upto(2) do |i|
targs[i] = @@cv_resize_window_defaults0[i]
end
begin
return Rbind::cv_resize_window(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_resize_window__2_defaults1 ||= [nil, nil]
if(args.size >= 2 && args.size <= 2)
targs = args.clone
targs.size.upto(1) do |i|
targs[i] = @@cv_resize_window__2_defaults1[i]
end
begin
return Rbind::cv_resize_window__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.rodrigues(src, dst, jacobian = Cv::Mat.new()) ⇒ Void
Also known as:
Rodrigues
Note:
wrapper for static method void cv::Rodrigues(const cv::Mat src, cv::Mat& dst, const cv::Mat jacobian = Mat()/O)
5229
5230
5231
|
# File 'lib/ropencv/ropencv_types.rb', line 5229
def self.rodrigues(src, dst, jacobian = Cv::Mat.new())
Rbind::cv_rodrigues(src, dst, jacobian)
end
|
.rotate(src, dst, rotate_code) ⇒ Void
Note:
wrapper for static method void cv::rotate(const cv::Mat src, cv::Mat& dst, int rotateCode)
1836
1837
1838
|
# File 'lib/ropencv/ropencv_types.rb', line 1836
def self.rotate(src, dst, rotate_code)
Rbind::cv_rotate(src, dst, rotate_code)
end
|
.rotated_rectangle_intersection(_rect1, _rect2, intersecting_region) ⇒ Fixnum
Also known as:
rotatedRectangleIntersection
Note:
wrapper for static method int cv::rotatedRectangleIntersection(const cv::RotatedRect rect1, const cv::RotatedRect rect2, cv::Mat& intersectingRegion)
4235
4236
4237
|
# File 'lib/ropencv/ropencv_types.rb', line 4235
def self.rotated_rectangle_intersection(_rect1, _rect2, intersecting_region)
Rbind::cv_rotated_rectangle_intersection(_rect1, _rect2, intersecting_region)
end
|
.rq_decomp_3x3(src, mtx_r, mtx_q, qx = Cv::Mat.new(), qy = Cv::Mat.new(), qz = Cv::Mat.new()) ⇒ Cv::Vec3d
Also known as:
RQDecomp3x3
Note:
wrapper for static method const cv::Vec3d cv::RQDecomp3x3(const cv::Mat src, cv::Mat& mtxR, cv::Mat& mtxQ, const cv::Mat Qx = Mat()/O, const cv::Mat Qy = Mat()/O, const cv::Mat Qz = Mat()/O)
5296
5297
5298
|
# File 'lib/ropencv/ropencv_types.rb', line 5296
def self.rq_decomp_3x3(src, mtx_r, mtx_q, qx = Cv::Mat.new(), qy = Cv::Mat.new(), qz = Cv::Mat.new())
Rbind::cv_rq_decomp_3x3(src, mtx_r, mtx_q, qx, qy, qz)
end
|
.sampson_distance(_pt1, _pt2, f) ⇒ Double
Also known as:
sampsonDistance
Note:
wrapper for static method double cv::sampsonDistance(const cv::Mat pt1, const cv::Mat pt2, const cv::Mat F)
6370
6371
6372
|
# File 'lib/ropencv/ropencv_types.rb', line 6370
def self.sampson_distance(_pt1, _pt2, f)
Rbind::cv_sampson_distance(_pt1, _pt2, f)
end
|
.scale_add(_src1, alpha, _src2, dst) ⇒ Void
Also known as:
scaleAdd
Note:
wrapper for static method void cv::scaleAdd(const cv::Mat src1, double alpha, const cv::Mat src2, cv::Mat& dst)
1496
1497
1498
|
# File 'lib/ropencv/ropencv_types.rb', line 1496
def self.scale_add(_src1, alpha, _src2, dst)
Rbind::cv_scale_add(_src1, alpha, _src2, dst)
end
|
.scharr(src, dst, ddepth, dx, dy, scale = 1, delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
Scharr
Note:
wrapper for static method void cv::Scharr(const cv::Mat src, cv::Mat& dst, int ddepth, int dx, int dy, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT)
3168
3169
3170
|
# File 'lib/ropencv/ropencv_types.rb', line 3168
def self.scharr(src, dst, ddepth, dx, dy, scale = 1, delta = 0, border_type = BORDER_DEFAULT)
Rbind::cv_scharr(src, dst, ddepth, dx, dy, scale, delta, border_type)
end
|
.seamless_clone(src, dst, mask, p, blend, flags) ⇒ Void
Also known as:
seamlessClone
Note:
wrapper for static method void cv::seamlessClone(const cv::Mat src, const cv::Mat dst, const cv::Mat mask, const cv::Point p, cv::Mat& blend, int flags)
2874
2875
2876
|
# File 'lib/ropencv/ropencv_types.rb', line 2874
def self.seamless_clone(src, dst, mask, p, blend, flags)
Rbind::cv_seamless_clone(src, dst, mask, p, blend, flags)
end
|
.selectro_is(window_name, img, bounding_boxes, show_crosshair = true, from_center = false) ⇒ Void
Also known as:
selectROIs
Note:
wrapper for static method void cv::selectROIs(const std::string windowName, const cv::Mat img, std::vectorcv::Rect& boundingBoxes, bool showCrosshair = true, bool fromCenter = false)
4890
4891
4892
|
# File 'lib/ropencv/ropencv_types.rb', line 4890
def self.selectro_is(window_name, img, bounding_boxes, show_crosshair = true, from_center = false)
Rbind::cv_selectro_is(window_name, img, bounding_boxes, show_crosshair, from_center)
end
|
.selectroi(window_name, img, show_crosshair = true, from_center = false) ⇒ Cv::Rect
.selectroi(img, show_crosshair = true, from_center = false) ⇒ Cv::Rect
Note:
wrapper for overloaded static method selectroi
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
|
# File 'lib/ropencv/ropencv_types.rb', line 4846
def self.selectroi(*args)
@@cv_selectroi_defaults0 ||= [nil, nil, true, false]
if(args.size >= 2 && args.size <= 4)
targs = args.clone
targs.size.upto(3) do |i|
targs[i] = @@cv_selectroi_defaults0[i]
end
begin
result = Rbind::cv_selectroi(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
@@cv_selectroi_2_defaults1 ||= [nil, true, false]
if(args.size >= 1 && args.size <= 3)
targs = args.clone
targs.size.upto(2) do |i|
targs[i] = @@cv_selectroi_2_defaults1[i]
end
begin
result = Rbind::cv_selectroi_2(*targs)
result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) if !result.__owner__?
return result
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.sep_filter2d(src, dst, ddepth, kernel_x, kernel_y, anchor = Cv::Point.new(-1,-1), delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
sepFilter2D
Note:
wrapper for static method void cv::sepFilter2D(const cv::Mat src, cv::Mat& dst, int ddepth, const cv::Mat kernelX, const cv::Mat kernelY, const cv::Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT)
3125
3126
3127
|
# File 'lib/ropencv/ropencv_types.rb', line 3125
def self.sep_filter2d(src, dst, ddepth, kernel_x, kernel_y, anchor = Cv::Point.new(-1,-1), delta = 0, border_type = BORDER_DEFAULT)
Rbind::cv_sep_filter2d(src, dst, ddepth, kernel_x, kernel_y, anchor, delta, border_type)
end
|
.set_identity(mtx, s = Cv::Scalar.new(1)) ⇒ Void
Also known as:
setIdentity
Note:
wrapper for static method void cv::setIdentity(cv::Mat& mtx, const cv::Scalar s = Scalar(1))
2126
2127
2128
|
# File 'lib/ropencv/ropencv_types.rb', line 2126
def self.set_identity(mtx, s = Cv::Scalar.new(1))
Rbind::cv_set_identity(mtx, s)
end
|
.set_num_threads(nthreads) ⇒ Void
Also known as:
setNumThreads
Note:
wrapper for static method void cv::setNumThreads(int nthreads)
2495
2496
2497
|
# File 'lib/ropencv/ropencv_types.rb', line 2495
def self.set_num_threads(nthreads)
Rbind::cv_set_num_threads(nthreads)
end
|
.set_trackbar_max(trackbarname, winname, maxval) ⇒ Void
Also known as:
setTrackbarMax
Note:
wrapper for static method void cv::setTrackbarMax(const std::string trackbarname, const std::string winname, int maxval)
4919
4920
4921
|
# File 'lib/ropencv/ropencv_types.rb', line 4919
def self.set_trackbar_max(trackbarname, winname, maxval)
Rbind::cv_set_trackbar_max(trackbarname, winname, maxval)
end
|
.set_trackbar_min(trackbarname, winname, minval) ⇒ Void
Also known as:
setTrackbarMin
Note:
wrapper for static method void cv::setTrackbarMin(const std::string trackbarname, const std::string winname, int minval)
4929
4930
4931
|
# File 'lib/ropencv/ropencv_types.rb', line 4929
def self.set_trackbar_min(trackbarname, winname, minval)
Rbind::cv_set_trackbar_min(trackbarname, winname, minval)
end
|
.set_trackbar_pos(trackbarname, winname, pos) ⇒ Void
Also known as:
setTrackbarPos
Note:
wrapper for static method void cv::setTrackbarPos(const std::string trackbarname, const std::string winname, int pos)
4909
4910
4911
|
# File 'lib/ropencv/ropencv_types.rb', line 4909
def self.set_trackbar_pos(trackbarname, winname, pos)
Rbind::cv_set_trackbar_pos(trackbarname, winname, pos)
end
|
.set_use_optimized(onoff) ⇒ Void
Also known as:
setUseOptimized
Note:
wrapper for static method void cv::setUseOptimized(bool onoff)
2603
2604
2605
|
# File 'lib/ropencv/ropencv_types.rb', line 2603
def self.set_use_optimized(onoff)
Rbind::cv_set_use_optimized(onoff)
end
|
.set_window_property(winname, prop_id, prop_value) ⇒ Void
Also known as:
setWindowProperty
Note:
wrapper for static method void cv::setWindowProperty(const std::string winname, int prop_id, double prop_value)
4802
4803
4804
|
# File 'lib/ropencv/ropencv_types.rb', line 4802
def self.set_window_property(winname, prop_id, prop_value)
Rbind::cv_set_window_property(winname, prop_id, prop_value)
end
|
.set_window_title(winname, title) ⇒ Void
Also known as:
setWindowTitle
Note:
wrapper for static method void cv::setWindowTitle(const std::string winname, const std::string title)
4811
4812
4813
|
# File 'lib/ropencv/ropencv_types.rb', line 4811
def self.set_window_title(winname, title)
Rbind::cv_set_window_title(winname, title)
end
|
.setrng_seed(seed) ⇒ Void
Also known as:
setRNGSeed
Note:
wrapper for static method void cv::setRNGSeed(int seed)
2419
2420
2421
|
# File 'lib/ropencv/ropencv_types.rb', line 2419
def self.setrng_seed(seed)
Rbind::cv_setrng_seed(seed)
end
|
.sobel(src, dst, ddepth, dx, dy, ksize = 3, scale = 1, delta = 0, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
Sobel
Note:
wrapper for static method void cv::Sobel(const cv::Mat src, cv::Mat& dst, int ddepth, int dx, int dy, int ksize = 3, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT)
3141
3142
3143
|
# File 'lib/ropencv/ropencv_types.rb', line 3141
def self.sobel(src, dst, ddepth, dx, dy, ksize = 3, scale = 1, delta = 0, border_type = BORDER_DEFAULT)
Rbind::cv_sobel(src, dst, ddepth, dx, dy, ksize, scale, delta, border_type)
end
|
.solve(_src1, _src2, dst, flags = DECOMP_LU) ⇒ Bool
Note:
wrapper for static method bool cv::solve(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, int flags = DECOMP_LU)
2160
2161
2162
|
# File 'lib/ropencv/ropencv_types.rb', line 2160
def self.solve(_src1, _src2, dst, flags = DECOMP_LU)
Rbind::cv_solve(_src1, _src2, dst, flags)
end
|
.solve_cubic(coeffs, roots) ⇒ Fixnum
Also known as:
solveCubic
Note:
wrapper for static method int cv::solveCubic(const cv::Mat coeffs, cv::Mat& roots)
2187
2188
2189
|
# File 'lib/ropencv/ropencv_types.rb', line 2187
def self.solve_cubic(coeffs, roots)
Rbind::cv_solve_cubic(coeffs, roots)
end
|
.solve_pnp(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, use_extrinsic_guess = false, flags = SOLVEPNP_ITERATIVE) ⇒ Bool
Also known as:
solvePnP
Note:
wrapper for static method bool cv::solvePnP(const cv::Mat objectPoints, const cv::Mat imagePoints, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, cv::Mat& rvec, cv::Mat& tvec, bool useExtrinsicGuess = false, int flags = SOLVEPNP_ITERATIVE)
5373
5374
5375
|
# File 'lib/ropencv/ropencv_types.rb', line 5373
def self.solve_pnp(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, use_extrinsic_guess = false, flags = SOLVEPNP_ITERATIVE)
Rbind::cv_solve_pnp(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, use_extrinsic_guess, flags)
end
|
.solve_pnp_generic(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, use_extrinsic_guess = false, flags = :SOLVEPNP_ITERATIVE, rvec = Cv::Mat.new(), tvec = Cv::Mat.new(), reprojection_error = Cv::Mat.new()) ⇒ Fixnum
Also known as:
solvePnPGeneric
Note:
wrapper for static method int cv::solvePnPGeneric(const cv::Mat objectPoints, const cv::Mat imagePoints, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, std::vectorcv::Mat& rvecs, std::vectorcv::Mat& tvecs, bool useExtrinsicGuess = false, cv::SolvePnPMethod flags = SOLVEPNP_ITERATIVE, const cv::Mat rvec = Mat(), const cv::Mat tvec = Mat(), const cv::Mat reprojectionError = Mat()/O)
5491
5492
5493
|
# File 'lib/ropencv/ropencv_types.rb', line 5491
def self.solve_pnp_generic(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, use_extrinsic_guess = false, flags = :SOLVEPNP_ITERATIVE, rvec = Cv::Mat.new(), tvec = Cv::Mat.new(), reprojection_error = Cv::Mat.new())
Rbind::cv_solve_pnp_generic(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, use_extrinsic_guess, flags, rvec, tvec, reprojection_error)
end
|
.solve_pnp_ransac(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, use_extrinsic_guess = false, iterations_count = 100, reprojection_error = 8.0, confidence = 0.99, inliers = Cv::Mat.new(), flags = SOLVEPNP_ITERATIVE) ⇒ Bool
.solve_pnp_ransac(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, inliers, params = Cv::UsacParams.new()) ⇒ Bool
Note:
wrapper for overloaded static method solve_pnp_ransac
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
|
# File 'lib/ropencv/ropencv_types.rb', line 5404
def self.solve_pnp_ransac(*args)
@@cv_solve_pnp_ransac_defaults0 ||= [nil, nil, nil, nil, nil, nil, false, 100, 8.0, 0.99, Cv::Mat.new(), SOLVEPNP_ITERATIVE]
if(args.size >= 6 && args.size <= 12)
targs = args.clone
targs.size.upto(11) do |i|
targs[i] = @@cv_solve_pnp_ransac_defaults0[i]
end
begin
return Rbind::cv_solve_pnp_ransac(*targs)
rescue TypeError => e
@error = e
end
end
@@cv_solve_pnp_ransac__2_defaults1 ||= [nil, nil, nil, nil, nil, nil, nil, Cv::UsacParams.new()]
if(args.size >= 7 && args.size <= 8)
targs = args.clone
targs.size.upto(7) do |i|
targs[i] = @@cv_solve_pnp_ransac__2_defaults1[i]
end
begin
return Rbind::cv_solve_pnp_ransac__2(*targs)
rescue TypeError => e
@error = e
end
end
raise ArgumentError, "No overloaded signature fits to: #{args.map(&:class)}"
end
|
.solve_pnp_refinelm(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria = Cv::TermCriteria.new(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON)) ⇒ Void
Also known as:
solvePnPRefineLM
Note:
wrapper for static method void cv::solvePnPRefineLM(const cv::Mat objectPoints, const cv::Mat imagePoints, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, cv::Mat& rvec, cv::Mat& tvec, const cv::TermCriteria criteria = TermCriteria(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON))
5458
5459
5460
|
# File 'lib/ropencv/ropencv_types.rb', line 5458
def self.solve_pnp_refinelm(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria = Cv::TermCriteria.new(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON))
Rbind::cv_solve_pnp_refinelm(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria)
end
|
.solve_pnp_refinevvs(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria = Cv::TermCriteria.new(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON), v_v_slambda = 1) ⇒ Void
Also known as:
solvePnPRefineVVS
Note:
wrapper for static method void cv::solvePnPRefineVVS(const cv::Mat objectPoints, const cv::Mat imagePoints, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, cv::Mat& rvec, cv::Mat& tvec, const cv::TermCriteria criteria = TermCriteria(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON), double VVSlambda = 1)
5473
5474
5475
|
# File 'lib/ropencv/ropencv_types.rb', line 5473
def self.solve_pnp_refinevvs(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria = Cv::TermCriteria.new(TermCriteria::EPS + TermCriteria::COUNT, 20, FLT_EPSILON), v_v_slambda = 1)
Rbind::cv_solve_pnp_refinevvs(object_points, image_points, camera_matrix, dist_coeffs, rvec, tvec, criteria, v_v_slambda)
end
|
.solve_poly(coeffs, roots, max_iters = 300) ⇒ Double
Also known as:
solvePoly
Note:
wrapper for static method double cv::solvePoly(const cv::Mat coeffs, cv::Mat& roots, int maxIters = 300)
2197
2198
2199
|
# File 'lib/ropencv/ropencv_types.rb', line 2197
def self.solve_poly(coeffs, roots, max_iters = 300)
Rbind::cv_solve_poly(coeffs, roots, max_iters)
end
|
.solvelp(func, constr, z) ⇒ Fixnum
Also known as:
solveLP
Note:
wrapper for static method int cv::solveLP(const cv::Mat Func, const cv::Mat Constr, cv::Mat& z)
2487
2488
2489
|
# File 'lib/ropencv/ropencv_types.rb', line 2487
def self.solvelp(func, constr, z)
Rbind::cv_solvelp(func, constr, z)
end
|
.solvep3p(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, flags) ⇒ Fixnum
Also known as:
solveP3P
Note:
wrapper for static method int cv::solveP3P(const cv::Mat objectPoints, const cv::Mat imagePoints, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, std::vectorcv::Mat& rvecs, std::vectorcv::Mat& tvecs, int flags)
5444
5445
5446
|
# File 'lib/ropencv/ropencv_types.rb', line 5444
def self.solvep3p(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, flags)
Rbind::cv_solvep3p(object_points, image_points, camera_matrix, dist_coeffs, rvecs, tvecs, flags)
end
|
.sort(src, dst, flags) ⇒ Void
Note:
wrapper for static method void cv::sort(const cv::Mat src, cv::Mat& dst, int flags)
2169
2170
2171
|
# File 'lib/ropencv/ropencv_types.rb', line 2169
def self.sort(src, dst, flags)
Rbind::cv_sort(src, dst, flags)
end
|
.sort_idx(src, dst, flags) ⇒ Void
Also known as:
sortIdx
Note:
wrapper for static method void cv::sortIdx(const cv::Mat src, cv::Mat& dst, int flags)
2178
2179
2180
|
# File 'lib/ropencv/ropencv_types.rb', line 2178
def self.sort_idx(src, dst, flags)
Rbind::cv_sort_idx(src, dst, flags)
end
|
.spatial_gradient(src, dx, dy, ksize = 3, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
spatialGradient
Note:
wrapper for static method void cv::spatialGradient(const cv::Mat src, cv::Mat& dx, cv::Mat& dy, int ksize = 3, int borderType = BORDER_DEFAULT)
3153
3154
3155
|
# File 'lib/ropencv/ropencv_types.rb', line 3153
def self.spatial_gradient(src, dx, dy, ksize = 3, border_type = BORDER_DEFAULT)
Rbind::cv_spatial_gradient(src, dx, dy, ksize, border_type)
end
|
.split(m, mv) ⇒ Void
Note:
wrapper for static method void cv::split(const cv::Mat m, std::vectorcv::Mat& mv)
1788
1789
1790
|
# File 'lib/ropencv/ropencv_types.rb', line 1788
def self.split(m, mv)
Rbind::cv_split(m, mv)
end
|
.sqr_box_filter(src, dst, ddepth, ksize, anchor = Cv::Point.new(-1, -1), normalize = true, border_type = BORDER_DEFAULT) ⇒ Void
Also known as:
sqrBoxFilter
Note:
wrapper for static method void cv::sqrBoxFilter(const cv::Mat src, cv::Mat& dst, int ddepth, const cv::Size ksize, const cv::Point anchor = Point(-1, -1), bool normalize = true, int borderType = BORDER_DEFAULT)
3085
3086
3087
|
# File 'lib/ropencv/ropencv_types.rb', line 3085
def self.sqr_box_filter(src, dst, ddepth, ksize, anchor = Cv::Point.new(-1, -1), normalize = true, border_type = BORDER_DEFAULT)
Rbind::cv_sqr_box_filter(src, dst, ddepth, ksize, anchor, normalize, border_type)
end
|
.sqrt(src, dst) ⇒ Void
Note:
wrapper for static method void cv::sqrt(const cv::Mat src, cv::Mat& dst)
1967
1968
1969
|
# File 'lib/ropencv/ropencv_types.rb', line 1967
def self.sqrt(src, dst)
Rbind::cv_sqrt(src, dst)
end
|
.start_window_thread ⇒ Fixnum
Also known as:
startWindowThread
Note:
wrapper for static method int cv::startWindowThread()
4709
4710
4711
|
# File 'lib/ropencv/ropencv_types.rb', line 4709
def self.start_window_thread()
Rbind::cv_start_window_thread()
end
|
.stereo_calibrate(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, flags = CALIB_FIX_INTRINSIC, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6)) ⇒ Double
Also known as:
stereoCalibrate
Note:
wrapper for static method double cv::stereoCalibrate(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints1, const std::vectorcv::Mat imagePoints2, cv::Mat& cameraMatrix1, cv::Mat& distCoeffs1, cv::Mat& cameraMatrix2, cv::Mat& distCoeffs2, const cv::Size imageSize, cv::Mat& R, cv::Mat& T, cv::Mat& E, cv::Mat& F, int flags = CALIB_FIX_INTRINSIC, const cv::TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6))
5775
5776
5777
|
# File 'lib/ropencv/ropencv_types.rb', line 5775
def self.stereo_calibrate(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, flags = CALIB_FIX_INTRINSIC, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6))
Rbind::cv_stereo_calibrate(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, flags, criteria)
end
|
.stereo_calibrate_extended(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, per_view_errors, flags = CALIB_FIX_INTRINSIC, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6)) ⇒ Double
Also known as:
stereoCalibrateExtended
Note:
wrapper for static method double cv::stereoCalibrate(const std::vectorcv::Mat objectPoints, const std::vectorcv::Mat imagePoints1, const std::vectorcv::Mat imagePoints2, cv::Mat& cameraMatrix1, cv::Mat& distCoeffs1, cv::Mat& cameraMatrix2, cv::Mat& distCoeffs2, const cv::Size imageSize, cv::Mat& R, cv::Mat& T, cv::Mat& E, cv::Mat& F, cv::Mat& perViewErrors, int flags = CALIB_FIX_INTRINSIC, const cv::TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6))
5754
5755
5756
|
# File 'lib/ropencv/ropencv_types.rb', line 5754
def self.stereo_calibrate_extended(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, per_view_errors, flags = CALIB_FIX_INTRINSIC, criteria = Cv::TermCriteria.new(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6))
Rbind::cv_stereo_calibrate_extended(object_points, _image_points1, _image_points2, _camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, e, f, per_view_errors, flags, criteria)
end
|
.stereo_rectify(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, _r1, _r2, _p1, _p2, q, flags = CALIB_ZERO_DISPARITY, alpha = -1,, new_image_size = Cv::Size.new(), _valid_pix_r_o_i1 = Cv::Rect::null, _valid_pix_r_o_i2 = Cv::Rect::null) ⇒ Void
Also known as:
stereoRectify
Note:
wrapper for static method void cv::stereoRectify(const cv::Mat cameraMatrix1, const cv::Mat distCoeffs1, const cv::Mat cameraMatrix2, const cv::Mat distCoeffs2, const cv::Size imageSize, const cv::Mat R, const cv::Mat T, cv::Mat& R1, cv::Mat& R2, cv::Mat& P1, cv::Mat& P2, cv::Mat& Q, int flags = CALIB_ZERO_DISPARITY, double alpha = -1, const cv::Size newImageSize = Size(), const cv::Rect* validPixROI1 = 0/O, const cv::Rect* validPixROI2 = 0/O)
5799
5800
5801
|
# File 'lib/ropencv/ropencv_types.rb', line 5799
def self.stereo_rectify(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, _r1, _r2, _p1, _p2, q, flags = CALIB_ZERO_DISPARITY, alpha = -1, new_image_size = Cv::Size.new(), _valid_pix_r_o_i1 = Cv::Rect::null, _valid_pix_r_o_i2 = Cv::Rect::null)
Rbind::cv_stereo_rectify(_camera_matrix1, _dist_coeffs1, _camera_matrix2, _dist_coeffs2, image_size, r, t, _r1, _r2, _p1, _p2, q, flags, alpha, new_image_size, _valid_pix_r_o_i1, _valid_pix_r_o_i2)
end
|
.stereo_rectify_uncalibrated(_points1, _points2, f, img_size, _h1, _h2, threshold = 5) ⇒ Bool
Also known as:
stereoRectifyUncalibrated
Note:
wrapper for static method bool cv::stereoRectifyUncalibrated(const cv::Mat points1, const cv::Mat points2, const cv::Mat F, const cv::Size imgSize, cv::Mat& H1, cv::Mat& H2, double threshold = 5)
5813
5814
5815
|
# File 'lib/ropencv/ropencv_types.rb', line 5813
def self.stereo_rectify_uncalibrated(_points1, _points2, f, img_size, _h1, _h2, threshold = 5)
Rbind::cv_stereo_rectify_uncalibrated(_points1, _points2, f, img_size, _h1, _h2, threshold)
end
|
.stylization(src, dst, sigma_s = 60, sigma_r = 0.45) ⇒ Void
Note:
wrapper for static method void cv::stylization(const cv::Mat src, cv::Mat& dst, float sigma_s = 60, float sigma_r = 0.45f)
2959
2960
2961
|
# File 'lib/ropencv/ropencv_types.rb', line 2959
def self.stylization(src, dst, sigma_s = 60, sigma_r = 0.45)
Rbind::cv_stylization(src, dst, sigma_s, sigma_r)
end
|
.subtract(_src1, _src2, dst, mask = Cv::Mat.new(), dtype = -1)) ⇒ Void
Note:
wrapper for static method void cv::subtract(const cv::Mat src1, const cv::Mat src2, cv::Mat& dst, const cv::Mat mask = Mat(), int dtype = -1)
1429
1430
1431
|
# File 'lib/ropencv/ropencv_types.rb', line 1429
def self.subtract(_src1, _src2, dst, mask = Cv::Mat.new(), dtype = -1)
Rbind::cv_subtract(_src1, _src2, dst, mask, dtype)
end
|
Note:
wrapper for static method const cv::Mat cv::sum(const cv::Mat src)
1556
1557
1558
|
# File 'lib/ropencv/ropencv_types.rb', line 1556
def self.sum(src)
Rbind::cv_sum(src)
end
|
.sum_elems(src) ⇒ Cv::Scalar
Also known as:
sumElems
Note:
wrapper for static method const cv::Scalar cv::sum(const cv::Mat src)
1548
1549
1550
|
# File 'lib/ropencv/ropencv_types.rb', line 1548
def self.sum_elems(src)
Rbind::cv_sum_elems(src)
end
|
.sv_back_subst(w, u, vt, rhs, dst) ⇒ Void
Also known as:
SVBackSubst
Note:
wrapper for static method void cv::SVBackSubst(const cv::Mat w, const cv::Mat u, const cv::Mat vt, const cv::Mat rhs, cv::Mat& dst)
2343
2344
2345
|
# File 'lib/ropencv/ropencv_types.rb', line 2343
def self.sv_back_subst(w, u, vt, rhs, dst)
Rbind::cv_sv_back_subst(w, u, vt, rhs, dst)
end
|
.sv_decomp(src, w, u, vt, flags = 0) ⇒ Void
Also known as:
SVDecomp
Note:
wrapper for static method void cv::SVDecomp(const cv::Mat src, cv::Mat& w, cv::Mat& u, cv::Mat& vt, int flags = 0)
2331
2332
2333
|
# File 'lib/ropencv/ropencv_types.rb', line 2331
def self.sv_decomp(src, w, u, vt, flags = 0)
Rbind::cv_sv_decomp(src, w, u, vt, flags)
end
|
.texture_flattening(src, mask, dst, low_threshold = 30, high_threshold = 45, kernel_size = 3) ⇒ Void
Also known as:
textureFlattening
Note:
wrapper for static method void cv::textureFlattening(const cv::Mat src, const cv::Mat mask, cv::Mat& dst, float low_threshold = 30, float high_threshold = 45, int kernel_size = 3)
2912
2913
2914
|
# File 'lib/ropencv/ropencv_types.rb', line 2912
def self.texture_flattening(src, mask, dst, low_threshold = 30, high_threshold = 45, kernel_size = 3)
Rbind::cv_texture_flattening(src, mask, dst, low_threshold, high_threshold, kernel_size)
end
|
.threshold(src, dst, thresh, maxval, type) ⇒ Double
Note:
wrapper for static method double cv::threshold(const cv::Mat src, cv::Mat& dst, double thresh, double maxval, int type)
3740
3741
3742
|
# File 'lib/ropencv/ropencv_types.rb', line 3740
def self.threshold(src, dst, thresh, maxval, type)
Rbind::cv_threshold(src, dst, thresh, maxval, type)
end
|
Note:
wrapper for static method const cv::Scalar cv::trace(const cv::Mat mtx)
2141
2142
2143
|
# File 'lib/ropencv/ropencv_types.rb', line 2141
def self.trace(mtx)
Rbind::cv_trace(mtx)
end
|
Note:
wrapper for static method void cv::transform(const cv::Mat src, cv::Mat& dst, const cv::Mat m)
2099
2100
2101
|
# File 'lib/ropencv/ropencv_types.rb', line 2099
def self.transform(src, dst, m)
Rbind::cv_transform(src, dst, m)
end
|
.transpose(src, dst) ⇒ Void
Note:
wrapper for static method void cv::transpose(const cv::Mat src, cv::Mat& dst)
2090
2091
2092
|
# File 'lib/ropencv/ropencv_types.rb', line 2090
def self.transpose(src, dst)
Rbind::cv_transpose(src, dst)
end
|
.triangulate_points(_proj_matr1, _proj_matr2, _proj_points1, _proj_points2, _points4_d) ⇒ Void
Also known as:
triangulatePoints
Note:
wrapper for static method void cv::triangulatePoints(const cv::Mat projMatr1, const cv::Mat projMatr2, const cv::Mat projPoints1, const cv::Mat projPoints2, cv::Mat& points4D)
6300
6301
6302
|
# File 'lib/ropencv/ropencv_types.rb', line 6300
def self.triangulate_points(_proj_matr1, _proj_matr2, _proj_points1, _proj_points2, _points4_d)
Rbind::cv_triangulate_points(_proj_matr1, _proj_matr2, _proj_points1, _proj_points2, _points4_d)
end
|
.undistort(src, dst, camera_matrix, dist_coeffs, new_camera_matrix = Cv::Mat.new()) ⇒ Void
Note:
wrapper for static method void cv::undistort(const cv::Mat src, cv::Mat& dst, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Mat newCameraMatrix = Mat())
6542
6543
6544
|
# File 'lib/ropencv/ropencv_types.rb', line 6542
def self.undistort(src, dst, camera_matrix, dist_coeffs, new_camera_matrix = Cv::Mat.new())
Rbind::cv_undistort(src, dst, camera_matrix, dist_coeffs, new_camera_matrix)
end
|
.undistort_points(src, dst, camera_matrix, dist_coeffs, r = Cv::Mat.new(), p = Cv::Mat.new()) ⇒ Void
Also known as:
undistortPoints
Note:
wrapper for static method void cv::undistortPoints(const cv::Mat src, cv::Mat& dst, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Mat R = Mat(), const cv::Mat P = Mat())
6594
6595
6596
|
# File 'lib/ropencv/ropencv_types.rb', line 6594
def self.undistort_points(src, dst, camera_matrix, dist_coeffs, r = Cv::Mat.new(), p = Cv::Mat.new())
Rbind::cv_undistort_points(src, dst, camera_matrix, dist_coeffs, r, p)
end
|
.undistort_points_iter(src, dst, camera_matrix, dist_coeffs, r, p, criteria) ⇒ Void
Also known as:
undistortPointsIter
Note:
wrapper for static method void cv::undistortPoints(const cv::Mat src, cv::Mat& dst, const cv::Mat cameraMatrix, const cv::Mat distCoeffs, const cv::Mat R, const cv::Mat P, const cv::TermCriteria criteria)
6608
6609
6610
|
# File 'lib/ropencv/ropencv_types.rb', line 6608
def self.undistort_points_iter(src, dst, camera_matrix, dist_coeffs, r, p, criteria)
Rbind::cv_undistort_points_iter(src, dst, camera_matrix, dist_coeffs, r, p, criteria)
end
|
.use_optimized ⇒ Bool
Also known as:
useOptimized
Note:
wrapper for static method bool cv::useOptimized()
2610
2611
2612
|
# File 'lib/ropencv/ropencv_types.rb', line 2610
def self.use_optimized()
Rbind::cv_use_optimized()
end
|
.validate_disparity(disparity, cost, min_disparity, number_of_disparities, _disp12_max_disp = 1) ⇒ Void
Also known as:
validateDisparity
Note:
wrapper for static method void cv::validateDisparity(cv::Mat& disparity, const cv::Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp = 1)
6348
6349
6350
|
# File 'lib/ropencv/ropencv_types.rb', line 6348
def self.validate_disparity(disparity, cost, min_disparity, number_of_disparities, _disp12_max_disp = 1)
Rbind::cv_validate_disparity(disparity, cost, min_disparity, number_of_disparities, _disp12_max_disp)
end
|
.vconcat(src, dst) ⇒ Void
Note:
wrapper for static method void cv::vconcat(const std::vectorcv::Mat src, cv::Mat& dst)
1862
1863
1864
|
# File 'lib/ropencv/ropencv_types.rb', line 1862
def self.vconcat(src, dst)
Rbind::cv_vconcat(src, dst)
end
|
.wait_key(delay = 0) ⇒ Fixnum
Also known as:
waitKey
Note:
wrapper for static method int cv::waitKey(int delay = 0)
4725
4726
4727
|
# File 'lib/ropencv/ropencv_types.rb', line 4725
def self.wait_key(delay = 0)
Rbind::cv_wait_key(delay)
end
|
.wait_key_ex(delay = 0) ⇒ Fixnum
Also known as:
waitKeyEx
Note:
wrapper for static method int cv::waitKeyEx(int delay = 0)
4717
4718
4719
|
# File 'lib/ropencv/ropencv_types.rb', line 4717
def self.wait_key_ex(delay = 0)
Rbind::cv_wait_key_ex(delay)
end
|
.warp_affine(src, dst, m, dsize, flags = INTER_LINEAR, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new()) ⇒ Void
Also known as:
warpAffine
Note:
wrapper for static method void cv::warpAffine(const cv::Mat src, cv::Mat& dst, const cv::Mat M, const cv::Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, const cv::Scalar borderValue = Scalar())
3495
3496
3497
|
# File 'lib/ropencv/ropencv_types.rb', line 3495
def self.warp_affine(src, dst, m, dsize, flags = INTER_LINEAR, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new())
Rbind::cv_warp_affine(src, dst, m, dsize, flags, border_mode, border_value)
end
|
.warp_perspective(src, dst, m, dsize, flags = INTER_LINEAR, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new()) ⇒ Void
Also known as:
warpPerspective
Note:
wrapper for static method void cv::warpPerspective(const cv::Mat src, cv::Mat& dst, const cv::Mat M, const cv::Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, const cv::Scalar borderValue = Scalar())
3509
3510
3511
|
# File 'lib/ropencv/ropencv_types.rb', line 3509
def self.warp_perspective(src, dst, m, dsize, flags = INTER_LINEAR, border_mode = BORDER_CONSTANT, border_value = Cv::Scalar.new())
Rbind::cv_warp_perspective(src, dst, m, dsize, flags, border_mode, border_value)
end
|
.warp_polar(src, dst, dsize, center, max_radius, flags) ⇒ Void
Also known as:
warpPolar
Note:
wrapper for static method void cv::warpPolar(const cv::Mat src, cv::Mat& dst, const cv::Size dsize, const cv::Point2f center, double maxRadius, int flags)
3622
3623
3624
|
# File 'lib/ropencv/ropencv_types.rb', line 3622
def self.warp_polar(src, dst, dsize, center, max_radius, flags)
Rbind::cv_warp_polar(src, dst, dsize, center, max_radius, flags)
end
|
.watershed(image, markers) ⇒ Void
Note:
wrapper for static method void cv::watershed(const cv::Mat image, cv::Mat& markers)
3852
3853
3854
|
# File 'lib/ropencv/ropencv_types.rb', line 3852
def self.watershed(image, markers)
Rbind::cv_watershed(image, markers)
end
|
.write_double(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, double val)
1194
1195
1196
|
# File 'lib/ropencv/ropencv_types.rb', line 1194
def self.write_double(fs, name, val)
Rbind::cv_write_double(fs, name, val)
end
|
.write_float(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, float val)
1185
1186
1187
|
# File 'lib/ropencv/ropencv_types.rb', line 1185
def self.write_float(fs, name, val)
Rbind::cv_write_float(fs, name, val)
end
|
.write_int(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, int val)
1176
1177
1178
|
# File 'lib/ropencv/ropencv_types.rb', line 1176
def self.write_int(fs, name, val)
Rbind::cv_write_int(fs, name, val)
end
|
.write_mat(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Mat val)
1212
1213
1214
|
# File 'lib/ropencv/ropencv_types.rb', line 1212
def self.write_mat(fs, name, val)
Rbind::cv_write_mat(fs, name, val)
end
|
.write_optical_flow(path, flow) ⇒ Bool
Also known as:
writeOpticalFlow
Note:
wrapper for static method bool cv::writeOpticalFlow(const std::string path, const cv::Mat flow)
5132
5133
5134
|
# File 'lib/ropencv/ropencv_types.rb', line 5132
def self.write_optical_flow(path, flow)
Rbind::cv_write_optical_flow(path, flow)
end
|
.write_point(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Point val)
1221
1222
1223
|
# File 'lib/ropencv/ropencv_types.rb', line 1221
def self.write_point(fs, name, val)
Rbind::cv_write_point(fs, name, val)
end
|
.write_point_2d(fs, name, val) ⇒ Void
Also known as:
write_point2d
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Point2d val)
1250
1251
1252
|
# File 'lib/ropencv/ropencv_types.rb', line 1250
def self.write_point_2d(fs, name, val)
Rbind::cv_write_point_2d(fs, name, val)
end
|
.write_point_2f(fs, name, val) ⇒ Void
Also known as:
write_point2f
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Point2f val)
1230
1231
1232
|
# File 'lib/ropencv/ropencv_types.rb', line 1230
def self.write_point_2f(fs, name, val)
Rbind::cv_write_point_2f(fs, name, val)
end
|
.write_point_3d(fs, name, val) ⇒ Void
Also known as:
write_point3d
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Point3d val)
1260
1261
1262
|
# File 'lib/ropencv/ropencv_types.rb', line 1260
def self.write_point_3d(fs, name, val)
Rbind::cv_write_point_3d(fs, name, val)
end
|
.write_point_3f(fs, name, val) ⇒ Void
Also known as:
write_point3f
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Point3f val)
1240
1241
1242
|
# File 'lib/ropencv/ropencv_types.rb', line 1240
def self.write_point_3f(fs, name, val)
Rbind::cv_write_point_3f(fs, name, val)
end
|
.write_range(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Range val)
1279
1280
1281
|
# File 'lib/ropencv/ropencv_types.rb', line 1279
def self.write_range(fs, name, val)
Rbind::cv_write_range(fs, name, val)
end
|
.write_rect(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Rect val)
1270
1271
1272
|
# File 'lib/ropencv/ropencv_types.rb', line 1270
def self.write_rect(fs, name, val)
Rbind::cv_write_rect(fs, name, val)
end
|
.write_scalar(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Scalar val)
1288
1289
1290
|
# File 'lib/ropencv/ropencv_types.rb', line 1288
def self.write_scalar(fs, name, val)
Rbind::cv_write_scalar(fs, name, val)
end
|
.write_scalar_double(fs, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, double val)
1159
1160
1161
|
# File 'lib/ropencv/ropencv_types.rb', line 1159
def self.write_scalar_double(fs, val)
Rbind::cv_write_scalar_double(fs, val)
end
|
.write_scalar_float(fs, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, float val)
1151
1152
1153
|
# File 'lib/ropencv/ropencv_types.rb', line 1151
def self.write_scalar_float(fs, val)
Rbind::cv_write_scalar_float(fs, val)
end
|
.write_scalar_int(fs, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, int val)
1143
1144
1145
|
# File 'lib/ropencv/ropencv_types.rb', line 1143
def self.write_scalar_int(fs, val)
Rbind::cv_write_scalar_int(fs, val)
end
|
.write_scalar_string(fs, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string val)
1167
1168
1169
|
# File 'lib/ropencv/ropencv_types.rb', line 1167
def self.write_scalar_string(fs, val)
Rbind::cv_write_scalar_string(fs, val)
end
|
.write_size(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Size val)
1297
1298
1299
|
# File 'lib/ropencv/ropencv_types.rb', line 1297
def self.write_size(fs, name, val)
Rbind::cv_write_size(fs, name, val)
end
|
.write_string(fs, name, val) ⇒ Void
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const std::string val)
1203
1204
1205
|
# File 'lib/ropencv/ropencv_types.rb', line 1203
def self.write_string(fs, name, val)
Rbind::cv_write_string(fs, name, val)
end
|
.write_vec_2d(fs, name, val) ⇒ Void
Also known as:
write_vec2d
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Vec2d val)
1326
1327
1328
|
# File 'lib/ropencv/ropencv_types.rb', line 1326
def self.write_vec_2d(fs, name, val)
Rbind::cv_write_vec_2d(fs, name, val)
end
|
.write_vec_2f(fs, name, val) ⇒ Void
Also known as:
write_vec2f
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Vec2f val)
1306
1307
1308
|
# File 'lib/ropencv/ropencv_types.rb', line 1306
def self.write_vec_2f(fs, name, val)
Rbind::cv_write_vec_2f(fs, name, val)
end
|
.write_vec_3d(fs, name, val) ⇒ Void
Also known as:
write_vec3d
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Vec3d val)
1336
1337
1338
|
# File 'lib/ropencv/ropencv_types.rb', line 1336
def self.write_vec_3d(fs, name, val)
Rbind::cv_write_vec_3d(fs, name, val)
end
|
.write_vec_3f(fs, name, val) ⇒ Void
Also known as:
write_vec3f
Note:
wrapper for static method void cv::write(cv::FileStorage& fs, const std::string name, const cv::Vec3f val)
1316
1317
1318
|
# File 'lib/ropencv/ropencv_types.rb', line 1316
def self.write_vec_3f(fs, name, val)
Rbind::cv_write_vec_3f(fs, name, val)
end
|