“…Using our human vision to inspect Figure 5a, the orbits with identity numbers 7,8,15,16,23,24,30,31,44,50,51,52, 57, 58, and 59 are lemniscates possessing self-intersection, not acceptable for legged motion. When using the image processing to identify the self-intersection, it is achieved by the morphological erosion operation that is filling the area enclosed by the orbit, eroding the filled area with a three-by-three square structuring element, and counting the number of connected objects, as shown in Figure 9.…”