| 277 | } |
| 278 | |
| 279 | static Shape Shape77As76( // return an approximated MUCT 76 point shape |
| 280 | const Shape& shape) // in: Stasm 77 point shape |
| 281 | { |
| 282 | // first 68 points same as XM2VTS |
| 283 | Shape newshape = DimKeep(Shape77AsXm2vts68(shape), 76, 2); |
| 284 | |
| 285 | CopyPoint(newshape, shape, 68, 33); // extra eyelid points |
| 286 | CopyPoint(newshape, shape, 69, 31); |
| 287 | CopyPoint(newshape, shape, 70, 37); |
| 288 | CopyPoint(newshape, shape, 71, 35); |
| 289 | CopyPoint(newshape, shape, 72, 43); |
| 290 | CopyPoint(newshape, shape, 73, 41); |
| 291 | CopyPoint(newshape, shape, 74, 47); |
| 292 | CopyPoint(newshape, shape, 75, 45); |
| 293 | |
| 294 | return newshape; |
| 295 | } |
| 296 | |
| 297 | Shape ConvertShape( // return shape with nlandmarks, return no rows if can't |
| 298 | const Shape& shape, // in |
no test coverage detected