A Method of Shape Decomposition for Silhouette Images