Partial matching of planar polylines under similarity transformationsShape-based image retrieval using geometric hashing