Decomposition of transformation matrices for robot vision