| Algorithm 2 Extraction of fingertips and fingers |
| Input: The palm center and contour point set Output: The and Begin Step1: Initialize the sets of , and Step2: Calculate the average distance from to all the points in ; Step3: Add those points to , if their distances from greater than or equal to ; Step4: For each of the elements in , compute its distance from . Then find the one corresponding to the largest distance and move it to both and , and move all the rest points that are connected with it in the to ; Step5: Go to Step4 and repeat until is empty; Step6: The fingertips and fingers are obtained in and . End |