Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / plugins / findobject / surfscan.h
diff --git a/cinelerra-5.1/plugins/findobject/surfscan.h b/cinelerra-5.1/plugins/findobject/surfscan.h
new file mode 100644 (file)
index 0000000..24b4685
--- /dev/null
@@ -0,0 +1,46 @@
+#ifndef SURFSCAN_H
+#define SURFSCAN_H
+
+
+// Wrapper & extra functions for object tracking
+
+
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include "opencv2/core/core_c.h"
+
+
+int locatePlanarObject(const CvSeq* objectKeypoints, 
+       const CvSeq* objectDescriptors,
+    const CvSeq* imageKeypoints, 
+       const CvSeq* imageDescriptors,
+    const CvPoint src_corners[4], 
+       CvPoint dst_corners[4],
+       int *(*point_pairs),
+       int (*total_pairs));
+
+void locate_points(const CvSeq* objectKeypoints, 
+       const CvSeq* objectDescriptors,
+    const CvSeq* imageKeypoints, 
+       const CvSeq* imageDescriptors,
+       int *(*points),
+       int *(*sizes),
+       int *total_points);
+
+
+#ifdef __cplusplus
+
+}
+#endif
+
+
+
+
+#endif
+
+