-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathmrgingham_pywrap_cplusplus_bridge.h
43 lines (34 loc) · 1.91 KB
/
mrgingham_pywrap_cplusplus_bridge.h
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
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// These are wrappers. And the reason this file exists at all is because
// mrgingham has a c++ api, while the python wrappers are in C
bool find_chessboard_corners_from_image_array_C( // in
int Nrows, int Ncols,
int stride,
char* imagebuffer, // this is const
// set to 0 to just use the image. Set
// to <0 to try automatically find a
// good scaling level. Try this first
int image_pyramid_level,
bool doblobs,
bool debug,
bool (*add_points)(int* xy, int N, double scale) );
bool find_chessboard_from_image_array_C( // in
int Nrows, int Ncols,
int stride,
char* imagebuffer, // this is const
const int gridn,
// set to 0 to just use the image. Set
// to <0 to try automatically find a
// good scaling level. Try this first
int image_pyramid_level,
bool doblobs,
bool debug,
int debug_sequence_x,
int debug_sequence_y,
bool (*add_points)(double* xy, int N) );
#ifdef __cplusplus
}
#endif