BearExtrCamStr.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00029
00033
00034 #ifndef __BEAR_EXTR_CAM_STR_H_
00035 #define __BEAR_EXTR_CAM_STR_H_
00036
00037 #include "BearExtrCamUtils.h"
00038
00039 using namespace std;
00040 namespace MipAlgorithms{
00041
00042 class featureImage {
00043 public:
00044
00045 TooN::Matrix<3> pmat;
00046
00048 cv::Point position;
00050 cv::Point oldCirclePosition;
00052 cv::Point circlePosition;
00054 cv::Rect roi;
00056 vpDot2 d;
00058 bool init;
00059
00061 int allarm;
00062
00063
00065 featureImage();
00066
00072 featureImage( cv::Point po, cv::Point cp, cv::Rect Roi, TooN::Matrix<3> p );
00073
00076 featureImage(const featureImage& k);
00077
00080 featureImage& operator=(const featureImage& k);
00081
00094 static void findFeature(cv::Mat Image,int Tl_x, int Tl_y, int _Tp_width, int _Tp_height, std::vector<featureImage> & camera, TooN::Matrix<3> pm, BearExtrCamPar* par, BearExtrCamVar* var);
00095
00096
00097
00098 static void trackFeatureVisp(cv::Mat &Image, vector<featureImage> & camera, BearExtrCamPar* par, BearExtrCamVar* var);
00099
00100 void computePosition(cv::Mat& Image,featureImage K, BearExtrCamPar* par, BearExtrCamVar* var);
00101
00102 };
00103 }
00104 #endif