|
Algorithm 1 Rest Removal Algorithm |
-
1:
procedure
Rest Removal
-
2:
AFG-list ← List of angles αAG.
-
3:
DispAFG ← Displacement of angle list αAG.
-
4:
GDispAFG ← Gradient of the DispAFG.
-
5:
FOGIndxs ← FOGCandidates start and stop points.
-
6:
for
ii,jj in FOGIndxs
do
-
7:
curFOGPksVal ← FindPeaks(GDispAFG(ii to jj)).
-
8:
curFOGPksNum ← Length of the curFOGPksVal > PksValThr.
-
9:
if
curFOGPksNum < PksNumThr
then
-
10:
FOGCandidates(ii to jj) ← 0
-
11:
end if
-
12:
end for
-
13:
end procedure
|