1. A method for deformable expression detection, comprising: combining, for each pixel in a preprocessed image, a sign of a first directional gradient component and a sign of a second directional gradient component to produce a combined sign; coding each combined sign into a coded value; and detecting an expression in an input image based on the coded values.