projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
complete the metris functions
[trackerpp.git]
/
include
/
Metrics.h
diff --git
a/include/Metrics.h
b/include/Metrics.h
index
ad1a827
..
2aa7939
100644
(file)
--- a/
include/Metrics.h
+++ b/
include/Metrics.h
@@
-9,7
+9,7
@@
namespace suanzi {
TK_DECLARE_PTR(Metrics);
//TK_DECLARE_PTR(Patch);
TK_DECLARE_PTR(Metrics);
//TK_DECLARE_PTR(Patch);
- struct Patch;
+
//
struct Patch;
class Metrics
{
public:
class Metrics
{
public:
@@
-17,26
+17,20
@@
namespace suanzi {
~Metrics(){}
const static long int MaxCost = 100000;
const static int MaxPatch = 5;
~Metrics(){}
const static long int MaxCost = 100000;
const static int MaxPatch = 5;
- void similarity(const Patch& p1, const Patch& p2);
//double distance()
//double distance()
-
-
private:
cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9};
};
private:
cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9};
};
- struct Patch
- {
- // bb_ltrb
-
- //
- // image_crop
- cv::Mat image_crop;
- //
- // features
-
- };
-
+// struct Patch
+// {
+// // bb_ltrb
+// //
+// // image_crop
+// cv::Mat image_crop;
+// //
+// // features
+// };
}
#endif /* _METRICS_H_ */
}
#endif /* _METRICS_H_ */