keywords activity classification; ambulatory monitoring; features extraction; inertial sensors; magnetic sensors; orientation estimation; quaternions; image recognition