Skip to main content
. 2023 Sep 15;23(18):7896. doi: 10.3390/s23187896
Algorithm 1: Correction of Skeleton Key Point Coordinates
Input: Bone point coordinate matrix’F’, size’T×Nt×2
Output: Missing point Nt×2
Procedure:
1: Input: Enter key point data’F’;
2: Forget gate: Ft is 0 or 1
If Ct1×Ft = 0,
The input value is reserved
Else:
The input value is forgotten;
3: Input gate:
By the sigmoid and tanh functions, determines the value affecting Ct;
4: Output gate:
By the sigmoid function, output Ct, then Ct×Ot;
5: Combine T results for linear regression and out the missing point’s coordinates.