Machine vision system for visual defect inspection of TFT-LCD