Determination of ocular torsion by means of automatic pattern recognition