| 125 | } |
| 126 | |
| 127 | VEC HatDesc( // used only during training new models |
| 128 | double x, // in |
| 129 | double y) // in |
| 130 | { |
| 131 | return hat_g.Desc_(cvRound(x), cvRound(y)); |
| 132 | } |
| 133 | |
| 134 | // Note 1: The image is not passed directly to this function. Instead this |
| 135 | // function accesses the image gradient magnitude and orientation stored in |