Similarity Measurement Using Open-Ball Scheme for 2D Patterns in Comparison with Moment Invariant Method