Research Article
A User Authentication Scheme Using Physiological and Behavioral Biometrics for Multitouch Devices
Algorithm 3
Check right-hand algorithm.
Input: array // is non-order finger coordinate of the user input | Output: RHS //RHS is the right-hand side of the input user | (1) sort() by in ascending order | (2) assing , which max() of //Detect thumb by finding the maximum position of -axis | (3) switch : | (4) Case 0: //if the is thumb (Figure 6, Case 1) | (5) assign ; // is the coordinate of index finger | (6) assign ; // is the coordinate of little finger | (7) break; | (8) Case 4: //if the is thumb (Figure 6, Case 5) | (9) assign ; // is the coordinate of index finger | (10) assign ; // is the coordinate of little finger | (11) break; | (12) Case 1, 2, 3: //if , , or is thumb (Figure 6, Case 2, 3, and 4) | (13) assign ; // is the coordinate of index finger | (14) assign ; // is the coordinate of little finger | (15) break; | (16) if then output the user is left-hand | (17) else output the user is right-hand |
|