Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #if !defined(_OUTLET_DETECTOR_H)
00011 #define _OUTLET_DETECTOR_H
00012
00013 #include <vector>
00014
00015 #include "outlet_pose_estimation/detail/outlet_model.h"
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 int detect_outlet_tuple(IplImage* src, CvMat* intrinsic_matrix, CvMat* distortion_params,
00028 std::vector<outlet_t>& outlets, const outlet_template_t& outlet_templ = outlet_template_t(),
00029 const char* output_path = 0, const char* filename = 0, float* scale_ranges = 0);
00030
00031 int detect_outlet_tuple_2x2_orange(IplImage* src, CvMat* intrinsic_matrix, CvMat* distortion_params,
00032 std::vector<outlet_t>& outlets, const outlet_template_t& outlet_templ,
00033 const char* output_path, const char* filename);
00034
00035 int detect_outlet_tuple_2x1(IplImage* src, CvMat* intrinsic_matrix, CvMat* distortion_params,
00036 std::vector<outlet_t>& outlets, const outlet_template_t& outlet_templ,
00037 const char* output_path, const char* filename);
00038
00039 int detect_outlet_tuple_2x1_orange(IplImage* src, CvMat* intrinsic_matrix, CvMat* distortion_params,
00040 std::vector<outlet_t>& outlets, const outlet_template_t& outlet_templ,
00041 const char* output_path, const char* filename);
00042
00043 void features2outlets_2x1(const std::vector<feature_t>& features, std::vector<outlet_t>& outlets);
00044
00045 void calc_outlet_3d_coord_2x2(CvMat* intrinsic_matrix, const outlet_template_t& outlet_templ, std::vector<outlet_t>& outlets);
00046
00047
00048 #endif //_OUTLET_DETECTOR_H