Blender V4.3
detector.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#ifndef LIBMV_C_API_DETECTOR_H_
6#define LIBMV_C_API_DETECTOR_H_
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
13
14enum {
18};
19
29
30libmv_Features* libmv_detectFeaturesByte(const unsigned char* image_buffer,
31 int width,
32 int height,
33 int channels,
35
36libmv_Features* libmv_detectFeaturesFloat(const float* image_buffer,
37 int width,
38 int height,
39 int channels,
41
42void libmv_featuresDestroy(libmv_Features* libmv_features);
43int libmv_countFeatures(const libmv_Features* libmv_features);
44void libmv_getFeature(const libmv_Features* libmv_features,
45 int number,
46 double* x,
47 double* y,
48 double* score,
49 double* size);
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif // LIBMV_C_API_DETECTOR_H_
CCL_NAMESPACE_BEGIN struct Options options
struct libmv_DetectOptions libmv_DetectOptions
void libmv_getFeature(const libmv_Features *libmv_features, int number, double *x, double *y, double *score, double *size)
Definition detector.cc:115
@ LIBMV_DETECTOR_FAST
Definition detector.h:15
@ LIBMV_DETECTOR_HARRIS
Definition detector.h:17
@ LIBMV_DETECTOR_MORAVEC
Definition detector.h:16
libmv_Features * libmv_detectFeaturesByte(const unsigned char *image_buffer, int width, int height, int channels, libmv_DetectOptions *options)
Definition detector.cc:60
void libmv_featuresDestroy(libmv_Features *libmv_features)
Definition detector.cc:104
libmv_Features * libmv_detectFeaturesFloat(const float *image_buffer, int width, int height, int channels, libmv_DetectOptions *options)
Definition detector.cc:82
int libmv_countFeatures(const libmv_Features *libmv_features)
Definition detector.cc:111
unsigned char * moravec_pattern
Definition detector.h:26
double harris_threshold
Definition detector.h:27