File: RcppExports.R

package info (click to toggle)
r-cran-opencv 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 444 kB
  • sloc: cpp: 777; sh: 80; makefile: 2
file content (163 lines) | stat: -rw-r--r-- 4,642 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

cvmat_rect <- function(ptr, x = 0L, y = 0L, width = 0L, height = 0L) {
    .Call('_opencv_cvmat_rect', PACKAGE = 'opencv', ptr, x, y, width, height)
}

cvmat_bbox <- function(ptr) {
    .Call('_opencv_cvmat_bbox', PACKAGE = 'opencv', ptr)
}

cvpoints_bbox <- function(ptr, pts) {
    .Call('_opencv_cvpoints_bbox', PACKAGE = 'opencv', ptr, pts)
}

cvpoints_chull <- function(pts) {
    .Call('_opencv_cvpoints_chull', PACKAGE = 'opencv', pts)
}

cvmat_polygon <- function(ptr, pts, convex = FALSE, crop = FALSE, color = 255L) {
    .Call('_opencv_cvmat_polygon', PACKAGE = 'opencv', ptr, pts, convex, crop, color)
}

cvmat_destroy <- function(image) {
    invisible(.Call('_opencv_cvmat_destroy', PACKAGE = 'opencv', image))
}

cvmat_dead <- function(image) {
    .Call('_opencv_cvmat_dead', PACKAGE = 'opencv', image)
}

cvmat_size <- function(image) {
    .Call('_opencv_cvmat_size', PACKAGE = 'opencv', image)
}

cvmat_new <- function() {
    .Call('_opencv_cvmat_new', PACKAGE = 'opencv')
}

cvmat_dupe <- function(image) {
    .Call('_opencv_cvmat_dupe', PACKAGE = 'opencv', image)
}

cvmat_read <- function(path) {
    .Call('_opencv_cvmat_read', PACKAGE = 'opencv', path)
}

cvmat_camera <- function() {
    .Call('_opencv_cvmat_camera', PACKAGE = 'opencv')
}

cvmat_write <- function(image, path) {
    .Call('_opencv_cvmat_write', PACKAGE = 'opencv', image, path)
}

cvmat_resize <- function(ptr, width = 0L, height = 0L) {
    .Call('_opencv_cvmat_resize', PACKAGE = 'opencv', ptr, width, height)
}

cvmat_raw_bgr <- function(image, width = 0L, height = 0L) {
    .Call('_opencv_cvmat_raw_bgr', PACKAGE = 'opencv', image, width, height)
}

cvmat_raw_bw <- function(image, width = 0L, height = 0L) {
    .Call('_opencv_cvmat_raw_bw', PACKAGE = 'opencv', image, width, height)
}

cvmat_bitmap <- function(ptr) {
    .Call('_opencv_cvmat_bitmap', PACKAGE = 'opencv', ptr)
}

cvmat_copyto <- function(from, to, mask) {
    .Call('_opencv_cvmat_copyto', PACKAGE = 'opencv', from, to, mask)
}

cvmat_info <- function(image) {
    .Call('_opencv_cvmat_info', PACKAGE = 'opencv', image)
}

cvmat_display <- function(ptr) {
    invisible(.Call('_opencv_cvmat_display', PACKAGE = 'opencv', ptr))
}

livestream <- function(filter, stop_on_result = FALSE) {
    .Call('_opencv_livestream', PACKAGE = 'opencv', filter, stop_on_result)
}

data_prefix <- function() {
    .Call('_opencv_data_prefix', PACKAGE = 'opencv')
}

set_num_threads <- function(n = 0L) {
    .Call('_opencv_set_num_threads', PACKAGE = 'opencv', n)
}

cvmat_grayscale <- function(src) {
    .Call('_opencv_cvmat_grayscale', PACKAGE = 'opencv', src)
}

cvmat_blur <- function(ptr, ksize) {
    .Call('_opencv_cvmat_blur', PACKAGE = 'opencv', ptr, ksize)
}

cvmat_sketch <- function(ptr, color) {
    .Call('_opencv_cvmat_sketch', PACKAGE = 'opencv', ptr, color)
}

cvmat_stylize <- function(ptr) {
    .Call('_opencv_cvmat_stylize', PACKAGE = 'opencv', ptr)
}

enums_types <- function(maximum = 4L) {
    .Call('_opencv_enums_types', PACKAGE = 'opencv', maximum)
}

enums_depth <- function() {
    .Call('_opencv_enums_depth', PACKAGE = 'opencv')
}

cvmat_face <- function(ptr, facedata, eyedata) {
    .Call('_opencv_cvmat_face', PACKAGE = 'opencv', ptr, facedata, eyedata)
}

cvmat_facemask <- function(ptr, facedata) {
    .Call('_opencv_cvmat_facemask', PACKAGE = 'opencv', ptr, facedata)
}

cvmat_mog2 <- function(ptr) {
    .Call('_opencv_cvmat_mog2', PACKAGE = 'opencv', ptr)
}

cvmat_knn <- function(ptr) {
    .Call('_opencv_cvmat_knn', PACKAGE = 'opencv', ptr)
}

cvmat_edges <- function(ptr) {
    .Call('_opencv_cvmat_edges', PACKAGE = 'opencv', ptr)
}

cvkeypoints_fast <- function(ptr, threshold = 0L, nonmaxSuppression = TRUE, type = 2L) {
    .Call('_opencv_cvkeypoints_fast', PACKAGE = 'opencv', ptr, threshold, nonmaxSuppression, type)
}

cvkeypoints_harris <- function(ptr, numOctaves = 6L, corn_thresh = 0.01, DOG_thresh = 0.01, maxCorners = 5000L, num_layers = 4L) {
    .Call('_opencv_cvkeypoints_harris', PACKAGE = 'opencv', ptr, numOctaves, corn_thresh, DOG_thresh, maxCorners, num_layers)
}

cvmat_hog <- function(ptr) {
    .Call('_opencv_cvmat_hog', PACKAGE = 'opencv', ptr)
}

cvmat_markers <- function(ptr) {
    .Call('_opencv_cvmat_markers', PACKAGE = 'opencv', ptr)
}

cvmat_qr_detect <- function(ptr, return_image = FALSE, use_wechat = TRUE) {
    .Call('_opencv_cvmat_qr_detect', PACKAGE = 'opencv', ptr, return_image, use_wechat)
}

cvversion <- function() {
    .Call('_opencv_cvversion', PACKAGE = 'opencv')
}