| 187 | } |
| 188 | |
| 189 | VEC ClassicProf( // currently used only when training a new model |
| 190 | const Image& img, // in: the image scaled to this pyramid level |
| 191 | const Shape& inshape, // in: current posn of landmarks (for whisker directions) |
| 192 | int ipoint, // in: index of the current landmark |
| 193 | int proflen) // in |
| 194 | { |
| 195 | return SubProf(0, proflen, FullProf(img, inshape, ipoint, proflen)); |
| 196 | } |
| 197 | |
| 198 | // This returns a double equal to x.t() * mat * x. |
| 199 | // |