Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #if !defined(_CONSTELLATION_H)
00011 #define _CONSTELLATION_H
00012
00013 #include <vector>
00014 #include <cv.h>
00015 #include "outlet_pose_estimation/detail/features.h"
00016 #include "outlet_pose_estimation/detail/one_way_descriptor_base.h"
00017
00018 float calc_set_std(const std::vector<feature_t>& features, const std::vector<int>& indices = std::vector<int>());
00019 void DetectObjectConstellation(const std::vector<feature_t>& train, const std::vector<feature_t>& input, CvMat* homography, std::vector<int>& indices);
00020 void InferMissingObjects(const std::vector<feature_t>& train, const std::vector<feature_t>& input, CvMat* homography, const std::vector<int>& indices,
00021 std::vector<feature_t>& full);
00022 void FilterOutletFeatures(const std::vector<feature_t>& src_features, std::vector<feature_t>& dst_features, float max_dist);
00023 void FilterOutletFeatures(const std::vector<feature_t>& src_features, std::vector<feature_t>& dst_features, std::vector<int>& dst_indexes, float max_dist);
00024
00025 void ClusterOutletFeatures(const std::vector<feature_t>& src_features, std::vector<feature_t>& clusters, float max_dist);
00026 void SelectNeighborFeatures(const std::vector<feature_t>& src_features, CvPoint center, std::vector<feature_t>& dst_features, float max_dist);
00027
00028
00029
00030 #endif // _CONSTELLATION_H