Minimum about fuzzy logic
Centroid method – CoG

For final evaluation is possible to use several methods. If we use centroid method CoG (Centre of Gravity) we compute centroid of united area. The result is his axis in horizontal direction.