Research Article

Efficient Parallel Implementation of Active Appearance Model Fitting Algorithm on GPU

Algorithm 6

GPU-based method for calculating .
// i: the ID of pixel.
// N: the number of threads.
// np: the number of pixels.
// c: the appearance parameters.
// : the matrices describing the modes of variation.
// : the mean texture in a mean shape patch.
( )  ;
( )  ;
( ) while  i < np
( )     v   0;
( )     while   < size of c
( )       ;
( )     end  while
( )     ;
( )     ;
( ) end  while