Character recognition by geometrical moments on structural decompositions