Measurement of pest-damaged area of leaf based on auto-matching of representative leaf.