Object recognition algorithm
| Begin |
| 1. For each p∊SS, perform steps 2 and 3. |
| 2. Place M at p. Deform each object as per standard ASM searching method. |
| 3. Evaluate BC(p,I,K1,….,Km). |
| 4. Find p∗ corresponding to the minimum BC over all tested p∊SS. |
| 5. Output the delineated object shapes corresponding to p∗. |
| end |