Human motion database with a binary tree and node transition graphs