Extraction of Structure of Silhouette Images by Weighted Minimum Common Supergraph