Parameterized modeling and recognition of activities in temporal surfaces