MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / Shape77As76

Function Shape77As76

jni/stasm/convshape.cpp:279–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279static 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
297Shape ConvertShape( // return shape with nlandmarks, return no rows if can't
298 const Shape& shape, // in

Callers 1

ConvertShapeFunction · 0.85

Calls 3

DimKeepFunction · 0.85
Shape77AsXm2vts68Function · 0.85
CopyPointFunction · 0.70

Tested by

no test coverage detected