Figure 5.23: Matching chain codes: (a) A simple shape composed of pixels; (b) Another shape; (c) Classical chain of image in (a); (d) Classical chain of image in (b).