void calc_params( const vector<Point2f> &pts, //points to compute parameters const Mat &weight = Mat(), //weight/point (nx1) CV_32F const float c_factor = 3.0); //clamping factor ... vector<Point2f> //shape described by parameters calc_shape(); ... void train( const vector<...