Pattern recognition and image preprocessing - BowlhSing-Tze (Electrical engineering and electronics)