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

Function Shape77As22

jni/stasm/convshape.cpp:87–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static Shape Shape77As22( // return an approximated AR 22 point shape
88 const Shape& shape) // in: Stasm 77 point shape
89{
90 CV_Assert(shape.rows == 77);
91
92 // first 20 points same as BioId
93 Shape newshape = DimKeep(Shape77As20(shape), 22, 2);
94
95 CopyPoint(newshape, shape, 20, 3);
96 CopyPoint(newshape, shape, 21, 9);
97
98 return newshape;
99}
100
101static Shape Shape77AsXm2vts68( // return an approximated XM2VTS 68 point shape
102 const Shape& shape) // in: Stasm 77 point shape

Callers 1

ConvertShapeFunction · 0.85

Calls 3

DimKeepFunction · 0.85
Shape77As20Function · 0.85
CopyPointFunction · 0.70

Tested by

no test coverage detected