Application of machine vision technique to automatic quality identification of agricultural products (I).