#include <BearExtrCamStr.h>
Public Member Functions | |
featureImage () | |
Default constructor. | |
featureImage (cv::Point po, cv::Point cp, cv::Rect Roi, TooN::Matrix< 3 > p) | |
Parametrical constructor. | |
featureImage (const featureImage &k) | |
Copy constuctor. | |
featureImage & | operator= (const featureImage &k) |
Redefinition of the = operator. | |
void | computePosition (cv::Mat &Image, featureImage K, BearExtrCamPar *par, BearExtrCamVar *var) |
Static Public Member Functions | |
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) |
Find kh3 in a region of the given image. | |
static void | trackFeatureVisp (cv::Mat &Image, vector< featureImage > &camera, BearExtrCamPar *par, BearExtrCamVar *var) |
Public Attributes | |
TooN::Matrix< 3 > | pmat |
cv::Point | position |
Current position in the image plane of the center of the kh3. | |
cv::Point | oldCirclePosition |
Previous position in the image plane of the center of the kh3. | |
cv::Point | circlePosition |
Postion of the center of the circle on the image plance. | |
cv::Rect | roi |
ROI containing the image of the kh3. | |
vpDot2 | d |
Tracker of the circle associated to the kh3. | |
bool | init |
Initialization flag of the tracker of the circle. | |
int | allarm |
Unknown - marked as old. |
featureImage::featureImage | ( | ) |
Default constructor.
Parametrical constructor.
[in] | po | Current position in the image plane of the centre of the kh3. |
[in] | cp | Postion of the center of the circle on the image plane. |
[in] | Roi | Region of interest. |
[in] | p |
featureImage::featureImage | ( | const featureImage & | k | ) |
featureImage & featureImage::operator= | ( | const featureImage & | k | ) |
void featureImage::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 | |||
) | [static] |
Find kh3 in a region of the given image.
[in] | Image | Given image. |
[in] | Tl_x | Starting x of the roi in the image. |
[in] | Tl_y | Starting y of the roi in the image. |
[in] | _Tp_width | Width the roi in the image. |
[in] | _Tp_height | Height the roi in the image. |
[in] | sigma | Parameter of the blur algorithm. |
[in] | thresh | Parameter of the thresholding algorithm. |
[in] | max_val | Max value set in the thresholding algorithm. |
[in] | type | Type of algorithm. |
[in] | &camera | |
[in] | pm |
void MipAlgorithms::featureImage::trackFeatureVisp | ( | cv::Mat & | Image, | |
vector< featureImage > & | camera, | |||
BearExtrCamPar * | par, | |||
BearExtrCamVar * | var | |||
) | [static] |
void featureImage::computePosition | ( | cv::Mat & | Image, | |
featureImage | K, | |||
BearExtrCamPar * | par, | |||
BearExtrCamVar * | var | |||
) |
TooN::Matrix<3> MipAlgorithms::featureImage::pmat |
Current position in the image plane of the center of the kh3.
Previous position in the image plane of the center of the kh3.
Postion of the center of the circle on the image plance.
cv::Rect MipAlgorithms::featureImage::roi |
ROI containing the image of the kh3.
Tracker of the circle associated to the kh3.
Initialization flag of the tracker of the circle.
Unknown - marked as old.